Scroll to top button

This commit is contained in:
2022-11-12 12:50:49 +02:00
parent a0658cd508
commit 3fc9245053
5 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import React from 'react';
import Image from 'next/image';
import styles from '../styles/ScrollToTop.module.scss';
export const ScrollToTop = () => {
return (
<a className={styles.scrollToTopButton} href='#top'>
<Image
src='/angle-top.png'
alt='scroll to top button'
width={15}
height={9}
loading='lazy'
/>
</a>
);
};