// Auteur : Simon-Pierre Boucher — contact@spboucher.ai "use client"; import Link from "next/link"; import { useLang } from "./LangContext"; export interface LegalSection { title: string; paras: string[]; } export default function LegalPage({ crumb, kicker, title, updated, sections, children, }: { crumb: { fr: string; en: string }; kicker: { fr: string; en: string }; title: { fr: string; en: string }; updated: string; sections: { fr: LegalSection[]; en: LegalSection[] }; children?: React.ReactNode; }) { const { lang } = useLang(); const fr = lang === "fr"; const list = fr ? sections.fr : sections.en; return (
{fr ? "Dernière mise à jour" : "Last updated"} : {updated}
{p}
))}{fr ? "Responsable et contact" : "Controller and contact"}
Simon-Pierre Boucher
contact@spboucher.ai · vrai-prix.com