import Link from "next/link";

export default function BackToTop({ scroll }) {

    return (
        <>
            {scroll && (
                <Link className="scroll-to-top scroll-to-target d-block" href="#top" aria-label="Scroll top">
                    <i className="fas fa-angle-up"></i>
                </Link> 
            )}
        </>
    )
}
