From 78d5602ca64a56f378dc71cfc372b41d33a0223d 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 13:44:55 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20PCB=20scale=200.15=E2=86=9215=20+=20remo?= =?UTF-8?q?ve=20Hero=20import=20+=20static=20version=20button=20on=20loadi?= =?UTF-8?q?ng?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - PCB assembly scale fixed (was 0.15, now 15 — model in mm units) - Hero component import removed from preview.astro - Loading screen: added "Version sans 3D →" button linking to /static/ Co-Authored-By: Claude Opus 4.6 (1M context) --- src/components/WebGLBackground.tsx | 2 +- src/pages/preview.astro | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/components/WebGLBackground.tsx b/src/components/WebGLBackground.tsx index 9c551f0..61ca757 100644 --- a/src/components/WebGLBackground.tsx +++ b/src/components/WebGLBackground.tsx @@ -37,7 +37,7 @@ function RealPCB() { return ( diff --git a/src/pages/preview.astro b/src/pages/preview.astro index 02341d1..2b07657 100644 --- a/src/pages/preview.astro +++ b/src/pages/preview.astro @@ -6,7 +6,7 @@ import '@/styles/global.css'; import '@/styles/home-workbench.css'; import '@/styles/webgl-cards.css'; import SiteHeader from '@/components/SiteHeader.astro'; -import { Hero } from '@/components/sections/Hero'; +// Hero removed — PCB 3D is the hero import { About } from '@/components/sections/About'; import { CaseStudies } from '@/components/sections/CaseStudies'; import { GraphicSprints } from '@/components/sections/GraphicSprints'; @@ -36,6 +36,7 @@ const headerItems = [

Chargement du PCB 3D...

+ Version sans 3D →

électronique · automatisme · énergie

@@ -418,6 +419,22 @@ const headerItems = [ color: rgba(255, 255, 255, 0.3); margin: 0; } + .loading-static-btn { + font-family: 'JetBrains Mono', 'SF Mono', monospace; + font-size: 11px; + color: rgba(91, 209, 216, 0.6); + text-decoration: none; + padding: 8px 16px; + border: 1px solid rgba(91, 209, 216, 0.15); + border-radius: 8px; + transition: all 0.2s ease; + pointer-events: auto; + } + .loading-static-btn:hover { + color: #5bd1d8; + border-color: rgba(91, 209, 216, 0.4); + background: rgba(91, 209, 216, 0.05); + } .loading-tagline { font-size: 11px; color: rgba(255, 255, 255, 0.12);