import Button from "@Front/Components/DesignSystem/Button";
import Typography, { ITypo } from "@Front/Components/DesignSystem/Typography";
import DefaultTemplate from "@Front/Components/LayoutTemplates/DefaultTemplate";
import Module from "@Front/Config/Module";
import Link from "next/link";

import BasePage from "../Base";
import classes from "./classes.module.scss";

export default class PageNotFound extends BasePage {
	public override render(): JSX.Element {
		return (
			<DefaultTemplate title={"Project Not Found"}>
				<div className={classes["root"]}>
					<Typography typo={ITypo.H3}>Il n'y a rien ici, la page que vous avez demandée n'existe pas</Typography>
					<div className={classes["buttons-container"]}>
						<Link href={Module.getInstance().get().modules.pages.Home.props.path}>
							<Button>Retourner à la page d'accueil</Button>
						</Link>
					</div>
				</div>
			</DefaultTemplate>
		);
	}
}
