import React from "react"; import { useRouter } from "next/navigation"; import Image from "next/image"; import { gsap } from "gsap"; /** * General Header for all pages */ const GeneralHeader = (): React.ReactElement => { const links: { title: string; url: string }[] = require("./links.json"); /** * Animate the header on mount */ React.useEffect(() => { gsap.fromTo( "#main-header", { y: -20, filter: "blur(100px)", webkitFilter: "blur(100px)", opacity: 0, }, { y: 0, opacity: 1, duration: 1, filter: "none", webkitFilter: "none", delay: 0.5, } ); }, []); return (
Logo
); }; export default GeneralHeader;