Files
star-erp/resources/js/Pages/Error/403.tsx

37 lines
1.3 KiB
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 "@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>
);
}