Merge branch 'dev'
This commit is contained in:
commit
2a1e8d784e
|
|
@ -18,7 +18,7 @@ export function renderLanding(): string {
|
||||||
then advance to final voting.
|
then advance to final voting.
|
||||||
</p>
|
</p>
|
||||||
<div class="rl-cta-row">
|
<div class="rl-cta-row">
|
||||||
<a href="/rvote/demo" class="rl-cta-primary" id="ml-primary"
|
<a href="https://demo.rspace.online/rvote" class="rl-cta-primary" id="ml-primary"
|
||||||
style="background:linear-gradient(to right,#818cf8,#6366f1);color:white">
|
style="background:linear-gradient(to right,#818cf8,#6366f1);color:white">
|
||||||
<span style="display:inline-flex;align-items:center;gap:0.5rem">
|
<span style="display:inline-flex;align-items:center;gap:0.5rem">
|
||||||
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" stroke="none"><polygon points="5,3 19,12 5,21"/></svg>
|
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" stroke="none"><polygon points="5,3 19,12 5,21"/></svg>
|
||||||
|
|
@ -106,7 +106,7 @@ export function renderLanding(): string {
|
||||||
<p style="color:#94a3b8;max-width:640px;margin:0 auto 2rem">
|
<p style="color:#94a3b8;max-width:640px;margin:0 auto 2rem">
|
||||||
Vote on live polls synced across the r* ecosystem. Changes appear in real-time for everyone.
|
Vote on live polls synced across the r* ecosystem. Changes appear in real-time for everyone.
|
||||||
</p>
|
</p>
|
||||||
<a href="/rvote/demo" class="rl-cta-primary"
|
<a href="https://demo.rspace.online/rvote" class="rl-cta-primary"
|
||||||
style="background:linear-gradient(to right,#818cf8,#6366f1);color:white">
|
style="background:linear-gradient(to right,#818cf8,#6366f1);color:white">
|
||||||
Open Interactive Demo
|
Open Interactive Demo
|
||||||
</a>
|
</a>
|
||||||
|
|
@ -380,7 +380,7 @@ export function renderLanding(): string {
|
||||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="5" y1="12" x2="19" y2="12"/><polyline points="12 5 19 12 12 19"/></svg>
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="5" y1="12" x2="19" y2="12"/><polyline points="12 5 19 12 12 19"/></svg>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="/rvote/demo" class="rl-cta-secondary">
|
<a href="https://demo.rspace.online/rvote" class="rl-cta-secondary">
|
||||||
<span style="display:inline-flex;align-items:center;gap:0.5rem">
|
<span style="display:inline-flex;align-items:center;gap:0.5rem">
|
||||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none"><polygon points="5,3 19,12 5,21"/></svg>
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" stroke="none"><polygon points="5,3 19,12 5,21"/></svg>
|
||||||
Interactive Demo
|
Interactive Demo
|
||||||
|
|
|
||||||
|
|
@ -633,11 +633,6 @@ function renderDemoBody(): string {
|
||||||
|
|
||||||
// ── Page routes ──
|
// ── Page routes ──
|
||||||
|
|
||||||
// Legacy /demo path — redirect to demo.rspace.online/rvote
|
|
||||||
routes.get("/demo", (c) => {
|
|
||||||
return c.redirect("https://demo.rspace.online/rvote", 301);
|
|
||||||
});
|
|
||||||
|
|
||||||
// Main route — serves demo page when space=demo, dashboard otherwise
|
// Main route — serves demo page when space=demo, dashboard otherwise
|
||||||
routes.get("/", (c) => {
|
routes.get("/", (c) => {
|
||||||
const space = c.req.param("space") || "demo";
|
const space = c.req.param("space") || "demo";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue