From 6d2f6813072c2a456f5eb66e00f60579d97f5f4d Mon Sep 17 00:00:00 2001 From: IliesAllali Date: Fri, 25 Sep 2026 12:20:55 +0200 Subject: [PATCH] Landing : visuel du hero agrandi sur ordinateur MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le canvas déborde sur la marge droite jusqu'au bord de l'écran (garde de 24 px) et monte à 700 px de haut. Environ 1,7 fois plus grand en 1920 px, sans coupure de 1024 à 1920 px ; mobile et tablette inchangés. Co-Authored-By: Claude Opus 5.5 (1M context) --- landing/src/App.jsx | 4 ++-- landing/src/index.css | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/landing/src/App.jsx b/landing/src/App.jsx index d22f5bd..e1ac3ec 100644 --- a/landing/src/App.jsx +++ b/landing/src/App.jsx @@ -755,10 +755,10 @@ function HeroGraph({ className = '' }) { }, []) return ( -
+
diff --git a/landing/src/index.css b/landing/src/index.css index 74fb20d..0b22ce7 100644 --- a/landing/src/index.css +++ b/landing/src/index.css @@ -87,6 +87,10 @@ em.s { font-style: italic; font-weight: 300; } .hero-txt { display: grid; gap: 24px; justify-items: start; } .hero-txt .t-d1 { max-width: 17ch; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; } .hero-txt .lede { max-width: 44ch; } +/* Le visuel du hero déborde sur la marge droite, jamais au-delà de l'écran (24px de garde pour la barre de défilement) */ +@media (min-width: 1024px) { + .hero-graph { max-width: none; margin-left: -40px; width: calc(100% + 40px + var(--gut) + max(0px, (100vw - 1200px) / 2) - 24px); } +} .ctas { display: flex; gap: 10px; flex-wrap: wrap; } @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }