import React from "react";
import classes from "./classes.module.scss";
import Module from "@Front/Config/Module";
import { ELegalOptions } from "@Front/Components/LayoutTemplates/DefaultLegalDashboard";
import Link from "next/link";

type IProps = {
	className?: string;
};
const legalPages = Module.getInstance().get().modules.pages.Legal.pages.LegalInformations.props.path;

export default function Tablet({ className }: IProps) {
	return (
		<div className={[classes["sub-root"], className].join(" ")}>
			<Link href={legalPages.replace("[legalUid]", ELegalOptions.LEGAL_MENTIONS)}>© Lecoffre 2024</Link>
			<span className={classes["separator"]} />
			<Link href={legalPages.replace("[legalUid]", ELegalOptions.CGU)}>Conditions d'utilisation</Link>
			<span className={classes["separator"]} />
			<Link href={legalPages.replace("[legalUid]", ELegalOptions.POLITIQUE_DE_CONFIDENTIALITE)}>Politique de confidentialité</Link>
			<span className={classes["separator"]} />
			<Link href={legalPages.replace("[legalUid]", ELegalOptions.POLITIQUE_DE_GESTION_DES_COOKIES)}>Politique des cookies</Link>
		</div>
	);
}
