diff --git a/src/components/NotFound.tsx b/src/components/NotFound.tsx new file mode 100644 index 0000000..fc92d33 --- /dev/null +++ b/src/components/NotFound.tsx @@ -0,0 +1,81 @@ +import React from "react"; +import { Button } from "@/components/ui/button"; +import { Card, CardContent, CardHeader } from "@/components/ui/card"; +import { Home, ArrowLeft, GitBranch, BookOpen, Settings, FileQuestion } from "lucide-react"; + +export function NotFound() { + return ( +
+ + +
+ +
+

404

+

Page Not Found

+

+ The page you're looking for doesn't exist or has been moved. +

+
+ + + {/* Action Buttons */} +
+ + +
+ + {/* Divider */} +
+
+ +
+
+ or visit +
+
+ + {/* Quick Links */} +
+ + + Repositories + + + + Config + + + + Docs + +
+ + {/* Error Code */} +
+

+ Error Code: 404_NOT_FOUND +

+
+
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..fa7eaaf --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,37 @@ +--- +import '../styles/global.css'; +import ThemeScript from '@/components/theme/ThemeScript.astro'; +import { NotFound } from '@/components/NotFound'; + +const generator = Astro.generator; +--- + + + + + + + + Page Not Found - Gitea Mirror + + + + + + + + \ No newline at end of file