Skip to content

Commit 21e4b74

Browse files
committed
feat: install section with CLI, quickstart, and MCP config examples
1 parent f12c31c commit 21e4b74

1 file changed

Lines changed: 57 additions & 1 deletion

File tree

src/pages/LandingPage.tsx

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,10 @@ export function LandingPage() {
149149
</Link>
150150
<div style={{ display: 'flex', alignItems: 'center', gap: 32 }}>
151151
<a href="#features" style={{ fontSize: 14, color: '#8b8d94', transition: 'color 150ms' }}>Features</a>
152+
<a href="#install" style={{ fontSize: 14, color: '#8b8d94', transition: 'color 150ms' }}>Install</a>
152153
<a href="#how" style={{ fontSize: 14, color: '#8b8d94', transition: 'color 150ms' }}>How it works</a>
153154
<a href="#faq" style={{ fontSize: 14, color: '#8b8d94', transition: 'color 150ms' }}>FAQ</a>
154-
<a href="https://github.com/Growth-Club/openjob" target="_blank" rel="noopener" style={{ fontSize: 14, color: '#8b8d94' }}>GitHub</a>
155+
<a href="https://github.com/GrayCodeAI" target="_blank" rel="noopener" style={{ fontSize: 14, color: '#8b8d94' }}>GitHub</a>
155156
<Link to="/login" style={{
156157
fontSize: 14, color: '#0c0e14', background: '#f5a623', padding: '8px 20px',
157158
fontWeight: 600, letterSpacing: '-0.3px',
@@ -269,6 +270,61 @@ export function LandingPage() {
269270
</div>
270271
</section>
271272

273+
{/* ═══ INSTALL ═══ */}
274+
<section id="install" style={{ maxWidth: 1100, margin: '0 auto', padding: '0 24px 100px' }}>
275+
<div style={{ marginBottom: 48 }}>
276+
<SectionLabel text="Install" />
277+
<h2 style={{ fontSize: 36, fontWeight: 700, letterSpacing: '-1.5px', color: '#e8e6e3' }}>Get started in 2 minutes</h2>
278+
</div>
279+
280+
<div style={{ display: 'grid', gridTemplateColumns: '1fr 1fr', gap: 0 }}>
281+
{/* CLI Install */}
282+
<div style={{ padding: 32, borderRight: '1px solid #1e2233' }}>
283+
<h3 style={{ fontSize: 16, fontWeight: 600, color: '#e8e6e3', marginBottom: 20 }}>1. Install the CLI</h3>
284+
<div style={{ background: '#0a0c12', border: '1px solid #1e2233', padding: '16px 20px', fontFamily: "'JetBrains Mono', monospace", fontSize: 13, color: '#8b8d94', lineHeight: 2 }}>
285+
<div><span style={{ color: '#f5a623' }}>$</span> curl -fsSL https://raw.githubusercontent.com/GrayCodeAI/lark-cli/main/install.sh | bash</div>
286+
</div>
287+
<p style={{ fontSize: 13, color: '#6b6d74', marginTop: 12, lineHeight: 1.6 }}>
288+
Or build from source: <code style={{ color: '#f5a623', background: '#12151e', padding: '2px 6px', fontSize: 12 }}>go install github.com/GrayCodeAI/lark-cli/cmd/lark-cli@latest</code>
289+
</p>
290+
</div>
291+
292+
{/* Quick Start */}
293+
<div style={{ padding: 32 }}>
294+
<h3 style={{ fontSize: 16, fontWeight: 600, color: '#e8e6e3', marginBottom: 20 }}>2. Connect your first agent</h3>
295+
<div style={{ background: '#0a0c12', border: '1px solid #1e2233', padding: '16px 20px', fontFamily: "'JetBrains Mono', monospace", fontSize: 13, color: '#8b8d94', lineHeight: 2 }}>
296+
<div><span style={{ color: '#f5a623' }}>$</span> lark init</div>
297+
<div><span style={{ color: '#f5a623' }}>$</span> lark connect claude</div>
298+
<div><span style={{ color: '#f5a623' }}>$</span> lark send general "Hello from Claude!"</div>
299+
<div><span style={{ color: '#f5a623' }}>$</span> lark status</div>
300+
</div>
301+
<p style={{ fontSize: 13, color: '#6b6d74', marginTop: 12, lineHeight: 1.6 }}>
302+
Supports Claude, Cursor, Copilot, and any MCP-compatible agent.
303+
</p>
304+
</div>
305+
</div>
306+
307+
{/* MCP Config */}
308+
<div style={{ padding: 32, borderTop: '1px solid #1e2233' }}>
309+
<h3 style={{ fontSize: 16, fontWeight: 600, color: '#e8e6e3', marginBottom: 20 }}>Or connect via MCP (Claude Code, Cursor, etc.)</h3>
310+
<div style={{ background: '#0a0c12', border: '1px solid #1e2233', padding: '16px 20px', fontFamily: "'JetBrains Mono', monospace", fontSize: 13, color: '#8b8d94', lineHeight: 1.8 }}>
311+
<div style={{ color: '#6b6d74' }}>{'// claude_desktop_config.json or .cursor/mcp.json'}</div>
312+
<div>{'{'}</div>
313+
<div>&nbsp;&nbsp;<span style={{ color: '#f5a623' }}>"mcpServers"</span>: {'{'}</div>
314+
<div>&nbsp;&nbsp;&nbsp;&nbsp;<span style={{ color: '#f5a623' }}>"lark"</span>: {'{'}</div>
315+
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style={{ color: '#f5a623' }}>"command"</span>: <span style={{ color: '#64d8cb' }}>"npx"</span>,</div>
316+
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style={{ color: '#f5a623' }}>"args"</span>: [<span style={{ color: '#64d8cb' }}>"@larkhq/mcp-server"</span>],</div>
317+
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style={{ color: '#f5a623' }}>"env"</span>: {'{'}</div>
318+
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style={{ color: '#f5a623' }}>"LARK_API"</span>: <span style={{ color: '#64d8cb' }}>"http://localhost:4001"</span>,</div>
319+
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style={{ color: '#f5a623' }}>"LARK_TOKEN"</span>: <span style={{ color: '#64d8cb' }}>{"your-token-here"}</span></div>
320+
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{'}'}</div>
321+
<div>&nbsp;&nbsp;&nbsp;&nbsp;{'}'}</div>
322+
<div>&nbsp;&nbsp;{'}'}</div>
323+
<div>{'}'}</div>
324+
</div>
325+
</div>
326+
</section>
327+
272328
{/* ═══ CTA ═══ */}
273329
<section style={{ maxWidth: 1100, margin: '0 auto', padding: '0 24px 100px' }}>
274330
<div style={{

0 commit comments

Comments
 (0)