import Link from "next/link";

export default function AdminNotFound(): React.ReactElement {
  return (
    <div className="flex min-h-[60vh] flex-col items-center justify-center gap-4 p-6 text-center">
      <h1 className="text-xl font-semibold">页面不存在</h1>
      <p className="text-sm text-muted-foreground">请检查地址或返回管理后台首页。</p>
      <Link href="/admin" className="rounded-md bg-primary px-4 py-2 text-sm text-primary-foreground">
        返回首页
      </Link>
    </div>
  );
}
