diff --git a/modules/rcart/components/folk-cart-shop.ts b/modules/rcart/components/folk-cart-shop.ts index 624a107..df7fd9a 100644 --- a/modules/rcart/components/folk-cart-shop.ts +++ b/modules/rcart/components/folk-cart-shop.ts @@ -946,7 +946,7 @@ class FolkCartShop extends HTMLElement { if (this.space === 'demo') { const demoId = `demo-gb-${Date.now()}`; const host = window.location.host; - const shareUrl = `https://${host}/demo/rcart/buy/${demoId}`; + const shareUrl = `https://${host}/rcart/buy/${demoId}`; try { await navigator.clipboard.writeText(shareUrl); } catch {} alert(`Group buy created! Link copied.\nView all group buys in the Group Buys tab.`); this._history.push(this.view); diff --git a/modules/rpubs/landing.ts b/modules/rpubs/landing.ts index ce91b94..f33808e 100644 --- a/modules/rpubs/landing.ts +++ b/modules/rpubs/landing.ts @@ -118,7 +118,7 @@ export function renderLanding(): string {
  • Print-ready — download and fold, or send straight to rPubs for binding
  • - + Generate a Zine diff --git a/modules/rschedule/landing.ts b/modules/rschedule/landing.ts index fdea940..95a13de 100644 --- a/modules/rschedule/landing.ts +++ b/modules/rschedule/landing.ts @@ -26,7 +26,7 @@ export function renderLanding(): string { + onclick="document.querySelector('.rl-hero').closest('[data-space]')?.getAttribute('data-space') ? window.location.href='/' + document.querySelector('.rl-hero').closest('[data-space]').getAttribute('data-space') + '/rschedule/reminders' : window.location.href='https://demo.rspace.online/rschedule/reminders'; return false;"> Automation Canvas Learn More diff --git a/modules/rschedule/mod.ts b/modules/rschedule/mod.ts index edc8720..2e6c098 100644 --- a/modules/rschedule/mod.ts +++ b/modules/rschedule/mod.ts @@ -434,7 +434,7 @@ async function executeBacklogBriefing( ${taskRows}

    - Sent by rSchedule • Manage Schedules + Sent by rSchedule • Manage Schedules

    `; diff --git a/modules/rswag/components/folk-swag-designer.ts b/modules/rswag/components/folk-swag-designer.ts index 370f1c8..098586d 100644 --- a/modules/rswag/components/folk-swag-designer.ts +++ b/modules/rswag/components/folk-swag-designer.ts @@ -289,7 +289,7 @@ class FolkSwagDesigner extends HTMLElement { }, pricing: { creator_share: "35%", community_share: "15%", provider_share: "50%" }, next_actions: [ - { action: "ingest_to_rcart", label: "Send to rCart", url: "/demo/rcart?tab=catalog" }, + { action: "ingest_to_rcart", label: "Send to rCart", url: "/rcart?tab=catalog" }, { action: "edit_design", label: "Edit Design" }, { action: "save_to_rfiles", label: "Save to rFiles" }, ], @@ -537,7 +537,7 @@ class FolkSwagDesigner extends HTMLElement {
    Local Print
    - Send to rCart + Send to rCart
    ${this.esc(JSON.stringify(this.artifact, null, 2))}
    diff --git a/shared/components/rstack-space-switcher.ts b/shared/components/rstack-space-switcher.ts index 4c0d7e9..3f00cd1 100644 --- a/shared/components/rstack-space-switcher.ts +++ b/shared/components/rstack-space-switcher.ts @@ -703,7 +703,7 @@ export class RStackSpaceSwitcher extends HTMLElement { overlay.remove(); // Redirect to demo space - window.location.href = "/demo/canvas"; + window.location.href = rspaceNavUrl("demo", "rspace"); } catch (err: any) { statusEl.textContent = err.message || "Failed to delete"; statusEl.className = "status error";