19 行
718 B
TypeScript
19 行
718 B
TypeScript
import { Link } from "react-router-dom";
|
|
|
|
export function NotFoundPage() {
|
|
return (
|
|
<div className="flex min-h-screen items-center justify-center bg-background-light p-6">
|
|
<div className="card-std max-w-lg text-center">
|
|
<p className="text-sm font-semibold uppercase tracking-wide text-primary">404</p>
|
|
<h1 className="mt-2 text-2xl font-bold text-zinc-900">页面不存在</h1>
|
|
<p className="mt-2 text-sm text-secondary">请检查地址,或返回工作台首页继续操作。</p>
|
|
<div className="mt-5 flex justify-center">
|
|
<Link className="btn-primary" to="/dashboard">
|
|
回到仪表盘
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|