From e2a0b6401d62d3fd1c49338f7b64825824064a0b Mon Sep 17 00:00:00 2001 From: pironantoine <57062554-pironantoine@users.noreply.replit.com> Date: Sat, 4 Apr 2026 06:52:24 +0000 Subject: [PATCH] Reorganize front page to make synthesized text scrollable Restructure the home page's right column to include a fixed header, a scrollable area for synthesized text with a fixed font size, and a fixed footer for metadata. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 923ae0e3-a363-4db8-b04a-e8baca2a1330 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: c440572c-6e87-4d40-846d-c503ee9e862c Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8af7d2ec-2cc3-4ece-8af3-9f071488d072/923ae0e3-a363-4db8-b04a-e8baca2a1330/RusmVRz Replit-Helium-Checkpoint-Created: true --- artifacts/voix-du-peuple/src/pages/home.tsx | 116 +++++++++----------- 1 file changed, 53 insertions(+), 63 deletions(-) diff --git a/artifacts/voix-du-peuple/src/pages/home.tsx b/artifacts/voix-du-peuple/src/pages/home.tsx index 210d5f6..1e67f69 100644 --- a/artifacts/voix-du-peuple/src/pages/home.tsx +++ b/artifacts/voix-du-peuple/src/pages/home.tsx @@ -305,78 +305,68 @@ export default function Home() { }} /> -
-
-
-

- Synthèse des contributions -

-

- Mise à jour à chaque nouvelle contribution -

-
- - {stats && ( -
-
- Contributions intégrées - {stats.accepted} -
-
- )} + {/* En-tête fixe */} +
+
+

+ Synthèse des contributions +

+

+ Mise à jour à chaque nouvelle contribution +

+ {stats && ( +
+ Contributions intégrées + {stats.accepted} +
+ )} +
-
+ {/* Texte défilable */} + +
{isLoadingSynthesis ? ( -
- - - Chargement… - +
+ + Chargement… +
+ ) : synthesis?.text ? ( +
+ {synthesis.text}
) : synthesis ? ( -
-
- {synthesis.text ? ( -
{synthesis.text}
- ) : ( -

- Aucune contribution pour l'instant. -

- )} -
- - {synthesis.updatedAt && ( -
- - Basé sur {synthesis.ideaCount} contribution{synthesis.ideaCount !== 1 ? "s" : ""} - - - - - - - Mis à jour le {format(new Date(synthesis.updatedAt), "d MMM à HH:mm", { locale: fr })} - -
- )} -
+

+ Aucune contribution pour l'instant. +

) : ( -
- - - Impossible de récupérer le manifeste - +
+ + Impossible de récupérer la synthèse
)}
-
+ + + {/* Pied de page fixe */} + {synthesis?.updatedAt && ( +
+ Basé sur {synthesis.ideaCount} contribution{synthesis.ideaCount !== 1 ? "s" : ""} + + + + + + {format(new Date(synthesis.updatedAt), "d MMM à HH:mm", { locale: fr })} + +
+ )}