37 lines
1.3 KiB
TypeScript
37 lines
1.3 KiB
TypeScript
import { Link } from "@inertiajs/react";
|
||
import { ShieldAlert, Home } from "lucide-react";
|
||
|
||
export default function Error403() {
|
||
return (
|
||
<div className="min-h-screen bg-slate-50 flex flex-col items-center justify-center p-6">
|
||
<div className="max-w-md w-full text-center">
|
||
{/* 圖示 */}
|
||
<div className="mb-6 flex justify-center">
|
||
<div className="w-24 h-24 bg-red-100 rounded-full flex items-center justify-center">
|
||
<ShieldAlert className="w-12 h-12 text-red-500" />
|
||
</div>
|
||
</div>
|
||
|
||
{/* 標題 */}
|
||
<h1 className="text-3xl font-bold text-slate-900 mb-2">
|
||
無此權限
|
||
</h1>
|
||
|
||
{/* 說明 */}
|
||
<p className="text-slate-600 mb-8">
|
||
您沒有存取此頁面的權限,請洽系統管理員。
|
||
</p>
|
||
|
||
{/* 返回按鈕 */}
|
||
<Link
|
||
href="/"
|
||
className="inline-flex items-center gap-2 px-6 py-3 bg-primary-main text-white rounded-lg hover:bg-primary-dark transition-colors"
|
||
>
|
||
<Home className="w-5 h-5" />
|
||
返回首頁
|
||
</Link>
|
||
</div>
|
||
</div>
|
||
);
|
||
}
|