SPB Git

Repository Public

not-found.tsx 694 B 16 lines tsx

1import Link from "next/link";23export const metadata = { title: "Page introuvable", robots: { index: false, follow: false } };45/** Fallback 404, outside the public layout (the public pages have their own, with the site chrome). */6export default function NotFound() {7  return (8    <main className="shell-narrow py-20 md:py-28" data-testid="not-found-bare">9      <p className="eyebrow">Erreur 404</p>10      <h1 className="h-page mt-4">Cette page n’existe pas.</h1>11      <p className="lede mt-5">L’adresse est peut-être erronée, ou la page a été déplacée.</p>12      <p className="mt-8"><Link href="/" className="btn btn-primary">Retour à l’accueil</Link></p>13    </main>14  );15}16
Files main
Menu

Theme