import { ImagePath } from "@/utils/imagePath"; import { Texts } from "@/utils/texts"; import Link from "next/link"; import Image from "next/image"; export default function Footer() { const isBrowser = () => typeof window !== "undefined"; //The approach recommended by Next.js function scrollToTop() { if (!isBrowser()) return; window.scrollTo({ top: 0, behavior: "smooth" }); } return ( ); }