From e3b202cde6b3b3b000ead68e1195c00525bcf312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20SAILLANT?= <108685187+electron-rare@users.noreply.github.com> Date: Mon, 30 Mar 2026 07:08:18 +0000 Subject: [PATCH] fix: dimmer hero background (10% opacity) + transition components between sections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Hero panel image opacity 0.3 → 0.1 (much more subtle) - Added ~20 transition components between each section: - HERO→ABOUT: caps, resistors, LED - ABOUT→CASES: 74HC595 shift register + passives - CASES→MEDIA: resistors, cap, LED - MEDIA→SPRINTS: AMS1117 regulator + decoupling caps - SPRINTS→CONTACT: caps, resistors, LED - At least 2 components visible between each section stop Co-Authored-By: Claude Opus 4.6 (1M context) --- src/components/WebGLBackground.tsx | 37 ++++++++++++++++++++++++++++++ src/pages/preview.astro | 4 ++-- 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/src/components/WebGLBackground.tsx b/src/components/WebGLBackground.tsx index 16936d9..aeb49a7 100644 --- a/src/components/WebGLBackground.tsx +++ b/src/components/WebGLBackground.tsx @@ -593,6 +593,43 @@ function PCBComponents() { + {/* ── Transition components between sections ── */} + + {/* Between HERO and ABOUT */} + + + + + + + + + {/* Between ABOUT and CASES */} + + + + + + {/* Between CASES and MEDIA */} + + + + + + {/* Between MEDIA and SPRINTS */} + + + + + + + {/* Between SPRINTS and CONTACT */} + + + + + + {/* ── Extra scattered passives ── */} diff --git a/src/pages/preview.astro b/src/pages/preview.astro index 7625a5b..2170a2c 100644 --- a/src/pages/preview.astro +++ b/src/pages/preview.astro @@ -296,12 +296,12 @@ const headerItems = [ color: #e0e0e0 !important; } - /* Hero background image — dark blend */ + /* Hero background image — very subtle dark blend */ .section-dark :global(.figma-lab-hero-grid) { position: relative; } .section-dark :global(.hero-panel-image) { - opacity: 0.3 !important; + opacity: 0.1 !important; mix-blend-mode: luminosity; }