SPB Git

Repository Public

not-found.tsx 1.0 KB 22 lines tsx

1import Link from "next/link";2import { Icon } from "@/components/ui/Icon";34export const metadata = { title: "Page introuvable", robots: { index: false, follow: false } };56export default function NotFound() {7  return (8    <div className="grid-paper border-b border-line">9      <div className="shell-narrow py-20 md:py-28" data-testid="not-found">10        <p className="eyebrow">Erreur 404</p>11        <h1 className="h-page mt-4">Cette page n’est pas sur la carte.</h1>12        <p className="lede mt-5">L’adresse est peut-être erronée, ou la page a été déplacée. Le programme et la recherche vous remettront sur le bon chemin.</p>13        <div className="mt-8 flex flex-wrap gap-3">14          <Link href="/programme" className="btn btn-primary">Voir le programme<Icon name="arrow" size={18} /></Link>15          <Link href="/recherche" className="btn btn-ghost"><Icon name="search" size={18} />Chercher dans le cours</Link>16          <Link href="/" className="btn btn-ghost">Accueil</Link>17        </div>18      </div>19    </div>20  );21}22
Files main
Menu

Theme