mirror of
https://github.com/fankes/komari-theme-purcarte.git
synced 2025-10-18 19:39:22 +08:00
30 lines
804 B
TypeScript
30 lines
804 B
TypeScript
import { Button } from "@/components/ui/button";
|
|
import {
|
|
Card,
|
|
CardDescription,
|
|
CardFooter,
|
|
CardHeader,
|
|
CardTitle,
|
|
} from "@/components/ui/card";
|
|
export default function Private() {
|
|
return (
|
|
<div className="fixed inset-0 flex items-center justify-center">
|
|
<Card className="w-full max-w-md">
|
|
<CardHeader>
|
|
<CardTitle className="text-2xl font-bold">站点已设为私有</CardTitle>
|
|
<CardDescription>登录后才能获取数据</CardDescription>
|
|
</CardHeader>
|
|
<CardFooter>
|
|
<a
|
|
href="/admin"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
className="w-full">
|
|
<Button className="w-full">前往登录</Button>
|
|
</a>
|
|
</CardFooter>
|
|
</Card>
|
|
</div>
|
|
);
|
|
}
|