From 90e07ae6926f8ad5690fc03f8018793b4b1bb118 Mon Sep 17 00:00:00 2001 From: Etienne Delvarre Date: Fri, 29 May 2026 11:11:10 +0200 Subject: [PATCH] Increase default hero banner height to 400px Co-Authored-By: Claude Opus 4.6 --- public/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index 3d36fe5..c69c370 100644 --- a/public/index.html +++ b/public/index.html @@ -201,7 +201,7 @@ .v-card.full { grid-column: 1 / -1; } .v-card h3 { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 600; color: var(--text-hint); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; } - .hero-banner { grid-column: 1 / -1; border-radius: 12px; height: 280px; background: linear-gradient(135deg, #d4a574 0%, #c4956a 30%, #a07850 60%, #7a5c40 100%); position: relative; overflow: hidden; display: flex; align-items: flex-end; background-size: cover; background-position: center; } + .hero-banner { grid-column: 1 / -1; border-radius: 12px; height: 400px; background: linear-gradient(135deg, #d4a574 0%, #c4956a 30%, #a07850 60%, #7a5c40 100%); position: relative; overflow: hidden; display: flex; align-items: flex-end; background-size: cover; background-position: center; } .dark .hero-banner { background: linear-gradient(135deg, #5a4030 0%, #4a3528 30%, #3a2a20 60%, #2a1e18 100%); } .hero-banner.has-image { background-color: #1a1614; cursor: grab; } .hero-banner.has-image.dragging { cursor: grabbing; } @@ -361,7 +361,7 @@
- +
@@ -1077,7 +1077,7 @@ function removeInspiration(index) { } // ── Hero image with drag-to-reposition ── -let heroMeta = { posY: 50, height: 280 }; // posY in %, height in px +let heroMeta = { posY: 50, height: 400 }; // posY in %, height in px function applyHeroImage(dataUrl) { const banner = document.getElementById('hero-banner'); @@ -1189,7 +1189,7 @@ async function loadVision() { try { const meta = JSON.parse(visionData['hero-meta']?.Contenu || '{}'); heroMeta.posY = meta.posY ?? 50; - heroMeta.height = meta.height ?? 280; + heroMeta.height = meta.height ?? 400; } catch { /* defaults */ } applyHeroMeta();