From 7aaedf2cdf00a2f42d4eccae0fe0e905e30f2a73 Mon Sep 17 00:00:00 2001 From: Allison Date: Wed, 29 Apr 2026 09:37:09 -0400 Subject: [PATCH] =?UTF-8?q?refactor(marketing):=20reproduit=20fid=C3=A8lem?= =?UTF-8?q?ent=20DashboardHolographique=20de=20dictai-narrative.tsx=20(6?= =?UTF-8?q?=20modes=20uniques=20+=20auto-cycle=20900ms)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remplace la section "Comment ça marche" (réacteur orbital générique du commit 03f6e56) par une reproduction fidèle du composant DashboardHolographique défini dans Website-Sanity/components/sections/dictai-narrative.tsx. Architecture : container "phone" central (border-radius 44px, color tinting selon feature active) + 6 modes uniques (Transcription upload+words, Diarisation conversation Sophie/Marc/Julie, 99+ langues grille staggered, Exports 7 file icons, Users avatars 1→20, Share folders+tags+files) + IA Mistral 7B premium card + grid 3 cols × 6 features cliquables. Auto-cycle 900 ms (1→6→1, skip IA index 0) avec click manuel → isManual pendant 4500 ms puis reprise auto. Animations Framer Motion → CSS keyframes + Alpine setInterval (preserves prefers-reduced-motion guard, aria-live, aria-pressed). Couleurs source spécifiques préservées (#A78BFA #22D3EE #6B9FFF #34D399 #F59E0B) — identifient les features et restent indépendantes de la palette brand globale b1/b2/b3. Test test_fonctionnalites_how_it_works_reactor_section adapté à la nouvelle structure (dictiaDashboard, 5 sub-data fns, 6 modes par signature unique, IA premium card animations, auto-cycle 900ms / 4500ms manual reset). --- templates/marketing/fonctionnalites.html | 784 ++++++++++++++++++----- tests/test_marketing_secondary_pages.py | 62 +- 2 files changed, 663 insertions(+), 183 deletions(-) diff --git a/templates/marketing/fonctionnalites.html b/templates/marketing/fonctionnalites.html index bdcbc1b..b8ea7ee 100644 --- a/templates/marketing/fonctionnalites.html +++ b/templates/marketing/fonctionnalites.html @@ -249,60 +249,59 @@ -{# ===== COMMENT ÇA MARCHE — RÉACTEUR INTERACTIF ===== - Sous-partie visuelle de la section Fonctionnalités (sub-nav reste à 4 ancres). - Reproduit dictai-narrative.tsx (Website-Sanity) en CSS pur + Alpine.js. +{# ===== COMMENT ÇA MARCHE — DASHBOARD HOLOGRAPHIQUE ===== + Reproduction fidèle de DashboardHolographique (Website-Sanity/dictai-narrative.tsx). + Phone container central + 6 modes uniques (Transcription, Diarisation, Langues, + Exports, Users, Share) + IA Mistral 7B premium card + grid 6 features. + Auto-cycle 900ms (1→6→1, skip IA index 0). Click manuel → 4500ms isManual. #}
@@ -323,145 +322,604 @@

-
+ {# ── DASHBOARD HOLOGRAPHIQUE — 2 colonnes (phone center + IA right) ── #} +
- {# ── COLONNE GAUCHE : Réacteur central holographique ── #} -
- {# Backdrop radial #} - + {# ─────────── ZONE CENTER : Phone container ─────────── #} +
- {# 3 anneaux concentriques rotatifs #} - + {# Phone (border-radius 44px, color tinting selon feature active) #} +
- {# Auto badge — top right #} -
- - Auto -
+ {# Ambient color tint overlay #} + - {# Centre : DictIA wordmark + glow + feature panel #} -
-
- -

DictIA

+ {# TOP : Logo + Mic pulsing #} +
+ DictIA +
- {# Panneau feature active — swap fluide via x-transition #} -
-