Skip to content

Commit 717a62c

Browse files
authored
Merge pull request #90 from vercel/vteo/update-configure-page-for-demo
Updated configure page to look better for demo
2 parents bc28cbf + b3d743c commit 717a62c

File tree

2 files changed

+77
-5
lines changed

2 files changed

+77
-5
lines changed

app/connect/configure/page.tsx

Lines changed: 74 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,80 @@ export default async function Page({
66
searchParams: { configurationId: string };
77
}) {
88
return (
9-
<div className="space-y-10 text-center p-10">
10-
<h1 className="text-lg font-medium">Nothing to configure here. 👀</h1>
11-
<h3 className="font-mono">{configurationId}</h3>
12-
<TransferToVercelRedirect configurationId={configurationId} />
9+
<div className="container mx-auto py-6 max-w-5xl">
10+
<div className="flex items-center justify-between border-b pb-4 mb-8">
11+
<div className="flex items-center gap-4">
12+
<div className="w-10 h-10 bg-gray-100"></div>
13+
<h1 className="text-2xl font-bold text-blue-600">ACME Corp</h1>
14+
</div>
15+
<div className="font-mono text-sm ">
16+
Configuration ID: {configurationId}
17+
</div>
18+
<div className="text-lg font-medium">ACME</div>
19+
</div>
20+
21+
<div className="space-y-8">
22+
<div>
23+
<h1 className="text-4xl font-bold mb-2">Billing</h1>
24+
<p className="text-gray-500 text-lg">
25+
Manage your billing information and payment methods
26+
</p>
27+
</div>
28+
29+
<div className="border-b mb-6">
30+
<div className="flex space-x-6">
31+
<button className="py-2 px-1 border-b-2 border-black font-medium">
32+
Payment Methods
33+
</button>
34+
<button className="py-2 px-1 text-gray-500">Billing History</button>
35+
</div>
36+
</div>
37+
38+
<div className="bg-white rounded-lg border p-6 mb-6">
39+
<div className="pb-3 mb-4">
40+
<h2 className="text-2xl font-semibold">Payment Methods</h2>
41+
<p className="text-gray-500 text-base">
42+
Manage your payment methods for ACME services
43+
</p>
44+
</div>
45+
46+
<div className="border-t pt-6">
47+
<div className="flex items-center justify-between p-4 border rounded-lg mb-6">
48+
<div className="flex items-center gap-4">
49+
<div>
50+
<div className="font-medium">Visa ending in 4242</div>
51+
<div className="text-gray-500">Expires 04/2025</div>
52+
</div>
53+
</div>
54+
<button className="px-4 py-2 border rounded-md" disabled={true}>
55+
Edit
56+
</button>
57+
</div>
58+
59+
<button className="w-full py-2 border rounded-md" disabled={true}>
60+
Add Payment Method
61+
</button>
62+
</div>
63+
</div>
64+
65+
<div className="bg-white rounded-lg border p-6">
66+
<div className="pb-3 mb-4">
67+
<h2 className="text-2xl font-semibold">Account Ownership</h2>
68+
<p className="text-gray-500 text-base">
69+
Transfer your account ownership and billing to your Vercel team
70+
</p>
71+
</div>
72+
73+
<div className="space-y-6">
74+
<p className="text-gray-600">
75+
Transferring ownership will move all billing responsibilities to
76+
the selected Vercel team.
77+
</p>
78+
79+
<TransferToVercelRedirect configurationId={configurationId} />
80+
</div>
81+
</div>
82+
</div>
1383
</div>
1484
);
1585
}

app/connect/configure/transfer-to-vercel-redirect.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ export default function TransferToVercelRedirect({
3535
<div className="flex flex-col items-center space-y-4">
3636
{continueUrl ? (
3737
<section className="p-4 border rounded text-center">
38-
<p className="mb-4">Please go to Vercel to complete the transfer.</p>
38+
<p className="mb-4">
39+
Please go to Vercel Marketplace to complete the transfer.
40+
</p>
3941
<div className="flex justify-center gap-4">
4042
<a
4143
href={continueUrl}

0 commit comments

Comments
 (0)