Skip to content

Commit f170139

Browse files
authored
New landing (#24)
* Update Hero3D and Navbar components for improved clarity and navigation - Changed headings and descriptions in Hero3D to emphasize pay-per-use model. - Updated button labels and links in Hero3D for better alignment with new messaging. - Modified Navbar to reflect changes in navigation options, replacing 'REGISTER' with 'MONETIZE' and adjusting link paths accordingly. * Reorganize sections in MCPBrowser component for improved layout - Moved DeveloperInfo and Stats sections to a new position for better flow and visibility. - Ensured ConsumerInfo and FAQSection remain accessible while enhancing overall structure. * typo * Update ConsumerInfo and DeveloperInfo components for clarity and new messaging - Changed headings in ConsumerInfo to emphasize MCP server consumption. - Updated DeveloperInfo heading to reflect the provision of paid endpoints. - Added McpExampleCard to ConsumerInfo for enhanced user guidance. - Modified Hero3D component headings to focus on payments infrastructure. * Enhance UI components with new styles and features - Added a green variant to highlighter text and icon components for improved visual options. - Updated InfoCard, McpExampleCard, MinimalExplorer, StatsCard, and VisualProxy components to use a consistent rounded style. - Modified McpExampleCard to include origin data and improved button functionality for copying server URLs. * Refactor McpExampleCard layout and styling for improved mobile experience - Adjusted image size and padding for better visual consistency across devices. - Enhanced description layout for mobile, adding spacing for clarity and readability. - Updated title gap for a more balanced appearance on different screen sizes. * Remove example tool data from McpExampleCard component to streamline code and improve maintainability. * Add origin URL prop to McpExampleCard for enhanced data handling
1 parent d2356b3 commit f170139

13 files changed

Lines changed: 323 additions & 37 deletions

apps/app/public/x-logo.svg

Lines changed: 3 additions & 0 deletions
Loading

apps/app/src/app/page.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,6 @@ export default function MCPBrowser() {
125125
<Hero3D />
126126
</section>
127127

128-
<section>
129-
<DeveloperInfo />
130-
</section>
131-
132-
<section className="mb-40">
133-
<Stats />
134-
</section>
135-
136128
<section>
137129
<ConsumerInfo />
138130
</section>
@@ -151,6 +143,14 @@ export default function MCPBrowser() {
151143
</div>
152144
</section>
153145

146+
<section>
147+
<DeveloperInfo />
148+
</section>
149+
150+
<section className="mb-40">
151+
<Stats />
152+
</section>
153+
154154
<section className="mb-20">
155155
<FAQSection />
156156
</section>

apps/app/src/components/custom-ui/consumer-info.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { cn } from "@/lib/utils"
55
import HighlighterText from "./highlighter-text"
66
import InfoCard from "./info-card"
77
import { ChartLine, DoorOpen, PiggyBank } from "lucide-react"
8+
import McpExampleCard from "./mcp-example-card"
89

910
interface ConsumerInfoProps extends React.HTMLAttributes<HTMLElement> {
1011
className?: string
@@ -26,14 +27,17 @@ export default function ConsumerInfo({
2627
{/* Header */}
2728
<div className="flex flex-col gap-4">
2829
<div className="inline-flex">
29-
<HighlighterText>FOR ANY HUMAN</HighlighterText>
30+
<HighlighterText>CONSUME MCP SERVERS</HighlighterText>
3031
</div>
31-
<h2 className="text-xl sm:text-2xl lg:text-3xl font-bold font-host text-foreground leading-tight max-w-3xl">
32-
Let your agents transact.{" "}
33-
<span className="font-normal text-muted-foreground">Fund your account with FIAT and use any paid MCP.</span>
32+
<h2 className="text-xl sm:text-2xl lg:text-3xl font-bold font-host text-foreground leading-tight max-w-4xl">
33+
Pay cents per tool call.{" "}
34+
<span className="font-normal text-muted-foreground">Instead of expensive subscriptions. Consume any paid MCP with a single account.</span>
3435
</h2>
3536
</div>
3637

38+
{/* MCP Example Card */}
39+
<McpExampleCard serverId="d534ddca-b113-4807-9f9f-e28f74f2cc49" />
40+
3741
{/* Info Cards Grid */}
3842
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
3943
<InfoCard

apps/app/src/components/custom-ui/developer-info.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function DeveloperInfo({
2727
{/* Header */}
2828
<div className="flex flex-col gap-4">
2929
<div className="inline-flex">
30-
<HighlighterText>FOR BUSINESSES & DEVELOPERS</HighlighterText>
30+
<HighlighterText>PROVIDE PAID ENDPOINTS</HighlighterText>
3131
</div>
3232
<h2 className="text-xl sm:text-2xl lg:text-3xl font-bold font-host text-foreground leading-tight max-w-3xl">
3333
The AI Gateway for your app.{" "}

apps/app/src/components/custom-ui/hero-3d.tsx

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ export default function Hero3D({
123123
Payments infrastructure for the agent economy
124124
</h1>
125125
<p className="text-sm sm:text-lg text-foreground/80 leading-relaxed max-w-lg">
126-
In one minute, add our open-source proxy to your APIs or MCPs and get discovered and paid by autonomous agents.
126+
Single connection to use paid MCP tools across any client.<br />
127+
Pay-per-use instead of expensive subscriptions.
127128
</p>
128129
</motion.div>
129130

@@ -139,14 +140,14 @@ export default function Hero3D({
139140
animate={isMounted ? "visible" : "hidden"}
140141
variants={fadeUp}
141142
>
142-
<Link href="/register" className="flex-1 min-w-0">
143+
<Link href="/servers" className="flex-1 min-w-0">
143144
<Button variant="customTallPrimary" size="tall" className="w-full px-3 lg:px-6">
144-
MONETIZE SERVERS
145+
BROWSE SERVERS
145146
</Button>
146147
</Link>
147-
<Link href="https://docs.mcpay.tech" target="_blank" rel="noopener noreferrer" className="flex-1 min-w-0">
148+
<Link href="/register" className="flex-1 min-w-0">
148149
<Button variant="customTallSecondary" size="tall" className="w-full px-3 lg:px-6">
149-
DOCUMENTATION
150+
MONETIZE SERVERS
150151
</Button>
151152
</Link>
152153
</motion.div>
@@ -231,19 +232,20 @@ export default function Hero3D({
231232

232233
{/* Subheading */}
233234
<p className="text-base sm:text-lg text-foreground/80 leading-relaxed">
234-
In one minute, add our open-source proxy to your APIs or MCPs and get discovered and paid by autonomous agents.
235+
Single connection to use paid MCP tools across any client.<br />
236+
Pay-per-use instead of expensive subscriptions.
235237
</p>
236238

237239
{/* CTAs */}
238240
<div className="flex flex-wrap gap-4 pt-2">
239-
<Link href="/register" className="flex-1 lg:flex-none">
241+
<Link href="/servers" className="flex-1 lg:flex-none">
240242
<Button variant="customTallPrimary" size="tall" className="w-full min-w-[220px]">
241-
MONETIZE SERVERS
243+
BROWSE SERVERS
242244
</Button>
243245
</Link>
244-
<Link href="https://docs.mcpay.tech" target="_blank" rel="noopener noreferrer" className="flex-1 lg:flex-none">
246+
<Link href="/register" className="flex-1 lg:flex-none">
245247
<Button variant="customTallSecondary" size="tall" className="w-full min-w-[220px]">
246-
DOCUMENTATION
248+
MONETIZE SERVERS
247249
</Button>
248250
</Link>
249251
</div>

apps/app/src/components/custom-ui/highlighter-text.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ const highlighterTextVariants = cva(
1111
default: "bg-muted text-muted-foreground",
1212
blue: "text-blue-700 bg-blue-500/10 dark:text-blue-200 dark:bg-blue-800/50",
1313
amber: "text-amber-700 bg-amber-500/10 dark:text-amber-200 dark:bg-amber-800/50",
14+
red: "text-red-700 bg-red-500/10 dark:text-red-200 dark:bg-red-800/50",
15+
green: "text-teal-700 bg-teal-500/10 dark:text-teal-200 dark:bg-teal-800/50",
1416
},
1517
},
1618
defaultVariants: {
@@ -27,6 +29,8 @@ const highlighterIconVariants = cva(
2729
default: "bg-muted text-muted-foreground",
2830
blue: "text-blue-700 bg-blue-500/10 dark:text-blue-200 dark:bg-blue-800/50",
2931
amber: "text-amber-700 bg-amber-500/10 dark:text-amber-200 dark:bg-amber-800/50",
32+
red: "text-red-700 bg-red-500/10 dark:text-red-200 dark:bg-red-800/50",
33+
green: "text-teal-700 bg-teal-500/10 dark:text-teal-200 dark:bg-teal-800/50",
3034
},
3135
},
3236
defaultVariants: {

apps/app/src/components/custom-ui/info-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function InfoCard({
2525
return (
2626
<div
2727
className={cn(
28-
"flex flex-col gap-8 p-6 rounded-lg bg-card",
28+
"flex flex-col gap-8 p-6 rounded-[2px] bg-card",
2929
className
3030
)}
3131
{...props}

0 commit comments

Comments
 (0)