Skip to content

Commit 3d7614b

Browse files
committed
feat(landing): add agent CLI installation step
- Add new installation step for Agent CLI integrations (Claude Code, Codex, OpenCode, Cursor Agent CLI) - Extract link color styling into LINK_COLOR constant for maintainability - Add rebel-mint color scheme support - Improve Git Host CLI section responsiveness with flex-wrap
1 parent 32b6f72 commit 3d7614b

1 file changed

Lines changed: 38 additions & 5 deletions

File tree

apps/landing/src/components/Installation.tsx

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ const ACCENT_COLOR: Record<string, { text: string; ring: string; glow: string; d
1919
glow: "shadow-[0_0_24px_rgba(127,161,255,0.25)]",
2020
dot: "bg-curious-sky",
2121
},
22+
"rebel-mint": {
23+
text: "text-rebel-mint",
24+
ring: "ring-rebel-mint/30",
25+
glow: "shadow-[0_0_24px_rgba(100,225,148,0.25)]",
26+
dot: "bg-rebel-mint",
27+
},
2228
"dream-shift": {
2329
text: "text-dream-shift",
2430
ring: "ring-dream-shift/30",
@@ -27,6 +33,12 @@ const ACCENT_COLOR: Record<string, { text: string; ring: string; glow: string; d
2733
},
2834
};
2935

36+
const LINK_COLOR: Record<string, string> = {
37+
"curious-sky": "text-curious-sky decoration-curious-sky/30 hover:decoration-curious-sky",
38+
"rebel-mint": "text-rebel-mint decoration-rebel-mint/30 hover:decoration-rebel-mint",
39+
muted: "text-muted-foreground decoration-muted-foreground/30 hover:decoration-muted-foreground",
40+
};
41+
3042
const STEPS: Step[] = [
3143
{
3244
title: "Download MarCode",
@@ -38,14 +50,38 @@ const STEPS: Step[] = [
3850
</>
3951
),
4052
},
53+
{
54+
title: "Install an Agent CLI",
55+
accent: "rebel-mint",
56+
description: (
57+
<>
58+
Install and authorize at least one supported agent CLI before opening MarCode. MarCode runs
59+
your already signed-in CLI:
60+
<span className="mt-2.5 flex flex-wrap gap-4">
61+
<ExternalLink href="https://code.claude.com/docs/en/quickstart" color="rebel-mint">
62+
Claude Code
63+
</ExternalLink>
64+
<ExternalLink href="https://help.openai.com/en/articles/11096431" color="rebel-mint">
65+
Codex
66+
</ExternalLink>
67+
<ExternalLink href="https://opencode.ai/docs/cli/" color="rebel-mint">
68+
OpenCode
69+
</ExternalLink>
70+
<ExternalLink href="https://docs.cursor.com/en/cli/installation" color="rebel-mint">
71+
Cursor Agent CLI
72+
</ExternalLink>
73+
</span>
74+
</>
75+
),
76+
},
4177
{
4278
title: "Install a Git Host CLI",
4379
accent: "curious-sky",
4480
description: (
4581
<>
4682
For the full git integration experience (branches, PRs/MRs from chat), install and
4783
authenticate your host&apos;s CLI:
48-
<span className="mt-2.5 flex gap-4">
84+
<span className="mt-2.5 flex flex-wrap gap-4">
4985
<ExternalLink href="https://cli.github.com" color="curious-sky">
5086
GitHub CLI
5187
</ExternalLink>
@@ -95,10 +131,7 @@ function ExternalLink({
95131
color: string;
96132
children: React.ReactNode;
97133
}) {
98-
const colorClass =
99-
color === "muted"
100-
? "text-muted-foreground decoration-muted-foreground/30 hover:decoration-muted-foreground"
101-
: `text-${color} decoration-${color}/30 hover:decoration-${color}`;
134+
const colorClass = LINK_COLOR[color]!;
102135

103136
return (
104137
<a

0 commit comments

Comments
 (0)