diff --git a/app/not-found.tsx b/app/not-found.tsx index 95ac6df..fd28802 100644 --- a/app/not-found.tsx +++ b/app/not-found.tsx @@ -1,28 +1,68 @@ +"use client"; + import Link from "next/link"; import Image from "next/image"; import { Button } from "@/components/ui/button"; +import { useEffect, useState } from "react"; +import { Spinner } from "@/components/ui/spinner"; +import { Activity, Home } from "lucide-react"; +import { Skeleton } from "@/components/ui/skeleton"; export default function NotFound() { + const [goingHome, goHome] = useState(false); + const [message, setMessage] = useState(""); + + useEffect(() => { + const messages = [ + "Erika กินหน้านี้ไปแล้ว...", + "หรือจริงๆแล้วหน้านี้จะโดน Sukuna เล่น...", + "อาจจะโดนต่อยจากคนด้านบนแล้วก็ได้...", + "หรือ Erika ตัวปลอมขะมีอยู่จริง...", + "หน้านี้อาจโดนErikaตัวปลอมทำลายไปแล้วนะ...", + ]; + + setMessage(messages[Math.floor(Math.random() * messages.length)]); + }, []); + return ( -
- ขออภัย หน้าที่คุณกำลังพยายามเข้าถึงอาจถูกลบ ย้าย หรือไม่มีอยู่ตั้งแต่แรก -
- +