From 12a2d403716aa999facea14a03545a8dd364407e Mon Sep 17 00:00:00 2001 From: Jules Neny Date: Mon, 11 May 2026 18:52:11 +0200 Subject: [PATCH] feat(v12-p): preview article 3 zones + colonnes scrollables indep - PreviewArticle.vue : nouveau composant qui ecoute journal-item-click et s'insere entre Carte O et iframe AEP - EmbedDynamique.vue : retire le swap article (iframe AEP toujours visible en bas) - ColCentre.astro : passe en flex-col, preview ouverte = Carte O 33vh + Preview auto + iframe 67vh, overflow-y-auto sur le container - Bouton 'Retour a la carte' emet preview-close -> grid revient 1/3 + 2/3 - Scroll independant : Journal (gauche), Centre (preview), Insta (droite) - Drag-resize desactive quand preview ouverte (anti-collision) --- src/components/astro/ColCentre.astro | 182 ++++++++++++++++++-------- src/components/vue/EmbedDynamique.vue | 142 +------------------- src/components/vue/PreviewArticle.vue | 152 +++++++++++++++++++++ 3 files changed, 280 insertions(+), 196 deletions(-) create mode 100644 src/components/vue/PreviewArticle.vue diff --git a/src/components/astro/ColCentre.astro b/src/components/astro/ColCentre.astro index fe7c548..26ceb80 100644 --- a/src/components/astro/ColCentre.astro +++ b/src/components/astro/ColCentre.astro @@ -1,13 +1,30 @@ --- // Centre - HAUT : tabs (Carte O mindmap | Chatbot RAG branche PC7). -// BAS : iframe carte AEP + scroll articles Substack (PC4). +// MILIEU : preview article (V1.2-P) - inseree au clic journal-item-click. +// BAS : iframe carte AEP (toujours visible). import CarteOWrapper from '../vue/CarteOWrapper.vue'; import ChatbotV2 from '../vue/ChatbotV2.vue'; import EmbedDynamique from '../vue/EmbedDynamique.vue'; +import PreviewArticle from '../vue/PreviewArticle.vue'; --- -
- -
+ +
+ +
diff --git a/src/components/vue/PreviewArticle.vue b/src/components/vue/PreviewArticle.vue new file mode 100644 index 0000000..55853e5 --- /dev/null +++ b/src/components/vue/PreviewArticle.vue @@ -0,0 +1,152 @@ + + +