Skip to content

Commit 6ae8059

Browse files
committed
fix(landing): use one-liner curl command for snapshot section
Replace openboot snapshot command + GitHub Releases link with curl -fsSL openboot.dev/install | bash -s -- snapshot Consistent UX with the install flow above.
1 parent 4a49ceb commit 6ae8059

File tree

1 file changed

+2
-36
lines changed

1 file changed

+2
-36
lines changed

src/routes/+page.svelte

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -204,16 +204,11 @@
204204
</div>
205205
<div class="snapshot-command-area">
206206
<div class="snapshot-command">
207-
<code>openboot snapshot</code>
208-
<button class="copy-btn" onclick={() => copyCommand('openboot snapshot', 'snapshot')}>
207+
<code>curl -fsSL openboot.dev/install | bash -s -- snapshot</code>
208+
<button class="copy-btn" onclick={() => copyCommand('curl -fsSL https://openboot.dev/install | bash -s -- snapshot', 'snapshot')}>
209209
{copied === 'snapshot' ? 'Copied!' : 'Copy'}
210210
</button>
211211
</div>
212-
<span class="snapshot-flags">Also supports <code>--json</code> <code>--local</code> <code>--dry-run</code></span>
213-
<a href="https://github.com/openbootdotdev/openboot/releases/latest" class="snapshot-install-hint">
214-
Download OpenBoot CLI from GitHub Releases
215-
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M7 17L17 7M17 7H7M17 7v10"/></svg>
216-
</a>
217212
</div>
218213
</div>
219214
</div>
@@ -670,32 +665,7 @@
670665
color: var(--accent);
671666
}
672667
673-
.snapshot-flags {
674-
font-size: 0.75rem;
675-
color: var(--text-muted);
676-
}
677668
678-
.snapshot-flags code {
679-
font-family: 'JetBrains Mono', monospace;
680-
font-size: 0.7rem;
681-
color: var(--text-secondary);
682-
padding: 2px 6px;
683-
background: rgba(255, 255, 255, 0.05);
684-
border-radius: 4px;
685-
}
686-
687-
.snapshot-install-hint {
688-
font-size: 0.8rem;
689-
color: var(--text-muted);
690-
display: flex;
691-
align-items: center;
692-
gap: 4px;
693-
transition: color 0.2s;
694-
}
695-
696-
.snapshot-install-hint:hover {
697-
color: var(--accent);
698-
}
699669
700670
@media (max-width: 768px) {
701671
.ascii-logo {
@@ -722,9 +692,5 @@
722692
.snapshot-command-area {
723693
align-items: stretch;
724694
}
725-
726-
.snapshot-flags {
727-
text-align: center;
728-
}
729695
}
730696
</style>

0 commit comments

Comments
 (0)