fix: use bare domain rspace.online/r* for rApp links instead of personal subdomain

App switcher fallback was "personal" causing all rApp links to resolve
to personal.rspace.online/r*. Changed to "demo" so links use the bare
domain which the server rewrites to demo mode. Updated landing page
CTAs and ecosystem links to match.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-25 22:19:39 -08:00
parent 74642a57ca
commit 8b9ccff256
2 changed files with 18 additions and 18 deletions

View File

@ -247,7 +247,7 @@ export class RStackAppSwitcher extends HTMLElement {
#getSpaceSlug(): string {
// Read from the space switcher or URL
const spaceSwitcher = document.querySelector("rstack-space-switcher");
if (spaceSwitcher) return spaceSwitcher.getAttribute("current") || "personal";
if (spaceSwitcher) return spaceSwitcher.getAttribute("current") || "demo";
return getCurrentSpace();
}

View File

@ -369,7 +369,7 @@
<rstack-mi></rstack-mi>
</div>
<div class="rstack-header__right">
<a class="rstack-header__demo-btn" href="https://demo.rspace.online/rspace">Try Demo</a>
<a class="rstack-header__demo-btn" href="https://rspace.online/rspace">Try Demo</a>
<rstack-identity></rstack-identity>
</div>
</header>
@ -380,7 +380,7 @@
<div class="cta-buttons">
<a href="/create-space" class="cta-primary" id="cta-primary">Create a Space</a>
<a href="/demo/rspace" class="cta-secondary" id="cta-demo">Try the Demo</a>
<a href="/rspace" class="cta-secondary" id="cta-demo">Try the Demo</a>
</div>
<div class="features">
@ -558,21 +558,21 @@
</div>
<div class="ecosystem-apps">
<a href="https://rspace.online" class="ecosystem-app">🌌 rSpace</a>
<a href="https://rwallet.online" class="ecosystem-app">💰 rWallet</a>
<a href="https://rvote.online" class="ecosystem-app">🗳 rVote</a>
<a href="https://rmaps.online" class="ecosystem-app">🗺 rMaps</a>
<a href="https://rfiles.online" class="ecosystem-app">📁 rFiles</a>
<a href="https://rnotes.online" class="ecosystem-app">📝 rNotes</a>
<a href="https://rtrips.online" class="ecosystem-app">✈ rTrips</a>
<a href="https://rfunds.online" class="ecosystem-app">💸 rFunds</a>
<a href="https://rnetwork.online" class="ecosystem-app">🕸️ rNetwork</a>
<a href="https://rcart.online" class="ecosystem-app">🛒 rCart</a>
<a href="https://rtube.online" class="ecosystem-app">🎬 rTube</a>
<a href="https://rchats.online" class="ecosystem-app">💬 rChats</a>
<a href="https://rforum.online" class="ecosystem-app">💭 rForum</a>
<a href="https://rswag.online" class="ecosystem-app">👕 rSwag</a>
<a href="https://rdata.online" class="ecosystem-app">📊 rData</a>
<a href="https://rspace.online/rspace" class="ecosystem-app">🌌 rSpace</a>
<a href="https://rspace.online/rwallet" class="ecosystem-app">💰 rWallet</a>
<a href="https://rspace.online/rvote" class="ecosystem-app">🗳 rVote</a>
<a href="https://rspace.online/rmaps" class="ecosystem-app">🗺 rMaps</a>
<a href="https://rspace.online/rfiles" class="ecosystem-app">📁 rFiles</a>
<a href="https://rspace.online/rnotes" class="ecosystem-app">📝 rNotes</a>
<a href="https://rspace.online/rtrips" class="ecosystem-app">✈ rTrips</a>
<a href="https://rspace.online/rfunds" class="ecosystem-app">💸 rFunds</a>
<a href="https://rspace.online/rnetwork" class="ecosystem-app">🕸️ rNetwork</a>
<a href="https://rspace.online/rcart" class="ecosystem-app">🛒 rCart</a>
<a href="https://rspace.online/rtube" class="ecosystem-app">🎬 rTube</a>
<a href="https://rspace.online/rchats" class="ecosystem-app">💬 rChats</a>
<a href="https://rspace.online/rforum" class="ecosystem-app">💭 rForum</a>
<a href="https://rspace.online/rswag" class="ecosystem-app">👕 rSwag</a>
<a href="https://rspace.online/rdata" class="ecosystem-app">📊 rData</a>
</div>
<a href="https://ridentity.online" class="encryptid-link">