Skip to content

Commit 6ea37b9

Browse files
committed
feat(scenarios): sourceUrl + tagline surfaced in settings; fix landing CTAs
1 parent 96380e4 commit 6ea37b9

13 files changed

Lines changed: 5053 additions & 884 deletions

scenarios/atlas-lab.json

Lines changed: 679 additions & 131 deletions
Large diffs are not rendered by default.

scenarios/corporate-quarterly.json

Lines changed: 669 additions & 124 deletions
Large diffs are not rendered by default.

scenarios/dual-superintelligence-council.json

Lines changed: 703 additions & 134 deletions
Large diffs are not rendered by default.

scenarios/lunar.json

Lines changed: 761 additions & 128 deletions
Large diffs are not rendered by default.

scenarios/mars.json

Lines changed: 987 additions & 146 deletions
Large diffs are not rendered by default.

scenarios/submarine.json

Lines changed: 676 additions & 128 deletions
Large diffs are not rendered by default.

scenarios/t2d-glp1-protocol.json

Lines changed: 524 additions & 91 deletions
Large diffs are not rendered by default.

src/dashboard/landing.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ <h3>Private deployment</h3>
869869
</div>
870870

871871
<div style="margin-top:32px;text-align:center">
872-
<a href="mailto:team@frame.dev?subject=Paracosm hosted SaaS early access" class="cta">Request early access <svg><use href="#i-arrow"/></svg></a>
872+
<a href="#waitlist" class="cta">Request early access <svg><use href="#i-arrow"/></svg></a>
873873
<a href="https://agentos.sh/en/contact/" target="_blank" rel="noopener" class="btn-ghost" style="margin-left:12px">Custom engagements</a>
874874
</div>
875875
</div>
@@ -1053,7 +1053,7 @@ <h2 class="whitepaper-title">The Paracosm Technical Whitepaper</h2>
10531053
<button type="button" class="whitepaper-cta-disabled" disabled aria-disabled="true" title="Whitepaper PDF coming later this year">
10541054
PDF &middot; Coming soon
10551055
</button>
1056-
<a href="mailto:team@frame.dev?subject=Paracosm%20Whitepaper%20Notify" class="whitepaper-cta-notify">
1056+
<a href="https://wilds.ai/discord" target="_blank" rel="noopener" class="whitepaper-cta-notify">
10571057
Notify me when it drops
10581058
</a>
10591059
<a href="https://github.com/framersai/paracosm/blob/master/docs/COOKBOOK.md" target="_blank" rel="noopener" class="whitepaper-cta-secondary">

src/dashboard/src/components/settings/SettingsPanel.module.scss

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,32 @@
6565
margin-bottom: 16px;
6666
}
6767

68+
.scenarioTagline {
69+
font-size: var(--font-md);
70+
color: var(--text-1);
71+
line-height: 1.55;
72+
margin-bottom: 12px;
73+
padding-left: 12px;
74+
border-left: 2px solid color-mix(in srgb, var(--amber) 50%, transparent);
75+
}
76+
77+
.scenarioSourceLink {
78+
font-size: var(--font-sm);
79+
margin-bottom: 16px;
80+
81+
a {
82+
color: var(--amber);
83+
text-decoration: none;
84+
border-bottom: 1px dashed color-mix(in srgb, var(--amber) 50%, transparent);
85+
padding-bottom: 1px;
86+
87+
&:hover, &:focus-visible {
88+
border-bottom-color: var(--amber);
89+
outline: none;
90+
}
91+
}
92+
}
93+
6894
.leadHint {
6995
font-size: var(--font-sm);
7096
color: var(--text-3);

src/dashboard/src/components/settings/SettingsPanel.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,9 +421,23 @@ export function SettingsPanel({ events = [], initialSubTab = 'config' }: Setting
421421
)}
422422

423423
<h2 className={styles.h2}>{scenario.labels.name}</h2>
424+
{scenario.labels.tagline && (
425+
<p className={styles.scenarioTagline}>{scenario.labels.tagline}</p>
426+
)}
424427
<p className={styles.lead}>
425428
Configure two leaders and launch. {scenario.departments.length} departments: {scenario.departments.map(d => d.label).join(', ')}.
426429
</p>
430+
{scenario.sourceUrl && (
431+
<p className={styles.scenarioSourceLink}>
432+
<a
433+
href={scenario.sourceUrl}
434+
target="_blank"
435+
rel="noopener noreferrer"
436+
>
437+
View scenario JSON on GitHub →
438+
</a>
439+
</p>
440+
)}
427441
<p className={styles.leadHint}>
428442
Server mode: <strong className={styles.leadStrong}>{serverModeInfo.label}</strong>. {serverModeInfo.description}
429443
</p>

0 commit comments

Comments
 (0)