Skip to content

Commit 552ee4e

Browse files
authored
Landing details (#25)
* Update metadata and headings to reflect new messaging for MCPay * Enhance MCPBrowser and Navbar components with account modal integration - Added account modal functionality to MCPBrowser for user sign-in. - Updated button labels in Navbar to reflect 'SIGN IN' instead of 'Connect' for improved clarity. - Modified layout in MCPBrowser to include a new heading and sign-in button, enhancing user engagement. * Update Hero3D component headings for improved emphasis on messaging - Changed font weight of headings in Hero3D to 'semibold' for better visual hierarchy and clarity. - Ensured consistency in styling across different screen sizes while maintaining the focus on AI payment services. * Add SupportedBySection to Hero3D component and reorganize layout - Introduced SupportedBySection to display supported logos, enhancing the visual appeal and information delivery. - Adjusted layout in Hero3D for better mobile responsiveness, moving stats to a more appropriate position. - Improved overall structure and clarity of the Hero3D component, ensuring a cohesive user experience. * Update button components with animation support and adjust MCPBrowser layout - Added animated prop to Button component for enhanced user interaction. - Updated button instances in Hero3D to utilize the new animated feature for improved visual feedback. - Increased margin in MCPBrowser section for better spacing and layout consistency. * Refactor McpExampleCard to enhance tool display with tooltips and improved layout - Integrated Tooltip component to provide additional information for tools, enhancing user experience. - Adjusted layout to include an info icon next to tool names, improving clarity and accessibility. - Streamlined button functionality and styling for better visual consistency across devices. * Update MCPay metadata and display text for consistency in messaging - Changed title and alt text in metadata and Open Graph settings to "MCPay: make your AIs more capable" for improved clarity and branding. - Updated display text in the OG server route to match the new title, ensuring consistency across the application.
1 parent f170139 commit 552ee4e

8 files changed

Lines changed: 252 additions & 222 deletions

File tree

apps/app/src/app/api/og/server/[id]/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export async function GET(
116116
display: "block",
117117
}}
118118
/>
119-
<div style={{ fontWeight: 500, display: "block" }}>MCPay — Payments for MCPs</div>
119+
<div style={{ fontWeight: 500, display: "block" }}>MCPay: make your AIs more capable</div>
120120
</div>
121121
<div style={{ fontSize: 15, opacity: 0.55, paddingLeft: 22, display: "block" }}>mcpay.tech</div>
122122
</div>

apps/app/src/app/layout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const hostGrotesk = Host_Grotesk({
2828
});
2929

3030
export const metadata: Metadata = {
31-
title: "MCPay — Payments for MCPs",
31+
title: "MCPay: make your AIs more capable",
3232
description: "Add micropayments per tool call to your MCP servers or APIs without rewriting infrastructure. Prepare your stack for agent-to-agent payments.",
3333
icons: {
3434
icon: [
@@ -45,7 +45,7 @@ export const metadata: Metadata = {
4545
],
4646
},
4747
openGraph: {
48-
title: "MCPay — Payments for MCPs",
48+
title: "MCPay: make your AIs more capable",
4949
description: "Add micropayments per tool call to your MCP servers or APIs without rewriting infrastructure. Prepare your stack for agent-to-agent payments.",
5050
type: "website",
5151
url: "https://mcpay.tech",
@@ -55,13 +55,13 @@ export const metadata: Metadata = {
5555
url: '/mcpay-agentic-payments-og-image-14112025.png',
5656
width: 1200,
5757
height: 630,
58-
alt: 'MCPay — Payments for MCPs',
58+
alt: 'MCPay: make your AIs more capable',
5959
}
6060
],
6161
},
6262
twitter: {
6363
card: 'summary_large_image',
64-
title: "MCPay — Payments for MCPs",
64+
title: "MCPay: make your AIs more capable",
6565
description: "Add micropayments per tool call to your MCP servers or APIs without rewriting infrastructure. Prepare your stack for agent-to-agent payments.",
6666
images: ['/mcpay-agentic-payments-og-image-14112025.png'],
6767
creator: '@mcpaytech',

apps/app/src/app/page.tsx

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ import DeveloperInfo from "@/components/custom-ui/developer-info"
55
import FAQSection from "@/components/custom-ui/faq-section"
66
import Footer from "@/components/custom-ui/footer"
77
import GithubInfo from "@/components/custom-ui/github-info"
8-
import Hero3D from "@/components/custom-ui/hero-3d"
8+
import Hero3D, { SupportedBySection } from "@/components/custom-ui/hero-3d"
99
import ServersGrid from "@/components/custom-ui/servers-grid"
1010
import Stats from "@/components/custom-ui/stats"
11-
import TypingAnimation from "@/components/custom-ui/typing-animation"
1211
import { useTheme } from "@/components/providers/theme-context"
1312
import { Button } from "@/components/ui/button"
14-
import { useWindowScroll } from "@/hooks/use-chat-scroll"
1513
import { mcpDataApi, McpServer } from "@/lib/client/utils"
1614
import { ArrowRight, Rocket } from "lucide-react"
1715
import Link from "next/link"
1816
import { useEffect, useState } from "react"
17+
import { useAccountModal } from "@/components/hooks/use-account-modal"
18+
import { AccountModal } from "@/components/custom-ui/account-modal"
19+
import { useSession } from "@/lib/client/auth"
1920

2021

2122
export default function MCPBrowser() {
@@ -37,7 +38,8 @@ export default function MCPBrowser() {
3738

3839

3940
const { isDark } = useTheme()
40-
const { isAtBottom: hasReachedBottom } = useWindowScroll(200)
41+
const { isOpen, defaultTab, openModal, closeModal } = useAccountModal()
42+
const { data: session } = useSession()
4143

4244
const getFriendlyErrorMessage = (error: string) => {
4345
if (error.includes('404')) {
@@ -125,6 +127,10 @@ export default function MCPBrowser() {
125127
<Hero3D />
126128
</section>
127129

130+
<section className="mb-8 md:mb-12">
131+
<SupportedBySection />
132+
</section>
133+
128134
<section>
129135
<ConsumerInfo />
130136
</section>
@@ -159,17 +165,26 @@ export default function MCPBrowser() {
159165
<GithubInfo />
160166
</section>
161167

162-
<section className="mb-2">
163-
<div className="max-w-6xl px-4 md:px-6 mx-auto text-center">
164-
<TypingAnimation
165-
text="Join the future of agentic payments."
166-
trigger={hasReachedBottom}
167-
speed={20}
168-
/>
168+
<section className="mb-20">
169+
<div className="max-w-6xl px-4 md:px-6 mx-auto text-center space-y-6">
170+
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-medium font-host text-foreground leading-tight">
171+
Make your AIs more capable.
172+
</h2>
173+
{!session?.user && (
174+
<Button
175+
variant="customTallAccent"
176+
size="tall"
177+
onClick={() => openModal("wallets")}
178+
className="min-w-[220px]"
179+
>
180+
SIGN IN
181+
</Button>
182+
)}
169183
</div>
170184
</section>
171185
</div>
172186
<Footer />
187+
<AccountModal isOpen={isOpen} onClose={closeModal} defaultTab={defaultTab} />
173188
</div>
174189
)
175190
}

0 commit comments

Comments
 (0)