sokko-g/website/src/features/cards/PrivacyNotice.jsx
Shinuwa f7eb225eb8 Name the Cards data controller and retire long inactive accounts
Publish CARDS_PRIVACY_CONTROLLER in the privacy notice, required in production
like the contact. A daily maintenance anonymises non-admin accounts after 24
months without login and purges expired sessions and old idempotency keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 19:07:52 +01:00

14 lines
786 B
JavaScript

// Rôle : présente la notice de confidentialité de Sokko TCG et le contact configuré sur le serveur.
const SECTIONS = ["collected", "purpose", "visibility", "retention", "rights"];
export function PrivacyNotice({ content, contact, controller }) {
return <div className="nebula-privacy-notice">
<p>{content.intro}</p>
{SECTIONS.map((section) => <section key={section}>
<h4>{content[`${section}Title`]}</h4>
<p>{content[section]}</p>
</section>)}
<p className="nebula-privacy-contact"><strong>{content.controllerLabel}</strong> {controller || content.controllerMissing}</p>
<p className="nebula-privacy-contact"><strong>{content.contactLabel}</strong> {contact ? <a href={`mailto:${contact}`}>{contact}</a> : content.contactMissing}</p>
</div>;
}