Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions client/src/pages/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
import { Link } from "wouter";
import { Card, CardContent } from "@/components/ui/card";
import { AlertCircle } from "lucide-react";
import { useEffect } from "react";

export default function NotFound() {
useEffect(() => {
document.title = "Page Not Found | Clinical Insight Engine";
}, []);

return (
<div className="min-h-screen w-full flex items-center justify-center bg-gray-50">
<div className="min-h-screen w-full flex items-center justify-center bg-background">
<Card className="w-full max-w-md mx-4">
<CardContent className="pt-6">
<div className="flex mb-4 gap-2">
<AlertCircle className="h-8 w-8 text-red-500" />
<h1 className="text-2xl font-bold text-gray-900">404 Page Not Found</h1>
<AlertCircle className="h-8 w-8 text-destructive" />
<h1 className="text-2xl font-bold text-foreground">404 Page Not Found</h1>
</div>
<p className="mt-4 text-sm text-gray-600">
<p className="mt-4 text-sm text-muted-foreground">
The page you&apos;re looking for doesn&apos;t exist or has been moved.
</p>
<Link
href="/"
className="mt-6 inline-flex items-center justify-center rounded-xl bg-blue-600 px-5 py-2.5 text-sm font-bold text-white shadow-sm transition-all duration-200 hover:bg-blue-700 focus:outline-none focus:ring-4 focus:ring-blue-200"
className="mt-6 inline-flex items-center justify-center rounded-xl bg-primary px-5 py-2.5 text-sm font-bold text-primary-foreground shadow-sm transition-all duration-200 hover:bg-primary/90 focus:outline-none focus:ring-4 focus:ring-ring/20"
>
Back to Home
</Link>
Expand Down
Loading