MCPcopy Create free account
hub / github.com/bytebase/dbhub / NotFoundView

Function NotFoundView

frontend/src/components/views/NotFoundView.tsx:3–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import { Link } from 'react-router-dom';
2
3export default function NotFoundView() {
4 return (
5 <div className="container mx-auto px-8 py-12 max-w-4xl">
6 <div className="space-y-6">
7 <div>
8 <h1 className="text-4xl font-bold text-foreground mb-4">
9 404 - Page Not Found
10 </h1>
11 <p className="text-xl text-muted-foreground">
12 The page you're looking for doesn't exist.
13 </p>
14 </div>
15
16 <div className="bg-muted rounded-lg p-6">
17 <p className="text-muted-foreground mb-4">
18 The URL you entered could not be found. This might be because:
19 </p>
20 <ul className="space-y-2 text-muted-foreground list-disc list-inside">
21 <li>The page was moved or deleted</li>
22 <li>You typed the URL incorrectly</li>
23 <li>The resource ID is invalid</li>
24 </ul>
25 </div>
26
27 <div>
28 <Link
29 to="/"
30 className="inline-flex items-center px-4 py-2 bg-primary text-primary-foreground rounded-md hover:bg-primary/90 transition-colors"
31 >
32 Go to Data Sources
33 </Link>
34 </div>
35 </div>
36 </div>
37 );
38}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected