Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
chore: not-found (#1645)
Maximilian Kaske80b106297dfb
diff --git a/apps/dashboard/src/app/not-found.tsx b/apps/dashboard/src/app/not-found.tsxnew file mode 100644index 000000000..a09f2c187--- /dev/null+++ b/apps/dashboard/src/app/not-found.tsx@@ -0,0 +1,43 @@+"use client";++import Link from "next/link";+import { useRouter } from "next/navigation";++import { Button } from "@/components/ui/button";++export default function NotFound() {+ const router = useRouter();++ return (+ <main className="flex min-h-screen w-full flex-col space-y-6 bg-background p-4 md:p-8">+ <div className="flex flex-1 flex-col items-center justify-center gap-8">+ <div className="mx-auto max-w-xl rounded-lg border bg-card text-center">+ <div className="flex flex-col gap-4 p-6 sm:p-12">+ <div className="flex flex-col gap-1">+ <p className="font-mono text-foreground">404 Page not found</p>+ <h2 className="font-cal text-2xl text-foreground">+ Oops, something went wrong.+ </h2>+ <p className="text-muted-foreground text-sm sm:text-base">+ The page you are looking for doesn't exist.+ </p>+ </div>+ <div className="flex flex-col items-center justify-center gap-4 sm:flex-row">+ <Button+ variant="outline"+ size="lg"+ onClick={router.back}+ className="cursor-pointer"+ >+ Go Back+ </Button>+ <Button size="lg" asChild>+ <Link href="/">Home</Link>+ </Button>+ </div>+ </div>+ </div>+ </div>+ </main>+ );+}