import type { ReactNode } from "react"; import { Link, useRouter } from "blitz"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faPhoneAlt as fasPhone, faTh as fasTh, faComments as fasComments, faCog as fasCog, } from "@fortawesome/pro-solid-svg-icons"; import clsx from "clsx"; export default function Footer() { return ( ); } type NavLinkProps = { path: string; label: string; icon: ReactNode; }; function NavLink({ path, label, icon }: NavLinkProps) { const router = useRouter(); const isActiveRoute = router.pathname.startsWith(path); return (
{icon} {label}
); }