Files
0pt/app/not-found.tsx
T
adminandClaude Sonnet 4.6 df63d3a6dd fix: production audit — sync catalog IDs, wire Stripe, mount Toaster, add 404
- Catalog IDs: synced /api/catalog and /katalog/[id] to consistent English slugs
  (nordic-companies, tech-decisionmakers, vehicles-fleet, financial-series,
  buying-signals, sanctions-pep); View links from catalog page were all broken
- Added 2 missing catalog detail entries: buying-signals, sanctions-pep
- featured-products-section: link cards to /katalog/{id} instead of hardcoded demo URL
- hero-section: 'See a dataset' now links to /katalog/nordic-companies
- layout.tsx: mount <Toaster> (sonner was installed but never mounted)
- bestall/forskott: pay() tries Stripe checkout first, falls back to demo mode
- api/payments/[order_id]/deposit: Stripe Checkout Session creation (501 if unconfigured)
- app/not-found.tsx: custom 404 page matching mono design system
- philosophy-section: fix TS type error on PRINCIPLES array

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-25 17:38:31 +02:00

43 lines
1.7 KiB
TypeScript

import Link from "next/link";
import { Header } from "@/components/header";
export default function NotFound() {
return (
<main className="min-h-screen bg-background text-foreground">
<Header />
<div className="mx-auto max-w-[80rem] px-6 py-28 md:py-40">
<div className="relative">
<span
aria-hidden
className="pointer-events-none absolute -top-8 right-0 select-none font-mono text-[clamp(6rem,22vw,18rem)] font-medium leading-none tracking-[-0.05em] text-foreground/[0.04]"
>
404
</span>
<p className="font-mono text-[11px] uppercase tracking-[0.18em] text-muted-foreground">
404 — Not found
</p>
<h1 className="mt-5 max-w-[14ch] text-[clamp(2.6rem,7vw,5.5rem)] font-medium leading-[0.95] tracking-[-0.035em]">
This page doesn&apos;t exist.
</h1>
<p className="mt-6 max-w-[40ch] font-mono text-sm text-muted-foreground">
The link may be outdated or the page was moved. Nothing guessed.
</p>
<div className="mt-12 flex flex-wrap gap-3">
<Link
href="/"
className="bg-foreground px-7 py-4 font-mono text-[12px] uppercase tracking-[0.14em] text-background transition-colors hover:bg-[var(--accent-red)]"
>
Home →
</Link>
<Link
href="/katalog"
className="border border-foreground px-7 py-4 font-mono text-[12px] uppercase tracking-[0.14em] transition-colors hover:bg-foreground hover:text-background"
>
Catalog
</Link>
</div>
</div>
</div>
</main>
);
}