fix: corrections issues de l'audit (design DSFR + SDK 54 mobile + honnêteté)
- globals.css : supprime l'override Inter/Poppins (Marianne DSFR s'applique) et les palettes candlelight/malachite mortes - mobile : réinstall SDK 54 (expo 54, RN 0.81.5, worklets) ; app.json splash + adaptiveIcon en blanc (plus de jaune #fce117 hors charte) - formulation honnête du chiffrement (politique conf. + inscription) - compose : retire la référence au guide supprimé Vérifs : frontend tsc/lint OK ; mobile tsc 0 + expo-doctor 18/18. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Stack de production CESIZen — pour déploiement sur Coolify (type "Docker Compose").
|
||||
# Les valeurs ${...} sont à définir dans l'onglet "Environment Variables" de Coolify.
|
||||
# Voir DEPLOIEMENT_COOLIFY.md pour la liste complète.
|
||||
# Les valeurs (DB, domaines) sont figées en dur ci-dessous ; APP_KEY et JWT_SECRET
|
||||
# sont générés au démarrage par l'entrypoint du backend (aucun secret versionné).
|
||||
|
||||
services:
|
||||
postgres:
|
||||
|
||||
@@ -197,7 +197,7 @@ export default function InscriptionPage() {
|
||||
<Link href="/politique-de-confidentialite" className="fr-link">
|
||||
politique de confidentialité
|
||||
</Link>
|
||||
. Mes données sont chiffrées et je peux supprimer mon compte à tout moment.
|
||||
. Mes données sont protégées et je peux supprimer mon compte à tout moment.
|
||||
</label>
|
||||
{errors.consentement_rgpd && (
|
||||
<p id="consentement-error" className="fr-error-text">
|
||||
|
||||
@@ -37,9 +37,10 @@ export default function PolitiqueConfidentialitePage() {
|
||||
|
||||
<h2>Sécurité des données</h2>
|
||||
<p>
|
||||
Les données sont chiffrées en transit (HTTPS) et au repos. Les mots de
|
||||
passe sont hachés avec des algorithmes sécurisés. L'accès aux
|
||||
données est strictement limité aux personnes habilitées.
|
||||
Les données sont chiffrées en transit (HTTPS/TLS) et les mots de passe
|
||||
sont hachés avec des algorithmes sécurisés (bcrypt). Le chiffrement au
|
||||
repos est prévu pour la mise en production (hébergement certifié HDS).
|
||||
L'accès aux données est strictement limité aux personnes habilitées.
|
||||
</p>
|
||||
|
||||
<h2>Vos droits</h2>
|
||||
|
||||
@@ -1,88 +1,12 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
/* Panneau neutre (remplace l'usage détourné de .fr-card comme conteneur).
|
||||
Utilise les variables DSFR pour s'adapter aux thèmes clair/sombre. */
|
||||
/* Le Système de Design de l'État (DSFR) gère la typographie (Marianne), les
|
||||
couleurs et le thème clair/sombre via /dsfr/dsfr.min.css. On ne déclare donc
|
||||
ici qu'un utilitaire neutre, sans surcharger la police ni les couleurs. */
|
||||
|
||||
/* Panneau neutre (remplace l'usage détourné de .fr-card comme conteneur). */
|
||||
.app-panel {
|
||||
background-color: var(--background-default-grey);
|
||||
border: 1px solid var(--border-default-grey);
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: "Inter", system-ui, sans-serif;
|
||||
--font-display: "Poppins", system-ui, sans-serif;
|
||||
|
||||
/* Candlelight */
|
||||
--color-candlelight-50: #fffde6;
|
||||
--color-candlelight-100: #fffacc;
|
||||
--color-candlelight-200: #fff599;
|
||||
--color-candlelight-300: #ffef66;
|
||||
--color-candlelight-400: #ffe833;
|
||||
--color-candlelight-500: #fce117;
|
||||
--color-candlelight-600: #e5c800;
|
||||
--color-candlelight-700: #b39c00;
|
||||
--color-candlelight-800: #806f00;
|
||||
--color-candlelight-900: #4d4300;
|
||||
--color-candlelight-950: #332d00;
|
||||
|
||||
/* Malachite */
|
||||
--color-malachite-50: #e6fdf0;
|
||||
--color-malachite-100: #ccfbe0;
|
||||
--color-malachite-200: #99f7c2;
|
||||
--color-malachite-300: #66f3a3;
|
||||
--color-malachite-400: #33ef85;
|
||||
--color-malachite-500: #06c656;
|
||||
--color-malachite-600: #05a348;
|
||||
--color-malachite-700: #047d37;
|
||||
--color-malachite-800: #035827;
|
||||
--color-malachite-900: #023316;
|
||||
--color-malachite-950: #01220f;
|
||||
}
|
||||
|
||||
/* Variables de thème clair */
|
||||
:root {
|
||||
--background: #ffffff;
|
||||
--foreground: #171717;
|
||||
--primary: #fce117;
|
||||
--primary-foreground: #332d00;
|
||||
--secondary: #06c656;
|
||||
--secondary-foreground: #01220f;
|
||||
--muted: #f5f5f5;
|
||||
--muted-foreground: #737373;
|
||||
--border: #e5e5e5;
|
||||
--ring: #fce117;
|
||||
}
|
||||
|
||||
/* Variables de thème sombre */
|
||||
.dark {
|
||||
--background: #0a0a0a;
|
||||
--foreground: #ededed;
|
||||
--primary: #fce117;
|
||||
--primary-foreground: #332d00;
|
||||
--secondary: #06c656;
|
||||
--secondary-foreground: #01220f;
|
||||
--muted: #262626;
|
||||
--muted-foreground: #a3a3a3;
|
||||
--border: #404040;
|
||||
--ring: #fce117;
|
||||
}
|
||||
|
||||
/* Styles de base */
|
||||
body {
|
||||
background: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: "Inter", system-ui, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: "Poppins", system-ui, sans-serif;
|
||||
}
|
||||
|
||||
+2
-2
@@ -9,7 +9,7 @@
|
||||
"newArchEnabled": true,
|
||||
"scheme": "cesizen",
|
||||
"splash": {
|
||||
"backgroundColor": "#fce117",
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"resizeMode": "contain"
|
||||
},
|
||||
"ios": {
|
||||
@@ -19,7 +19,7 @@
|
||||
"android": {
|
||||
"adaptiveIcon": {
|
||||
"foregroundImage": "./assets/adaptive-icon.png",
|
||||
"backgroundColor": "#fce117"
|
||||
"backgroundColor": "#FFFFFF"
|
||||
},
|
||||
"package": "com.cesi.cesizen"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user