SPB Git
657 B · 8 lines tsx
1import Link from "next/link";2import { getLocale } from "@/lib/i18n/server";3import { href, t } from "@/lib/i18n";4export default async function NotFound() {5  const locale = await getLocale(); const d = t(locale);6  return (<main className="container py-24 max-w-xl text-center"><p className="kicker">404</p><h1 className="text-3xl mt-2">{d.misc.notFound}</h1><p className="text-fg-2 mt-3">{d.misc.notFoundLead}</p><p className="mt-6 flex justify-center gap-2"><Link href={href(locale, "/")} className="btn no-underline">{d.misc.home}</Link><Link href={href(locale, "/papers")} className="btn btn-primary no-underline">{d.nav.papers}</Link></p></main>);7}8
Files · 2db8b968446e61b102004934d20027a0ac28f0f5
Menu

Theme