feat: implement custom not-found page for forms
chore: upgrade Next.js to v16.2.10
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import Link from "next/link";
|
||||
import Image from "next/image";
|
||||
import { Button } from "@/components/ui/button";
|
||||
|
||||
export default function NotFound() {
|
||||
return (
|
||||
<div className="relative flex min-h-screen flex-col items-center justify-center p-4">
|
||||
<Image
|
||||
src="https://cdn.gunshiz.top/404-erika.png"
|
||||
alt="404 Background"
|
||||
fill
|
||||
priority
|
||||
className="-z-10 object-cover opacity-40"
|
||||
/>
|
||||
|
||||
<div className="text-center space-y-6">
|
||||
<h1 className="text-8xl font-bold">404</h1>
|
||||
<h2 className="text-3xl font-semibold">ไม่พบฟอร์มที่คุณหา</h2>
|
||||
<p className="text-muted-foreground text-lg">
|
||||
ขออภัย ฟอร์มที่คุณกำลังพยายามเข้าถึงอาจถูกลบหรือไม่มีอยู่ตั้งแต่แรก
|
||||
</p>
|
||||
<Button asChild size="lg">
|
||||
<Link href="/">กลับสู่หน้าหลัก</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user