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
39 changes: 13 additions & 26 deletions frontend/src/screens/NotFound.tsx
Original file line number Diff line number Diff line change
@@ -1,33 +1,20 @@
import { SearchXIcon } from "lucide-react";
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "src/components/ui/card";
import { AlbyHubIcon } from "src/components/icons/AlbyHubIcon";
import { LinkButton } from "src/components/ui/custom/link-button";

function NotFound() {
return (
<Card>
<CardHeader>
<CardTitle>
<div className="flex flex-row items-center gap-2">
<SearchXIcon className="w-10 h-10" />
Page Not Found
</div>
</CardTitle>
<CardDescription>
The page you are looking for does not exist.
</CardDescription>
</CardHeader>
<CardContent>
<LinkButton to="/" variant="outline">
Return Home
</LinkButton>
</CardContent>
</Card>
<div className="flex flex-col items-center justify-center min-h-screen gap-6 text-center px-4">
<AlbyHubIcon className="w-16 h-16 opacity-60" />
<div>
<h1 className="text-3xl font-semibold">Page not found</h1>
<p className="mt-2 text-sm text-muted-foreground">
The page you're looking for doesn't exist
</p>
</div>
<LinkButton to="/" variant="outline">
Return Home
</LinkButton>
</div>
);
}

Expand Down