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

type IProps = {
	className?: string;
};

const legalPages = Module.getInstance().get().modules.pages.Legal.pages.LegalInformations.props.path;

export default function Mobile({ className }: IProps) {
	return (
		<div className={[classes["sub-root"], className].join(" ")}>
			<span>© Lecoffre 2024</span>
			<span className={classes["separator"]} />
			<Link href={legalPages.replace("[legalUid]", ELegalOptions.LEGAL_MENTIONS)}>Juridiques</Link>
			<span className={classes["separator"]} />
			<Link href={legalPages.replace("[legalUid]", ELegalOptions.POLITIQUE_DE_GESTION_DES_COOKIES)}>Cookies</Link>
		</div>
	);
}
