Conformité : mentions légales, CGU, confidentialité RGPD, accessibilité
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:
Claude committed 2026-10-09 13:35:21 +00:00
1 parent 88287fe18d
commit 3cfc6fe1b6
25 files changed
+297 -22

No files matched your search

+13
View File
@@ -198,6 +198,7 @@ export default function AuthScreen({ notice }: { notice?: string }) {
{busy && <Loader2 size={17} className="animate-spin" />}
{mode === 'login' ? t('auth.login') : mode === 'signup' ? t('auth.signup') : t('auth.sendLink')}
</button>
{mode === 'signup' && <p className="text-center text-xs leading-relaxed text-ink-3">{t('auth.consent')}</p>}
</form>
<div className="mt-5 text-center text-sm">
@@ -216,6 +217,7 @@ export default function AuthScreen({ notice }: { notice?: string }) {
<p className="mt-10 text-center text-[11px] leading-relaxed text-ink-3">
{t('auth.privacy')}
</p>
<LegalLinks />
</Shell>
)
}
@@ -261,3 +263,14 @@ export function NewPasswordScreen({ onDone }: { onDone: () => void }) {
</Shell>
)
}
/** Liens vers les pages légales (statiques, hors de l'app). */
export function LegalLinks() {
return (
<nav className="mt-4 flex flex-wrap justify-center gap-x-4 gap-y-1 text-[11px] text-ink-3">
<a href="/legal.html#conditions" target="_blank" rel="noopener" className="underline underline-offset-2">{t('legal.terms')}</a>
<a href="/privacy.html" target="_blank" rel="noopener" className="underline underline-offset-2">{t('legal.privacy')}</a>
<a href="/legal.html#mentions" target="_blank" rel="noopener" className="underline underline-offset-2">{t('legal.notice')}</a>
</nav>
)
}
+3 -3
View File
@@ -9,7 +9,7 @@ export default function Poster({ src, title, className }: { src?: string; title:
return (
<img
src={src}
alt=""
alt={title}
loading="lazy"
onError={() => setBroken(src)}
className={cx('aspect-[2/3] w-full rounded-xl border border-line bg-surface-2 object-cover', className)}
@@ -18,8 +18,8 @@ export default function Poster({ src, title, className }: { src?: string; title:
}
const initial = title.trim().charAt(0).toUpperCase() || '?'
return (
<div className={cx('relative grid aspect-[2/3] w-full place-items-center overflow-hidden rounded-xl border border-line bg-surface-2', className)}>
<span className="text-3xl font-bold text-ink-3">{initial}</span>
<div role="img" aria-label={title} className={cx('relative grid aspect-[2/3] w-full place-items-center overflow-hidden rounded-xl border border-line bg-surface-2', className)}>
<span aria-hidden="true" className="text-3xl font-bold text-ink-3">{initial}</span>
<span className="absolute bottom-0 start-0 h-[3px] w-1/3 bg-accent-fill" />
</div>
)
+7
View File
@@ -183,6 +183,13 @@ const dict: Translations = {
'auth.forgot': 'نسيت كلمة المرور؟',
'auth.backToLogin': 'العودة إلى تسجيل الدخول',
'auth.privacy': 'يحافظ حسابك على مكتبتك بأمان. ملفك الشخصي (العناوين المُشاهدة والتقييمات والآراء) مرئي للأعضاء ما لم تجعله خاصًا؛ أما قوائمك وإعداداتك فتبقى خاصة. ويبقى كل شيء أيضًا على جهازك ليعمل التطبيق دون إنترنت.',
'auth.consent': "بإنشاء حساب، تؤكد أن عمرك 15 عامًا على الأقل (أو لديك موافقة أحد الوالدين) وتقبل شروط الاستخدام وسياسة الخصوصية.",
'settings.about': "حول",
'legal.privacy': "الخصوصية",
'legal.terms': "شروط الاستخدام",
'legal.notice': "الإشعار القانوني",
'legal.credits': "الاعتمادات",
'legal.tmdb': "يستخدم هذا المنتج واجهة TMDB البرمجية لكنه غير معتمد أو مصادق عليه من TMDB.",
'auth.newPasswordTitle': 'اختر كلمة المرور الجديدة.',
'auth.newPassword': 'كلمة المرور الجديدة',
'auth.err.credentials': 'البريد الإلكتروني أو كلمة المرور غير صحيحة.',
+7
View File
@@ -180,6 +180,13 @@ const dict: Translations = {
'auth.forgot': 'Passwort vergessen?',
'auth.backToLogin': 'Zurück zur Anmeldung',
'auth.privacy': 'Dein Konto schützt deine Bibliothek. Dein Profil (Titel, Bewertungen und Meinungen) ist für Mitglieder sichtbar, außer du stellst es auf privat; deine Listen und Einstellungen bleiben privat. Alles bleibt außerdem auf deinem Gerät, damit die App auch offline funktioniert.',
'auth.consent': "Mit der Kontoerstellung bestätigst du, mindestens 15 Jahre alt zu sein (oder die Zustimmung eines Elternteils zu haben), und akzeptierst die Nutzungsbedingungen und die Datenschutzerklärung.",
'settings.about': "Über",
'legal.privacy': "Datenschutz",
'legal.terms': "Nutzungsbedingungen",
'legal.notice': "Impressum",
'legal.credits': "Credits",
'legal.tmdb': "Dieses Produkt nutzt die TMDB-API, ist aber nicht von TMDB unterstützt oder zertifiziert.",
'auth.newPasswordTitle': 'Wähl dein neues Passwort.',
'auth.newPassword': 'Neues Passwort',
'auth.err.credentials': 'E-Mail oder Passwort falsch.',
+7
View File
@@ -180,6 +180,13 @@ const dict: Translations = {
'auth.forgot': 'Forgot your password?',
'auth.backToLogin': 'Back to login',
'auth.privacy': 'Your account keeps your library safe. Your profile (titles, ratings and reviews) is visible to members unless you make it private; your lists and settings stay private. Everything also stays on your device so the app works offline.',
'auth.consent': "By creating an account, you confirm you are at least 15 (or have a parent's consent) and accept the terms of use and the privacy policy.",
'settings.about': "About",
'legal.privacy': "Privacy",
'legal.terms': "Terms of use",
'legal.notice': "Legal notice",
'legal.credits': "Credits",
'legal.tmdb': "This product uses the TMDB API but is not endorsed or certified by TMDB.",
'auth.newPasswordTitle': 'Pick your new password.',
'auth.newPassword': 'New password',
'auth.err.credentials': 'Wrong email or password.',
+7
View File
@@ -180,6 +180,13 @@ const dict: Translations = {
'auth.forgot': '¿Olvidaste tu contraseña?',
'auth.backToLogin': 'Volver a iniciar sesión',
'auth.privacy': 'Tu cuenta guarda tu biblioteca de forma segura. Tu perfil (títulos, notas y opiniones) es visible para los miembros salvo que lo hagas privado; tus listas y ajustes siguen siendo privados. Todo se queda también en tu dispositivo para funcionar sin internet.',
'auth.consent': "Al crear una cuenta, confirmas que tienes al menos 15 años (o el consentimiento de un padre) y aceptas las condiciones de uso y la política de privacidad.",
'settings.about': "Acerca de",
'legal.privacy': "Privacidad",
'legal.terms': "Condiciones de uso",
'legal.notice': "Aviso legal",
'legal.credits': "Créditos",
'legal.tmdb': "Este producto usa la API de TMDB pero no está respaldado ni certificado por TMDB.",
'auth.newPasswordTitle': 'Elige tu nueva contraseña.',
'auth.newPassword': 'Nueva contraseña',
'auth.err.credentials': 'Correo o contraseña incorrectos.',
+7
View File
@@ -182,6 +182,13 @@ const dict = {
'auth.forgot': 'Mot de passe oublié ?',
'auth.backToLogin': 'Retour à la connexion',
'auth.privacy': 'Ton compte garde ta bibliothèque en sécurité. Ton profil (titres vus, notes et avis) est visible par les membres, sauf si tu le passes en privé ; tes listes et réglages restent privés. Tout reste aussi sur ton appareil pour fonctionner sans internet.',
'auth.consent': "En créant un compte, tu confirmes avoir au moins 15 ans (ou l'accord d'un parent) et accepter les conditions d'utilisation et la politique de confidentialité.",
'settings.about': "À propos",
'legal.privacy': "Confidentialité",
'legal.terms': "Conditions d'utilisation",
'legal.notice': "Mentions légales",
'legal.credits': "Crédits",
'legal.tmdb': "Cette application utilise l'API TMDB mais n'est ni approuvée ni certifiée par TMDB.",
'auth.newPasswordTitle': 'Choisis ton nouveau mot de passe.',
'auth.newPassword': 'Nouveau mot de passe',
'auth.err.credentials': 'Email ou mot de passe incorrect.',
+7
View File
@@ -180,6 +180,13 @@ const dict: Translations = {
'auth.forgot': 'पासवर्ड भूल गए?',
'auth.backToLogin': 'लॉग इन पर वापस जाएँ',
'auth.privacy': 'आपका अकाउंट आपकी लाइब्रेरी को सुरक्षित रखता है। आपकी प्रोफ़ाइल (देखे गए टाइटल, रेटिंग और रिव्यू) सदस्यों को दिखती है, जब तक आप उसे प्राइवेट न करें; आपकी लिस्ट और सेटिंग्स प्राइवेट रहती हैं। सब कुछ आपके डिवाइस पर भी रहता है ताकि ऐप बिना इंटरनेट के चले।',
'auth.consent': "खाता बनाकर, आप पुष्टि करते हैं कि आपकी उम्र कम से कम 15 वर्ष है (या माता-पिता की सहमति है) और आप उपयोग की शर्तें और गोपनीयता नीति स्वीकार करते हैं।",
'settings.about': "परिचय",
'legal.privacy': "गोपनीयता",
'legal.terms': "उपयोग की शर्तें",
'legal.notice': "कानूनी सूचना",
'legal.credits': "श्रेय",
'legal.tmdb': "यह उत्पाद TMDB API का उपयोग करता है, लेकिन TMDB द्वारा समर्थित या प्रमाणित नहीं है।",
'auth.newPasswordTitle': 'अपना नया पासवर्ड चुनें।',
'auth.newPassword': 'नया पासवर्ड',
'auth.err.credentials': 'ईमेल या पासवर्ड गलत है।',
+7
View File
@@ -180,6 +180,13 @@ const dict: Translations = {
'auth.forgot': 'Lupa kata sandi?',
'auth.backToLogin': 'Kembali ke halaman masuk',
'auth.privacy': 'Akunmu menjaga koleksimu tetap aman. Profilmu (judul yang ditonton, nilai, dan ulasan) bisa dilihat anggota lain, kecuali kamu menjadikannya privat; daftar dan pengaturanmu tetap privat. Semuanya juga tersimpan di perangkatmu supaya bisa dipakai tanpa internet.',
'auth.consent': "Dengan membuat akun, kamu menyatakan berusia minimal 15 tahun (atau memiliki izin orang tua) dan menyetujui ketentuan penggunaan serta kebijakan privasi.",
'settings.about': "Tentang",
'legal.privacy': "Privasi",
'legal.terms': "Ketentuan penggunaan",
'legal.notice': "Informasi hukum",
'legal.credits': "Kredit",
'legal.tmdb': "Produk ini menggunakan API TMDB tetapi tidak didukung atau disertifikasi oleh TMDB.",
'auth.newPasswordTitle': 'Pilih kata sandi barumu.',
'auth.newPassword': 'Kata sandi baru',
'auth.err.credentials': 'Email atau kata sandi salah.',
+7
View File
@@ -180,6 +180,13 @@ const dict: Translations = {
'auth.forgot': 'Password dimenticata?',
'auth.backToLogin': 'Torna all’accesso',
'auth.privacy': 'Il tuo account tiene al sicuro la tua libreria. Il tuo profilo (titoli, voti e opinioni) è visibile ai membri, a meno che tu non lo renda privato; liste e impostazioni restano private. Tutto resta anche sul tuo dispositivo per funzionare senza internet.',
'auth.consent': "Creando un account confermi di avere almeno 15 anni (o il consenso di un genitore) e accetti le condizioni d'uso e l'informativa sulla privacy.",
'settings.about': "Informazioni",
'legal.privacy': "Privacy",
'legal.terms': "Condizioni d'uso",
'legal.notice': "Note legali",
'legal.credits': "Crediti",
'legal.tmdb': "Questo prodotto usa l'API di TMDB ma non è approvato né certificato da TMDB.",
'auth.newPasswordTitle': 'Scegli la tua nuova password.',
'auth.newPassword': 'Nuova password',
'auth.err.credentials': 'Email o password errata.',
+7
View File
@@ -180,6 +180,13 @@ const dict: Translations = {
'auth.forgot': 'パスワードをお忘れですか?',
'auth.backToLogin': 'ログインに戻る',
'auth.privacy': 'アカウントがライブラリを安全に守ります。プロフィール(作品・評価・レビュー)は非公開にしない限りメンバーに公開されます。リストと設定は非公開のままです。オフラインでも使えるよう、端末にも保存されます。',
'auth.consent': "アカウントを作成すると、15歳以上である(または保護者の同意がある)ことを確認し、利用規約とプライバシーポリシーに同意したことになります。",
'settings.about': "このアプリについて",
'legal.privacy': "プライバシー",
'legal.terms': "利用規約",
'legal.notice': "法的表示",
'legal.credits': "クレジット",
'legal.tmdb': "この製品は TMDB API を使用していますが、TMDB による承認・認定を受けたものではありません。",
'auth.newPasswordTitle': '新しいパスワードを設定してください。',
'auth.newPassword': '新しいパスワード',
'auth.err.credentials': 'メールアドレスまたはパスワードが違います。',
+7
View File
@@ -180,6 +180,13 @@ const dict: Translations = {
'auth.forgot': '비밀번호를 잊으셨나요?',
'auth.backToLogin': '로그인으로 돌아가기',
'auth.privacy': '계정이 내 라이브러리를 안전하게 지켜줘요. 프로필(작품, 평점, 감상)은 비공개로 바꾸지 않으면 회원들이 볼 수 있고, 리스트와 설정은 비공개예요. 인터넷 없이도 쓸 수 있도록 기기에도 저장돼요.',
'auth.consent': "계정을 만들면 만 15세 이상(또는 보호자 동의)임을 확인하고 이용약관과 개인정보 처리방침에 동의하게 됩니다.",
'settings.about': "정보",
'legal.privacy': "개인정보",
'legal.terms': "이용약관",
'legal.notice': "법적 고지",
'legal.credits': "크레딧",
'legal.tmdb': "이 제품은 TMDB API를 사용하지만 TMDB의 보증이나 인증을 받지 않았습니다.",
'auth.newPasswordTitle': '새 비밀번호를 정해 주세요.',
'auth.newPassword': '새 비밀번호',
'auth.err.credentials': '이메일 또는 비밀번호가 올바르지 않아요.',
+7
View File
@@ -180,6 +180,13 @@ const dict: Translations = {
'auth.forgot': 'Wachtwoord vergeten?',
'auth.backToLogin': 'Terug naar inloggen',
'auth.privacy': 'Je account houdt je bibliotheek veilig. Je profiel (geziene titels, scores en reviews) is zichtbaar voor leden, tenzij je het privé maakt; je lijsten en instellingen blijven privé. Alles blijft ook op je apparaat staan, zodat de app zonder internet werkt.',
'auth.consent': "Door een account aan te maken bevestig je dat je minstens 15 jaar bent (of toestemming van een ouder hebt) en ga je akkoord met de gebruiksvoorwaarden en het privacybeleid.",
'settings.about': "Over",
'legal.privacy': "Privacy",
'legal.terms': "Gebruiksvoorwaarden",
'legal.notice': "Juridische informatie",
'legal.credits': "Credits",
'legal.tmdb': "Dit product gebruikt de TMDB-API maar wordt niet door TMDB onderschreven of gecertificeerd.",
'auth.newPasswordTitle': 'Kies je nieuwe wachtwoord.',
'auth.newPassword': 'Nieuw wachtwoord',
'auth.err.credentials': 'Onjuist e-mailadres of wachtwoord.',
+7
View File
@@ -182,6 +182,13 @@ const dict: Translations = {
'auth.forgot': 'Nie pamiętasz hasła?',
'auth.backToLogin': 'Wróć do logowania',
'auth.privacy': 'Twoje konto chroni twoją bibliotekę. Twój profil (obejrzane tytuły, oceny i recenzje) widzą inni użytkownicy, chyba że ustawisz go jako prywatny; twoje listy i ustawienia pozostają prywatne. Wszystko jest też zapisane na twoim urządzeniu, więc aplikacja działa bez internetu.',
'auth.consent': "Tworząc konto, potwierdzasz, że masz co najmniej 15 lat (lub zgodę rodzica), i akceptujesz warunki korzystania oraz politykę prywatności.",
'settings.about': "O aplikacji",
'legal.privacy': "Prywatność",
'legal.terms': "Warunki korzystania",
'legal.notice': "Informacje prawne",
'legal.credits': "Podziękowania",
'legal.tmdb': "Ten produkt korzysta z API TMDB, ale nie jest zatwierdzony ani certyfikowany przez TMDB.",
'auth.newPasswordTitle': 'Wybierz nowe hasło.',
'auth.newPassword': 'Nowe hasło',
'auth.err.credentials': 'Nieprawidłowy e-mail lub hasło.',
+7
View File
@@ -180,6 +180,13 @@ const dict: Translations = {
'auth.forgot': 'Esqueceu a senha?',
'auth.backToLogin': 'Voltar para o login',
'auth.privacy': 'Sua conta guarda sua biblioteca com segurança. Seu perfil (títulos, notas e opiniões) fica visível para os membros, a menos que você o torne privado; suas listas e configurações continuam privadas. Tudo também fica no seu aparelho para funcionar sem internet.',
'auth.consent': "Ao criar uma conta, confirmas que tens pelo menos 15 anos (ou o consentimento de um dos pais) e aceitas os termos de utilização e a política de privacidade.",
'settings.about': "Sobre",
'legal.privacy': "Privacidade",
'legal.terms': "Termos de utilização",
'legal.notice': "Aviso legal",
'legal.credits': "Créditos",
'legal.tmdb': "Este produto usa a API do TMDB, mas não é endossado nem certificado pelo TMDB.",
'auth.newPasswordTitle': 'Escolha sua nova senha.',
'auth.newPassword': 'Nova senha',
'auth.err.credentials': 'E-mail ou senha incorretos.',
+7
View File
@@ -182,6 +182,13 @@ const dict: Translations = {
'auth.forgot': 'Забыл пароль?',
'auth.backToLogin': 'Назад ко входу',
'auth.privacy': 'Аккаунт надёжно хранит твою библиотеку. Твой профиль (тайтлы, оценки и отзывы) виден участникам, если ты не сделаешь его закрытым; списки и настройки остаются приватными. Всё также хранится на устройстве, чтобы приложение работало офлайн.',
'auth.consent': "Создавая аккаунт, ты подтверждаешь, что тебе не меньше 15 лет (или у тебя есть согласие родителя), и принимаешь условия использования и политику конфиденциальности.",
'settings.about': "О приложении",
'legal.privacy': "Конфиденциальность",
'legal.terms': "Условия использования",
'legal.notice': "Правовая информация",
'legal.credits': "Благодарности",
'legal.tmdb': "Этот продукт использует API TMDB, но не одобрен и не сертифицирован TMDB.",
'auth.newPasswordTitle': 'Придумай новый пароль.',
'auth.newPassword': 'Новый пароль',
'auth.err.credentials': 'Неверная почта или пароль.',
+7
View File
@@ -180,6 +180,13 @@ const dict: Translations = {
'auth.forgot': 'ลืมรหัสผ่าน?',
'auth.backToLogin': 'กลับไปหน้าเข้าสู่ระบบ',
'auth.privacy': 'บัญชีของคุณช่วยเก็บคลังให้ปลอดภัย โปรไฟล์ของคุณ (เรื่องที่ดู คะแนน และรีวิว) สมาชิกคนอื่นมองเห็นได้ เว้นแต่คุณจะตั้งเป็นส่วนตัว ส่วนลิสต์และการตั้งค่าจะเป็นส่วนตัวเสมอ ข้อมูลทั้งหมดยังเก็บไว้ในอุปกรณ์ของคุณด้วย จึงใช้งานแบบออฟไลน์ได้',
'auth.consent': "การสร้างบัญชีถือว่าคุณยืนยันว่ามีอายุอย่างน้อย 15 ปี (หรือได้รับความยินยอมจากผู้ปกครอง) และยอมรับข้อกำหนดการใช้งานและนโยบายความเป็นส่วนตัว",
'settings.about': "เกี่ยวกับ",
'legal.privacy': "ความเป็นส่วนตัว",
'legal.terms': "ข้อกำหนดการใช้งาน",
'legal.notice': "ประกาศทางกฎหมาย",
'legal.credits': "เครดิต",
'legal.tmdb': "ผลิตภัณฑ์นี้ใช้ TMDB API แต่ไม่ได้รับการรับรองหรือสนับสนุนจาก TMDB",
'auth.newPasswordTitle': 'ตั้งรหัสผ่านใหม่ของคุณ',
'auth.newPassword': 'รหัสผ่านใหม่',
'auth.err.credentials': 'อีเมลหรือรหัสผ่านไม่ถูกต้อง',
+7
View File
@@ -180,6 +180,13 @@ const dict: Translations = {
'auth.forgot': 'Şifreni mi unuttun?',
'auth.backToLogin': 'Girişe dön',
'auth.privacy': 'Hesabın kütüphaneni güvende tutar. Profilin (izlediğin yapımlar, puanlar ve yorumlar) gizli yapmadığın sürece üyelere görünür; listelerin ve ayarların gizli kalır. Uygulama internetsiz de çalışsın diye her şey cihazında da saklanır.',
'auth.consent': "Hesap oluşturarak en az 15 yaşında olduğunu (veya ebeveyn onayın olduğunu) onaylar, kullanım koşullarını ve gizlilik politikasını kabul edersin.",
'settings.about': "Hakkında",
'legal.privacy': "Gizlilik",
'legal.terms': "Kullanım koşulları",
'legal.notice': "Yasal bilgiler",
'legal.credits': "Katkıda bulunanlar",
'legal.tmdb': "Bu ürün TMDB API'sini kullanır ancak TMDB tarafından onaylanmamış veya sertifikalandırılmamıştır.",
'auth.newPasswordTitle': 'Yeni şifreni seç.',
'auth.newPassword': 'Yeni şifre',
'auth.err.credentials': 'E-posta veya şifre hatalı.',
+7
View File
@@ -180,6 +180,13 @@ const dict: Translations = {
'auth.forgot': 'Quên mật khẩu?',
'auth.backToLogin': 'Quay lại đăng nhập',
'auth.privacy': 'Tài khoản giúp thư viện của bạn luôn an toàn. Hồ sơ của bạn (phim đã xem, điểm và nhận xét) hiển thị với các thành viên, trừ khi bạn chuyển sang riêng tư; danh sách và cài đặt luôn ở chế độ riêng tư. Mọi thứ cũng được lưu trên thiết bị để dùng được khi không có mạng.',
'auth.consent': "Khi tạo tài khoản, bạn xác nhận mình ít nhất 15 tuổi (hoặc có sự đồng ý của cha mẹ) và chấp nhận điều khoản sử dụng cùng chính sách quyền riêng tư.",
'settings.about': "Giới thiệu",
'legal.privacy': "Quyền riêng tư",
'legal.terms': "Điều khoản sử dụng",
'legal.notice': "Thông tin pháp lý",
'legal.credits': "Ghi công",
'legal.tmdb': "Sản phẩm này sử dụng API của TMDB nhưng không được TMDB xác nhận hay chứng nhận.",
'auth.newPasswordTitle': 'Chọn mật khẩu mới của bạn.',
'auth.newPassword': 'Mật khẩu mới',
'auth.err.credentials': 'Email hoặc mật khẩu không đúng.',
+7
View File
@@ -180,6 +180,13 @@ const dict: Translations = {
'auth.forgot': '忘记密码?',
'auth.backToLogin': '返回登录',
'auth.privacy': '账号会保护你的片库。你的主页(作品、评分和短评)对用户可见,除非你设为私密;你的片单和设置始终私密。数据也会保存在你的设备上,没网也能用。',
'auth.consent': "创建账户即表示你确认已年满 15 岁(或已获得父母同意),并接受使用条款和隐私政策。",
'settings.about': "关于",
'legal.privacy': "隐私",
'legal.terms': "使用条款",
'legal.notice': "法律声明",
'legal.credits': "致谢",
'legal.tmdb': "本产品使用 TMDB API,但未获得 TMDB 的认可或认证。",
'auth.newPasswordTitle': '设置你的新密码。',
'auth.newPassword': '新密码',
'auth.err.credentials': '邮箱或密码错误。',
+7 -2
View File
@@ -74,7 +74,7 @@
--color-line-strong: #d2cfc9;
--color-ink: #1c1b1a;
--color-ink-2: #57544e;
--color-ink-3: #86837c;
--color-ink-3: #6b6862;
color-scheme: light;
}
@@ -125,7 +125,7 @@
--color-line-strong: #d2cfc9;
--color-ink: #1c1b1a;
--color-ink-2: #57544e;
--color-ink-3: #86837c;
--color-ink-3: #6b6862;
color-scheme: light;
}
}
@@ -226,6 +226,11 @@
.safe-bottom {
padding-bottom: env(safe-area-inset-bottom);
}
/* Navigation au clavier : anneau visible (seulement au clavier, pas au toucher) */
:focus-visible {
outline: 2px solid var(--color-accent);
outline-offset: 2px;
}
}
/*
+19 -1
View File
@@ -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