"use client"; import { ArrowLeft, Search } from "lucide-react"; import Link from "next/link"; import { useRouter } from "next/navigation"; import { useEffect, useState } from "react"; import { useLocale, useTranslations } from "next-intl"; export default function NotFound() { const [mounted, setMounted] = useState(false); const router = useRouter(); const locale = useLocale(); const t = useTranslations("notFound"); useEffect(() => { setMounted(true); }, []); if (!mounted) return null; return (
404
{t("errorReport")}

{t("title").split(" ").map((word, i) => ( {i > 0 ? " " : ""}{word}{i === 0 ? "" : ""}{i === t("title").split(" ").length - 1 ? . : ""} ))}

{t("description")}

{t("returnHome")}

{t("exploreWork")}

{t("exploreWorkDesc")}

{t("viewProjects")}
); }