-
+
+
+
+ {showInviteMessage && (
+ <>
+
+
)}
{(inviteLocalError || inviteError) &&
@@ -491,9 +497,10 @@ const PersonCard = ({
className="pc-photo pc-photo--add"
onClick={() => avatarInputRef.current?.click()}
disabled={avatarActionLoading}
+ aria-label={t('Ajouter une photo')}
+ title={t('Ajouter une photo')}
>
-
{avatarActionLoading ? t('Envoi') : t('Ajouter une photo')}
) : (
@@ -572,8 +579,16 @@ const PersonCard = ({
{isFirstNameUnknown(person) ?
{firstNameLabel(person)} : person.firstName}
{person.lastName}
)}
- {!editMode && person.nickname &&
{person.nickname}
}
- {!editMode && lifeLine &&
{lifeLine}
}
+ {!editMode && metaItems.length > 0 && (
+
+ {metaItems.map((item, i) => (
+
+ {item.node}
+ {i < metaItems.length - 1 && ·}
+
+ ))}
+
+ )}
{editMode && {t('Édition')}}
{editMode && siblingPlace && (
@@ -587,7 +602,6 @@ const PersonCard = ({
)}
- {!editMode && ageLabel && {ageLabel}}
{!editMode && person.profession && {person.profession}}
diff --git a/frontend/src/components/SettingsPanels.css b/frontend/src/components/SettingsPanels.css
index 75a02cf..8dd5b81 100644
--- a/frontend/src/components/SettingsPanels.css
+++ b/frontend/src/components/SettingsPanels.css
@@ -67,9 +67,12 @@
.contrib-invite-passwords { display: grid; gap: 6px; }
.contrib-pass-hint { margin: 2px 4px 0; font: 400 12.5px/1.45 var(--pz-sans); color: var(--pz-muted); }
.contrib-invite-message { display: grid; gap: 8px; }
+.contrib-invite-message-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
+.contrib-invite-message-label { font: 500 12.5px var(--pz-sans); color: var(--pz-muted); }
+.contrib-link-btn { border: 0; padding: 4px 2px; background: none; cursor: pointer; font: 500 12.5px var(--pz-sans); color: var(--pz-a700); text-decoration: underline; text-underline-offset: 2px; }
+.contrib-link-btn:focus-visible { outline: 2px solid var(--pz-a500); outline-offset: 2px; border-radius: 4px; }
.contrib-invite-textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; background: var(--pz-surface); border: 1px solid var(--pz-line); border-radius: var(--pz-r-m); font: 400 13.5px/1.5 var(--pz-sans); color: var(--pz-ink-2); resize: vertical; outline: none; field-sizing: content; min-height: 9.5lh; }
.contrib-invite-textarea:focus { border-color: var(--pz-a500); box-shadow: 0 0 0 3px var(--pz-a100); }
-.contrib-invite-message-actions { display: flex; justify-content: flex-end; }
.contrib-role-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 8px 8px 12px; background: var(--pz-surface); border: 1px solid var(--pz-line); border-radius: var(--pz-r-m); }
.contrib-role-badge { display: grid; gap: 1px; min-width: 130px; flex: 1; }
.contrib-role-badge strong { font: 500 14px var(--pz-sans); color: var(--pz-ink); }
diff --git a/frontend/src/i18n/en/contribution.js b/frontend/src/i18n/en/contribution.js
index 27e06d3..4cb9798 100644
--- a/frontend/src/i18n/en/contribution.js
+++ b/frontend/src/i18n/en/contribution.js
@@ -52,7 +52,6 @@ export default {
// ─── Panneau de relecture ───
'Copie indisponible': 'Copy unavailable',
'Minimum 8 caractères.': 'At least 8 characters.',
- 'Partager et relire': 'Share and review',
'La famille {em}': 'The family {em}',
'participe': 'joins in',
'Fermer': 'Close',
@@ -82,7 +81,9 @@ export default {
'Changing the password means everyone who has already opened the tree will need to enter the new one.',
'Le message à envoyer': 'The message to send',
'Message copié': 'Message copied',
- 'Copier le message': 'Copy message',
+ "Copier le message d'invitation": 'Copy invitation message',
+ 'Voir ou modifier le message': 'View or edit the message',
+ 'Masquer le message': 'Hide the message',
'Propositions à relire': 'Suggestions to review',
'Acceptez ou refusez chaque modification, puis appliquez vos choix.': 'Accept or decline each change, then apply your choices.',
'Actualiser': 'Refresh',
diff --git a/landing/src/App.jsx b/landing/src/App.jsx
index b316f59..1d1306b 100644
--- a/landing/src/App.jsx
+++ b/landing/src/App.jsx
@@ -778,9 +778,19 @@ function Header({ t, onCta, loginHref, elevated }) {
{t.nav.how}
{t.nav.demo}
{t.nav.privacy &&
{t.nav.privacy}}
-
{t.nav.login}
-
+
+ {/* Icône « connexion » de Lucide (ISC), tracée à la main : la landing n'embarque pas la bibliothèque */}
+
+
+ {t.nav.login}
+
+
+
)
diff --git a/landing/src/index.css b/landing/src/index.css
index d623f66..af26450 100644
--- a/landing/src/index.css
+++ b/landing/src/index.css
@@ -78,6 +78,8 @@ em.s { font-style: italic; font-weight: 300; }
.site-nav.is-elevated { border-bottom-color: var(--trait); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.nav-in nav { display: flex; gap: 4px; }
+.nav-cta { display: flex; align-items: center; gap: 8px; flex: none; }
+.nav-login svg { flex: none; }
.nav-in nav a {
font: 500 14px var(--sans); color: var(--encre2); text-decoration: none;
padding: 8px 12px; border-radius: 999px; transition: background-color 160ms ease;
@@ -237,6 +239,8 @@ html.logo-intro .lk-nom { animation: lk-nom 700ms var(--ease-out) 380ms both; }
@media (max-width: 820px) {
.steps, .promise, .guides { grid-template-columns: 1fr; }
.nav-in nav { display: none; }
+ /* Téléphone : la connexion reste au pied de page, l'en-tête garde la place du bouton de création */
+ .nav-login { display: none; }
}
@media (max-width: 560px) {
.hero { padding-top: 8px; }