Skip to content

Commit 475aa0f

Browse files
rushgamebase-devclaude
andcommitted
Move Create Your Market CTA to top (right after hero, before Rush Cars)
Was buried at bottom of page. Now immediately visible after the hero market — compact version with 3 steps inline + Propose/Agents buttons. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8bfbac7 commit 475aa0f

1 file changed

Lines changed: 28 additions & 80 deletions

File tree

apps/web/app/page.tsx

Lines changed: 28 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,34 @@ export default function HomePage() {
194194
) : null}
195195
</motion.div>
196196

197+
{/* ---- Create Your Market CTA ---- */}
198+
<div
199+
className="mb-4 rounded-2xl overflow-hidden"
200+
style={{ border: "1px solid rgba(255,255,255,0.06)" }}
201+
>
202+
<div className="px-5 pt-5 pb-3 text-center" style={{ background: "linear-gradient(180deg, rgba(0,255,136,0.06) 0%, transparent 100%)" }}>
203+
<h2 className="text-lg sm:text-xl font-black text-white mb-1">Create Your Own Market</h2>
204+
<p className="text-xs text-gray-400">
205+
Propose a market, get approved, earn <span className="font-bold" style={{ color: "#00ff88" }}>4% of every bet</span>. Humans or autonomous agents.
206+
</p>
207+
</div>
208+
<div className="grid grid-cols-3 gap-px" style={{ background: "rgba(255,255,255,0.04)" }}>
209+
<Step number="1" icon={<Lightbulb className="h-4 w-4" />} title="Propose" description="Submit your question" color="#3B82F6" />
210+
<Step number="2" icon={<CheckCircle className="h-4 w-4" />} title="Approved" description="Team reviews it" color="#ffc828" />
211+
<Step number="3" icon={<TrendingUp className="h-4 w-4" />} title="Earn" description="4% of the pool" color="#00ff88" />
212+
</div>
213+
<div className="px-5 py-3 flex flex-wrap items-center justify-center gap-2" style={{ background: "var(--surface)" }}>
214+
<a href="/propose" className="flex items-center gap-1.5 rounded-lg px-4 py-2 text-xs font-bold transition-all hover:scale-105"
215+
style={{ background: "rgba(0,255,136,0.12)", border: "1px solid rgba(0,255,136,0.3)", color: "#00ff88" }}>
216+
<Zap className="h-3.5 w-3.5" /> Propose <ArrowRight className="h-3.5 w-3.5" />
217+
</a>
218+
<a href="/agents/dashboard" className="flex items-center gap-1.5 rounded-lg px-4 py-2 text-xs font-bold transition-all hover:scale-105"
219+
style={{ background: "rgba(59,130,246,0.1)", border: "1px solid rgba(59,130,246,0.25)", color: "#3B82F6" }}>
220+
<Bot className="h-3.5 w-3.5" /> Agents API
221+
</a>
222+
</div>
223+
</div>
224+
197225
{/* ---- Rush Cars Banner ---- */}
198226
<div className="mb-4">
199227
<RushCarsBanner />
@@ -348,86 +376,6 @@ export default function HomePage() {
348376
<NewsHeadlines />
349377
</div>
350378

351-
{/* ---- Create Your Market CTA ---- */}
352-
<div
353-
className="mt-8 rounded-2xl overflow-hidden"
354-
style={{ border: "1px solid rgba(255,255,255,0.06)" }}
355-
>
356-
{/* Header */}
357-
<div className="px-6 pt-6 pb-4 text-center" style={{ background: "linear-gradient(180deg, rgba(0,255,136,0.06) 0%, transparent 100%)" }}>
358-
<h2 className="text-xl sm:text-2xl font-black text-white mb-2">
359-
Create Your Own Market
360-
</h2>
361-
<p className="text-sm text-gray-400 max-w-lg mx-auto">
362-
Anyone can propose a prediction market. Get approved and earn{" "}
363-
<span className="font-bold" style={{ color: "#00ff88" }}>4% of every bet</span>{" "}
364-
placed on your market.
365-
</p>
366-
</div>
367-
368-
{/* Steps */}
369-
<div className="grid grid-cols-1 sm:grid-cols-3 gap-px" style={{ background: "rgba(255,255,255,0.04)" }}>
370-
<Step
371-
number="1"
372-
icon={<Lightbulb className="h-5 w-5" />}
373-
title="Propose"
374-
description="Submit your question, outcomes, and resolution criteria"
375-
color="#3B82F6"
376-
/>
377-
<Step
378-
number="2"
379-
icon={<CheckCircle className="h-5 w-5" />}
380-
title="Get Approved"
381-
description="Our team reviews for clarity, fairness, and verifiability"
382-
color="#ffc828"
383-
/>
384-
<Step
385-
number="3"
386-
icon={<TrendingUp className="h-5 w-5" />}
387-
title="Earn Fees"
388-
description="Your market goes live on-chain. You earn 4% of the pool."
389-
color="#00ff88"
390-
/>
391-
</div>
392-
393-
{/* CTAs */}
394-
<div className="px-6 py-5 flex flex-col sm:flex-row items-center justify-center gap-3" style={{ background: "var(--surface)" }}>
395-
<a
396-
href="/propose"
397-
className="flex items-center gap-2 rounded-xl px-6 py-3 text-sm font-bold transition-all hover:scale-105"
398-
style={{ background: "rgba(0,255,136,0.12)", border: "1px solid rgba(0,255,136,0.3)", color: "#00ff88" }}
399-
>
400-
<Zap className="h-4 w-4" />
401-
Propose a Market
402-
<ArrowRight className="h-4 w-4" />
403-
</a>
404-
<a
405-
href="/agents/dashboard"
406-
className="flex items-center gap-2 rounded-xl px-6 py-3 text-sm font-bold transition-all hover:scale-105"
407-
style={{ background: "rgba(59,130,246,0.1)", border: "1px solid rgba(59,130,246,0.25)", color: "#3B82F6" }}
408-
>
409-
<Bot className="h-4 w-4" />
410-
Autonomous Agents
411-
</a>
412-
</div>
413-
414-
{/* Agent callout */}
415-
<div className="px-6 py-3 flex items-center justify-center gap-2 text-[10px] text-gray-500" style={{ background: "rgba(59,130,246,0.03)", borderTop: "1px solid rgba(255,255,255,0.03)" }}>
416-
<Bot className="h-3 w-3" style={{ color: "#3B82F6" }} />
417-
<span>
418-
Build a bot that creates markets automatically.{" "}
419-
<a
420-
href="https://github.com/rushgamebase-dev/mktpredct/blob/main/AGENT_API.md"
421-
target="_blank"
422-
rel="noopener noreferrer"
423-
className="font-bold hover:text-gray-300"
424-
style={{ color: "#3B82F6" }}
425-
>
426-
Read the Agent API docs
427-
</a>
428-
</span>
429-
</div>
430-
</div>
431379
</div>
432380
);
433381
}

0 commit comments

Comments
 (0)