Skip to content

Commit 8508ec5

Browse files
committed
fix: style step 2 as a matching install bar with agent label
1 parent 7203600 commit 8508ec5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/src/app/home.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,17 @@
7575

7676
/* INSTALL */
7777
.hp-install-section { padding: 32px 0 64px; }
78-
.hp-install-steps { display: flex; flex-direction: column; gap: 12px; max-width: 520px; margin: 0 auto; }
78+
.hp-install-steps { display: flex; flex-direction: column; gap: 12px; max-width: 600px; margin: 0 auto; }
7979
.hp-install-step { display: flex; align-items: center; gap: 12px; }
8080
.hp-install-step-num { font-family: var(--hp-mono); font-size: 12px; color: var(--hp-accent); width: 20px; text-align: center; flex-shrink: 0; }
8181
.hp-install-step-text { font-family: var(--hp-mono); font-size: 14px; color: var(--hp-text-dim); padding: 14px 0; }
8282
.hp-install-bar { display: flex; align-items: center; background: var(--hp-bg-raised); border: 1px solid var(--hp-border-bright); border-radius: 8px; padding: 14px 20px; gap: 16px; font-family: var(--hp-mono); font-size: 15px; transition: border-color 0.15s; }
8383
.hp-install-bar:hover { border-color: #333; }
8484
.hp-prompt-sign { color: var(--hp-accent); user-select: none; }
8585
.hp-install-bar code { color: var(--hp-text); white-space: nowrap; background: transparent !important; padding: 0 !important; font-size: inherit; }
86+
.hp-install-bar-agent { font-size: 14px; }
87+
.hp-install-bar-agent code { white-space: normal; color: var(--hp-text-dim); }
88+
.hp-agent-label { color: var(--hp-accent); user-select: none; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; flex-shrink: 0; }
8689
.hp-copy-btn { background: none; border: 1px solid var(--hp-border-bright); border-radius: 4px; color: var(--hp-text-dim); font-family: var(--hp-mono); font-size: 12px; padding: 4px 10px; cursor: pointer; transition: all 0.15s; white-space: nowrap; }
8790
.hp-copy-btn:hover { color: var(--hp-text); border-color: #444; }
8891

docs/src/app/page.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,10 @@ export default function HomePage() {
155155
</div>
156156
<div className="hp-install-step">
157157
<div className="hp-install-step-num">2</div>
158-
<div className="hp-install-step-text">Tell your agent: <span style={{ color: 'var(--hp-text)' }}>&quot;Run npx @tanstack/intent install, then run the agentcrumbs/init skill&quot;</span></div>
158+
<div className="hp-install-bar hp-install-bar-agent">
159+
<span className="hp-agent-label">agent</span>
160+
<code>Run npx @tanstack/intent install, then run the agentcrumbs/init skill</code>
161+
</div>
159162
</div>
160163
</div>
161164
</div>

0 commit comments

Comments
 (0)