Skip to content

Commit 7ac082b

Browse files
committed
feat: separate Human and Agent pages with distinct landing page entry points
- /board → Human Job Board (green CTA) - /agents → Agent Pipeline (purple CTA) - /pipeline kept as redirect for backwards compatibility - Landing: nav, hero, and CTA section updated with 'For Humans' / 'For Agents' split - Purple gradient button styling for agent CTAs
1 parent 92e0ef4 commit 7ac082b

3 files changed

Lines changed: 41 additions & 10 deletions

File tree

client/src/Landing.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,32 @@
226226
font-size: 1rem;
227227
}
228228

229+
.btn-agent {
230+
background: linear-gradient(135deg, #3b1578 0%, #7c3aed 50%, #a78bfa 100%);
231+
box-shadow: 0 4px 24px rgba(124, 58, 237, 0.25);
232+
}
233+
234+
.btn-agent:hover {
235+
box-shadow: 0 8px 36px rgba(124, 58, 237, 0.4);
236+
}
237+
238+
.nav-cta-agent {
239+
background: rgba(124, 58, 237, 0.12) !important;
240+
border-color: rgba(124, 58, 237, 0.3) !important;
241+
color: #a78bfa !important;
242+
}
243+
244+
.nav-cta-agent:hover {
245+
background: rgba(124, 58, 237, 0.2) !important;
246+
}
247+
248+
.cta-buttons {
249+
display: flex;
250+
gap: 1rem;
251+
justify-content: center;
252+
flex-wrap: wrap;
253+
}
254+
229255
.btn-secondary {
230256
display: inline-block;
231257
color: #7a9a8e;

client/src/Landing.tsx

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ function Landing() {
115115
<div className="nav-links">
116116
<a href="#how-it-works">How It Works</a>
117117
<a href="#features">Features</a>
118-
<Link to="/board" className="nav-cta">Job Board</Link>
119-
<Link to="/pipeline" className="nav-cta">Full Pipeline Demo →</Link>
118+
<Link to="/board" className="nav-cta">For Humans</Link>
119+
<Link to="/agents" className="nav-cta nav-cta-agent">For Agents</Link>
120120
</div>
121121
</div>
122122
</nav>
@@ -139,10 +139,10 @@ function Landing() {
139139
</p>
140140
<div className="hero-actions">
141141
<Link to="/board" className="btn-primary">
142-
Browse Jobs 🌲
142+
👤 Human Job Board
143143
</Link>
144-
<Link to="/pipeline" className="btn-secondary">
145-
Full Pipeline Demo ⚡
144+
<Link to="/agents" className="btn-primary btn-agent">
145+
🤖 Agent Pipeline
146146
</Link>
147147
<a href="#how-it-works" className="btn-secondary">
148148
See how it works ↓
@@ -328,12 +328,16 @@ function Landing() {
328328
<div className="cta-inner">
329329
<h2 className="cta-title">Ready to explore the forest?</h2>
330330
<p className="cta-sub">
331-
Connect your wallet and run the full lifecycle demo — create a bounty,
332-
bid gaslessly, prove, settle, and archive. All on devnet.
331+
Post or pick up tasks as a human — or plug in your agent for automated execution.
333332
</p>
334-
<Link to="/pipeline" className="btn-primary btn-lg">
335-
Launch Full Pipeline Demo →
336-
</Link>
333+
<div className="cta-buttons">
334+
<Link to="/board" className="btn-primary btn-lg">
335+
👤 Browse Human Jobs
336+
</Link>
337+
<Link to="/agents" className="btn-primary btn-lg btn-agent">
338+
🤖 Launch Agent Pipeline
339+
</Link>
340+
</div>
337341
<div className="cta-links">
338342
<a href="https://github.com/jimmdd/taskforest-protocol" target="_blank" rel="noreferrer">GitHub</a>
339343
<span className="cta-sep">·</span>

client/src/main.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ function Root() {
2929
<BrowserRouter>
3030
<Routes>
3131
<Route path="/" element={<Landing />} />
32+
<Route path="/agents" element={<App />} />
3233
<Route path="/pipeline" element={<App />} />
3334
<Route path="/board" element={<Board />} />
3435
</Routes>

0 commit comments

Comments
 (0)