2024-01-15 11:06:49 +08:00
|
|
|
import { ContentContainer, Page } from "@/components/layouts";
|
2024-01-08 20:26:32 +08:00
|
|
|
import { Button } from "@/components/ui/button";
|
2024-01-15 11:44:48 +08:00
|
|
|
import { Separator } from "@/components/ui/separator";
|
2023-12-25 17:21:39 +08:00
|
|
|
import { Footer } from "@/components/utils/Footer";
|
|
|
|
|
import { NavBar } from "@/components/utils/NavBar";
|
|
|
|
|
import { TfiFaceSad } from "react-icons/tfi";
|
|
|
|
|
|
|
|
|
|
export default function NotFoundPage() {
|
2023-12-29 19:55:54 +08:00
|
|
|
const handleGoBack = () => {
|
|
|
|
|
if (window == null) return;
|
2023-12-25 17:21:39 +08:00
|
|
|
window.history.back();
|
|
|
|
|
};
|
|
|
|
|
return (
|
|
|
|
|
<Page>
|
2024-01-09 16:48:48 +08:00
|
|
|
<NavBar />
|
2023-12-25 17:21:39 +08:00
|
|
|
<ContentContainer>
|
2024-08-12 13:39:19 +08:00
|
|
|
<h2 className={`my-5 flex justify-center text-2xl font-bold caption-font`}>{"404 NOT FOUND"}</h2>
|
2024-01-15 11:44:48 +08:00
|
|
|
<Separator />
|
|
|
|
|
<div className="my-5 flex flex-col justify-center">
|
2023-12-25 17:21:39 +08:00
|
|
|
<TfiFaceSad className="mx-auto my-4" size={"6em"} />
|
2024-08-12 13:39:19 +08:00
|
|
|
<p className={`content-font mx-auto my-3 text-center text-xl`}>
|
2023-12-25 17:21:39 +08:00
|
|
|
{"This page does not exist for it might be removed or closed."}
|
|
|
|
|
</p>
|
|
|
|
|
<div className="my-5 flex justify-center">
|
2024-04-03 22:08:27 +08:00
|
|
|
<Button className="font-bold" onClick={handleGoBack}>
|
2023-12-25 17:21:39 +08:00
|
|
|
{"GO BACK"}
|
2024-01-08 20:26:32 +08:00
|
|
|
</Button>
|
2023-12-25 17:21:39 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ContentContainer>
|
|
|
|
|
<Footer />
|
|
|
|
|
</Page>
|
|
|
|
|
);
|
|
|
|
|
}
|