Conformité : mentions légales, CGU, confidentialité RGPD, accessibilité
deploy / deploy (push) Successful in 37s
deploy / deploy (push) Successful in 37s
- Nouvelle page /legal.html : mentions légales (éditeur, hébergeurs OVH et Supabase UE), conditions d'utilisation (gratuit, 15 ans, règles de contenu), crédits et licences (attribution TMDB, AniList, Inter OFL, Lucide ISC). - Politique de confidentialité réécrite : finalités et bases légales, sous-traitants et localisation UE, stockage local sans cookie, durées de conservation, âge minimum, droits RGPD et réclamation CNIL. - Liens dans l'app : section « À propos » des réglages (+ mention TMDB), liens légaux et consentement (15 ans, CGU, confidentialité) à l'inscription. - Accessibilité : contraste du texte secondaire en thème clair (WCAG AA), anneau de focus visible au clavier, texte alternatif des affiches. - Service worker : /legal exclu du fallback de navigation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
25 files changed
+297
-22
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { t } from '../i18n'
|
||||
import { LanguageSelect } from '../i18n/react'
|
||||
import { Check, Download, Eye, EyeOff, HardDrive, ShieldCheck, Smartphone, Trash2, Upload, UserX } from 'lucide-react'
|
||||
import { Check, Download, ExternalLink, Eye, EyeOff, HardDrive, ShieldCheck, Smartphone, Trash2, Upload, UserX } from 'lucide-react'
|
||||
import { useEffect, useRef, useState, type ReactNode } from 'react'
|
||||
import AccountSection from '../components/AccountSection'
|
||||
import ConfirmDialog from '../components/ConfirmDialog'
|
||||
@@ -496,6 +496,24 @@ export default function SettingsPage({ onOpenAdmin }: { onOpenAdmin: () => void
|
||||
)}
|
||||
</div>
|
||||
|
||||
<SectionTitle>{t('settings.about')}</SectionTitle>
|
||||
<div className="card divide-y divide-line overflow-hidden">
|
||||
{(
|
||||
[
|
||||
['/privacy.html', t('legal.privacy')],
|
||||
['/legal.html#conditions', t('legal.terms')],
|
||||
['/legal.html#mentions', t('legal.notice')],
|
||||
['/legal.html#credits', t('legal.credits')],
|
||||
] as const
|
||||
).map(([href, label]) => (
|
||||
<a key={href} href={href} target="_blank" rel="noopener" className="flex items-center gap-3.5 px-4 py-4 font-medium transition-colors active:bg-surface-2">
|
||||
<span className="flex-1">{label}</span>
|
||||
<ExternalLink size={16} className="text-ink-3" />
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
<p className="mt-3 px-1 text-[11px] leading-relaxed text-ink-3">{t('legal.tmdb')}</p>
|
||||
|
||||
<p className="mt-10 text-center text-xs text-ink-3">AzuuCine v2.2 · {account ? t('settings.footerCloud') : t('settings.footerLocal')}</p>
|
||||
|
||||
<ConfirmDialog
|
||||
|
||||
Reference in new issue
Block a user