From 34ae85b2b51a3f999a6bce69cf7a8cb74eb6ea60 Mon Sep 17 00:00:00 2001 From: Viktor Vaczi Date: Sun, 7 Jun 2026 18:15:02 +0200 Subject: [PATCH] fix(site): mobile waitlist input height, "Demo coming soon" panel, blog cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - WaitlistForm: reset the input's flex when the form stacks — the 16rem flex-basis was applying to the height in column layout (256px-tall input). - DemoVideo: add a comingSoon mode that shows a big "Demo coming soon" panel instead of the internal PRODUCE placeholder; enable it in the hero and the multiplayer section. - Blog: retitle the post to "Porting KiCad's Graphics to WebGL with Claude" (clean slug), set body/description to "Coming soon.", and drop the placeholder text from the blog index. Co-Authored-By: Claude Opus 4.8 (1M context) --- site/src/components/DemoVideo.astro | 33 ++++++++++++++++++- site/src/components/WaitlistForm.astro | 9 +++++ site/src/content/blog/hello-world.md | 19 ----------- ...ing-kicad-graphics-to-webgl-with-claude.md | 7 ++++ site/src/pages/blog/index.astro | 3 +- site/src/sections/Hero.astro | 1 + site/src/sections/Multiplayer.astro | 1 + 7 files changed, 51 insertions(+), 22 deletions(-) delete mode 100644 site/src/content/blog/hello-world.md create mode 100644 site/src/content/blog/porting-kicad-graphics-to-webgl-with-claude.md diff --git a/site/src/components/DemoVideo.astro b/site/src/components/DemoVideo.astro index dc8c327..9a46412 100644 --- a/site/src/components/DemoVideo.astro +++ b/site/src/components/DemoVideo.astro @@ -18,10 +18,21 @@ interface Props { poster?: string; caption?: string; ratio?: string; // default 16/9 + /** When true and no video yet, show a big "Demo coming soon" panel instead of + * the internal PRODUCE placeholder. */ + comingSoon?: boolean; class?: string; } -const { mp4, webm, poster, caption, ratio = '16 / 9', class: cls = '' } = Astro.props; +const { + mp4, + webm, + poster, + caption, + ratio = '16 / 9', + comingSoon = false, + class: cls = '', +} = Astro.props; const hasVideo = Boolean(mp4 || webm); --- @@ -45,6 +56,10 @@ const hasVideo = Boolean(mp4 || webm); + ) : comingSoon ? ( +
+ Demo coming soon +
) : ( +

Blog

-

Placeholder blog index. Posts live in src/content/blog/.

    { diff --git a/site/src/sections/Hero.astro b/site/src/sections/Hero.astro index db823a0..daeac36 100644 --- a/site/src/sections/Hero.astro +++ b/site/src/sections/Hero.astro @@ -34,6 +34,7 @@ import Icon from '../components/Icon.astro'; {/* TODO(assets): swap for hero board still w/ presence cursors (§4b.3) or the multiplayer demo loop (§4b.2) once produced. */} diff --git a/site/src/sections/Multiplayer.astro b/site/src/sections/Multiplayer.astro index 4ae7378..371b2ea 100644 --- a/site/src/sections/Multiplayer.astro +++ b/site/src/sections/Multiplayer.astro @@ -36,6 +36,7 @@ const subpoints = [