Files
QQuiz/web/src/app/not-found.tsx

25 lines
830 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Link from "next/link";
import { Button } from "@/components/ui/button";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
export default function NotFound() {
return (
<main className="flex min-h-screen items-center justify-center p-6">
<Card className="max-w-lg border-slate-200/70 bg-white/90">
<CardHeader>
<CardTitle></CardTitle>
</CardHeader>
<CardContent className="space-y-4">
<p className="text-sm leading-6 text-slate-600">
Next.js 访
</p>
<Button asChild>
<Link href="/dashboard"></Link>
</Button>
</CardContent>
</Card>
</main>
);
}