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 = [