/* import Link from "next/link"; */ import * as React from "react"; import { SVGProps } from "react"; import styled from "styled-components"; const ScrollMeWrapper = styled.div` position: absolute; bottom: 2rem; left: 50%; color: var(--fg-faded); @media only screen and (max-height: 490px) { display: none; } :hover { cursor: pointer; } svg { width: 1.2rem; height: auto; } `; const ScrollMe = (props: SVGProps & { href: string }) => { const handleScroll = () => { const sectionRef = document.querySelector(props.href); if (sectionRef) { sectionRef.scrollIntoView({ behavior: "smooth" }); } } return ( ); }; export default ScrollMe;