36 lines
1.2 KiB
TypeScript
36 lines
1.2 KiB
TypeScript
import { Button } from "@/components/ui/button";
|
|
import { Separator } from "@/components/ui/separator";
|
|
import { Footer } from "@/components/utils/Footer";
|
|
import { ContentContainer, Page } from "@/components/utils/Layout";
|
|
import { NavBar } from "@/components/utils/NavBar";
|
|
import { PageTitle } from "@/components/utils/PageTitle";
|
|
import { TfiFaceSad } from "react-icons/tfi";
|
|
|
|
export default function NotFoundPage() {
|
|
const handleGoBack = () => {
|
|
if (window == null) return;
|
|
window.history.back();
|
|
};
|
|
return (
|
|
<Page>
|
|
<NavBar />
|
|
<ContentContainer>
|
|
<PageTitle>{"404 NOT FOUND"}</PageTitle>
|
|
<Separator />
|
|
<div className="my-5 flex flex-col justify-center">
|
|
<TfiFaceSad className="mx-auto my-4" size={"6em"} />
|
|
<p className={"mx-auto my-3 text-center text-xl content-font"}>
|
|
{"This page does not exist for it might be removed or closed."}
|
|
</p>
|
|
<div className="my-5 flex justify-center">
|
|
<Button className="font-bold" onClick={handleGoBack}>
|
|
{"GO BACK"}
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
</ContentContainer>
|
|
<Footer />
|
|
</Page>
|
|
);
|
|
}
|