"use client"; import Link from "next/link"; import Image from "next/image"; import { Button } from "@/components/ui/button"; import { useState } from "react"; import { Spinner } from "@/components/ui/spinner"; import Background from "@/public/background/404.png"; import Profile from "@/public/404-image.jpg"; import { Activity, Home } from "lucide-react"; import { config } from "@/lib/config"; const MESSAGES = [ "ฟอร์มนี้อาจจะถูก Erika กินไปแล้ว...", "หรือว่าฟอร์มนี้โดน Sukuna เล่นไปแล้ว...", "ฟอร์มนี้อาจจะหมดอายุหรือโดนลบไปแล้ว...", "บางทีคนสร้างอาจจะลืมเปิดฟอร์มนะ...", "ฟอร์มหายไปไหนน้า... ลองเช็คลิงก์ดูอีกทีสิ", ]; export default function NotFound() { const [goingHome, goHome] = useState(false); const [message] = useState(() => MESSAGES[Math.floor(Math.random() * MESSAGES.length)]); return (