From 97b92e3f84498c7fd3f0be184192fc874de87659 Mon Sep 17 00:00:00 2001 From: IliesAllali Date: Sun, 18 Oct 2026 22:20:20 +0200 Subject: [PATCH 1/4] =?UTF-8?q?fix:=20fiche,=20partage,=20landing=20et=20b?= =?UTF-8?q?anni=C3=A8re=20de=20cr=C3=A9ation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fiche : nom, puis une ligne « surnom · repères de vie · âge » (point médian, sans pastille d'âge) - Portrait vide : icône seule, avec aria-label et title « Ajouter une photo » - Partage : message replié (copie directe, « Voir ou modifier le message »), sur-titre retiré - Landing : « Se connecter » en bouton secondaire à gauche de « Créer mon arbre », masqué sur téléphone - Bannière « Votre arbre est créé. » dans la DA (carte pz, Newsreader, bouton pilule) Co-Authored-By: Claude Haiku 5.5 --- frontend/src/App.css | 33 +++++++++---------- frontend/src/App.jsx | 4 +-- frontend/src/components/ContributionPanel.jsx | 18 +++++++--- frontend/src/components/PersonCard.css | 7 ++-- frontend/src/components/PersonCard.jsx | 22 ++++++++++--- frontend/src/components/SettingsPanels.css | 5 ++- frontend/src/i18n/en/contribution.js | 5 +-- landing/src/App.jsx | 14 ++++++-- landing/src/index.css | 4 +++ 9 files changed, 76 insertions(+), 36 deletions(-) diff --git a/frontend/src/App.css b/frontend/src/App.css index feb77a8..5ce57fb 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -544,31 +544,28 @@ left: 20px; z-index: 1200; max-width: 340px; - padding: 12px 14px; + padding: 18px 20px 20px; display: grid; - gap: 8px; - border-radius: 14px; - border: 1px solid rgba(42, 38, 34, 0.14); - background: rgba(242, 239, 234, 0.95); - box-shadow: 0 6px 24px rgba(52, 48, 44, 0.18); - color: #2a2622; - font-size: 13px; - line-height: 1.45; + gap: 10px; + border-radius: var(--pz-r-l); + border: 1px solid var(--pz-line); + background: var(--pz-surface); + box-shadow: var(--pz-shadow); + color: var(--pz-ink-2); + font: 400 14px/1.5 var(--pz-sans); } .tree-created-prompt strong { - color: #2A2622; - font-size: 14px; + color: var(--pz-ink); + font: 400 21px/1.15 var(--pz-serif); + letter-spacing: -.01em; } -.tree-created-prompt button { +.tree-created-prompt .pz-btn { justify-self: start; - border: 1px solid #efc7b8; - border-radius: 8px; - background: #ffffff; - color: #2a2622; - padding: 6px 10px; - cursor: pointer; + min-height: 38px; + padding: 0 18px; + font-size: 14px; } .settings-card { diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index b4a9e04..3dfd6b7 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -2840,7 +2840,7 @@ function App() {
{t('Votre arbre est créé.')} {t("Ajoutez un proche pour commencer, comme votre mère, votre père ou un frère. Il suffit d'un prénom.")} -
@@ -2850,7 +2850,7 @@ function App() { {t("Votre arbre est créé, mais l'import n'a pas abouti.")} {` ${treeImportError} `} {t("Vous pouvez réessayer depuis les paramètres de l'arbre.")} - diff --git a/frontend/src/components/ContributionPanel.jsx b/frontend/src/components/ContributionPanel.jsx index bae4c0c..d311dec 100644 --- a/frontend/src/components/ContributionPanel.jsx +++ b/frontend/src/components/ContributionPanel.jsx @@ -237,6 +237,8 @@ const ContributionPanel = ({ const [newPassword, setNewPassword] = useState('') const [inviteLocalError, setInviteLocalError] = useState('') const [copyFeedback, setCopyFeedback] = useState('') + // Le message d'invitation reste replié : une ligne, le texte ne s'ouvre que sur demande + const [showInviteMessage, setShowInviteMessage] = useState(false) // Load persisted decisions from localStorage useEffect(() => { @@ -365,7 +367,6 @@ const ContributionPanel = ({ aria-labelledby="contribPanelTitle" >
-

{t('Partager et relire')}

{familyTitleBefore}{t('participe')}{familyTitleAfter}