diff --git a/frontend/src/pages/demo.astro b/frontend/src/pages/demo.astro index b764ea5..a0f7b7c 100644 --- a/frontend/src/pages/demo.astro +++ b/frontend/src/pages/demo.astro @@ -17,16 +17,26 @@ const nextQuery = nextParam ? `&next=${encodeURIComponent(nextParam)}` : ''; A governance platform cannot be understood from screenshots or empty interfaces. Explore a live instance with real communities, ongoing decisions, and visible history.

+ +
+ Enter the Demo + Browse Communities +
+

No registration required to browse. Use a demo account below to vote and participate.

- ${nextParam ? ` + {nextParam ? (

- You were trying to open ${nextParam.replace(/. + You were trying to open {nextParam}. Enter the demo to continue.

+
- ` : ''} + ) : null}

Loading demo status...

@@ -313,6 +323,21 @@ const nextQuery = nextParam ? `&next=${encodeURIComponent(nextParam)}` : ''; line-height: 1.6; } + .demo-primary-actions { + display: flex; + gap: 1rem; + justify-content: center; + flex-wrap: wrap; + margin-top: 1.75rem; + } + + .demo-primary-hint { + margin: 1rem auto 0; + max-width: 70ch; + color: var(--color-text-muted); + font-size: 0.9375rem; + } + @media (max-width: 640px) { .lead { font-size: 1.05rem; @@ -343,6 +368,10 @@ const nextQuery = nextParam ? `&next=${encodeURIComponent(nextParam)}` : ''; margin-top: 2rem; } + .start-grid .state-card { + grid-column: 1 / -1; + } + @media (max-width: 900px) { .start-grid { grid-template-columns: 1fr; @@ -826,6 +855,20 @@ const nextQuery = nextParam ? `&next=${encodeURIComponent(nextParam)}` : ''; margin: 0; font-size: 0.9375rem; } + + .demo-status-banner .hint { + margin-top: 0.5rem; + color: var(--color-text-muted); + font-size: 0.875rem; + } + + .state-actions { + margin-top: 1.25rem; + display: flex; + gap: 0.75rem; + justify-content: center; + flex-wrap: wrap; + }