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 ( -
+
404 Background - -
-

404

-

ไม่พบหน้าที่คุณต้องการ

-

- ขออภัย หน้าที่คุณกำลังพยายามเข้าถึงอาจถูกลบ ย้าย หรือไม่มีอยู่ตั้งแต่แรก -

- +
+ 404
+

404 ไม่พบหน้านี้

+ {message || } +
+ + + + + + +
); } diff --git a/public/404-image.jpg b/public/404-image.jpg new file mode 100644 index 0000000..762331b Binary files /dev/null and b/public/404-image.jpg differ diff --git a/public/404.png b/public/404.png new file mode 100644 index 0000000..ee9962c Binary files /dev/null and b/public/404.png differ