Skip to content

Commit 81571f9

Browse files
committed
[MNY-202] Dashboard: Update resource links in project > bridge page
1 parent 777aed1 commit 81571f9

File tree

2 files changed

+11
-61
lines changed

2 files changed

+11
-61
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/bridge/QuickstartSection.client.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ export function QuickStartSection(props: {
2828
icon={ArrowRightLeftIcon}
2929
setupTime={5}
3030
id="swap_tokens"
31-
features={["Swap any token", "Cross-chain swaps"]}
31+
features={["Swap any token", "Cross-chain swap"]}
3232
description="Swap tokens cross-chain with dedicated swapping endpoints."
3333
link={{
34-
href: `https://portal.thirdweb.com/payments/swap`,
35-
label: "Setup Swaps",
34+
href: `https://portal.thirdweb.com/bridge/swap`,
35+
label: "Setup Swap",
3636
}}
3737
/>
3838

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/bridge/page.tsx

Lines changed: 8 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -69,70 +69,20 @@ export default async function Page(props: {
6969
},
7070
},
7171
links: [
72-
// TODO - add docs when bridge docs are added in portal
73-
// {
74-
// type: "docs",
75-
// href: "https://portal.thirdweb.com/payments",
76-
// },
72+
{
73+
type: "docs",
74+
href: "https://portal.thirdweb.com/bridge",
75+
},
76+
{
77+
type: "playground",
78+
href: "https://playground.thirdweb.com/bridge/swap-widget",
79+
},
7780
{
7881
type: "api",
7982
href: "https://api.thirdweb.com/reference#tag/bridge",
8083
},
8184
],
8285
}}
83-
footer={{
84-
center: {
85-
links: [
86-
{
87-
href: "https://playground.thirdweb.com/payments/ui-components",
88-
label: "UI Component",
89-
},
90-
{
91-
href: "https://playground.thirdweb.com/connect/payments/fund-wallet",
92-
label: "Buy Crypto",
93-
},
94-
{
95-
href: "https://playground.thirdweb.com/connect/payments/commerce",
96-
label: "Checkout",
97-
},
98-
{
99-
href: "https://playground.thirdweb.com/connect/payments/transactions",
100-
label: "Transactions",
101-
},
102-
],
103-
title: "Demos",
104-
},
105-
left: {
106-
links: [
107-
{
108-
href: "https://portal.thirdweb.com/payments",
109-
label: "Overview",
110-
},
111-
{
112-
href: "https://portal.thirdweb.com/typescript/v5/convertCryptoToFiat",
113-
label: "TypeScript",
114-
},
115-
{
116-
href: "https://portal.thirdweb.com/react/v5/pay/fund-wallets",
117-
label: "React",
118-
},
119-
{
120-
href: "https://portal.thirdweb.com/dotnet/universal-bridge/quickstart",
121-
label: ".NET",
122-
},
123-
],
124-
title: "Documentation",
125-
},
126-
right: {
127-
links: [
128-
{
129-
href: "https://www.youtube.com/watch?v=aBu175-VsNY",
130-
label: "Implement cross-chain payments in any app",
131-
},
132-
],
133-
title: "Tutorials",
134-
},
135-
}}
13686
>
13787
<div className="flex flex-col gap-12">
13888
<ResponsiveSearchParamsProvider value={searchParams}>

0 commit comments

Comments
 (0)