Implement new routes for articles, categories, and individual articles. Update the UI to display articles with improved content rendering, including safe HTML and media embeds. Refactor storage to use a database and add image upload capabilities. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 413891e8-d784-4bea-b9f5-91a5a68316b4 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: b96b221e-0ed6-418f-80df-e4670bf5ba4b Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/413891e8-d784-4bea-b9f5-91a5a68316b4/cftwqyT Replit-Helium-Checkpoint-Created: true
22 lines
781 B
TypeScript
22 lines
781 B
TypeScript
import { Link } from "wouter";
|
|
import { Button } from "@/components/ui/button";
|
|
import Header from "@/components/header";
|
|
|
|
export default function NotFound() {
|
|
return (
|
|
<div className="min-h-screen bg-background">
|
|
<Header />
|
|
<div className="flex flex-col items-center justify-center py-32 px-4">
|
|
<h1 className="text-6xl font-bold text-primary mb-4" data-testid="text-404">404</h1>
|
|
<p className="text-xl text-foreground mb-2">Seite nicht gefunden</p>
|
|
<p className="text-muted-foreground mb-8 text-center max-w-md">
|
|
Die gesuchte Seite existiert nicht oder wurde verschoben.
|
|
</p>
|
|
<Link href="/">
|
|
<Button data-testid="button-back-home">Zur Startseite</Button>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|