Skip to content

Commit 1d5b3ac

Browse files
[Docs] Update redirects for wallets and payments paths
1 parent a491de4 commit 1d5b3ac

File tree

33 files changed

+59
-52
lines changed

33 files changed

+59
-52
lines changed

apps/portal/redirects.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,7 @@ const walletRedirects = {
712712

713713
const paymentRedirects = {
714714
"/pay": "/payments",
715+
"/pay/:path*": "/payments",
715716
"/checkouts": "/payments",
716717
"/checkouts/api-reference": "/payments/nft-checkout/api-reference",
717718
"/checkouts/checkout-link": "/payments/nft-checkout/checkout-link",
@@ -920,7 +921,6 @@ const otherRedirects = {
920921
"/connect/account-abstraction": "/connect/account-abstraction/overview",
921922
// connect
922923
"/connect/connect": "/connect/sign-in",
923-
"/connect/ecosystems/:path*": "/connect/wallet/overview",
924924
"/connect/embedded-wallet/how-to/get-embedded-wallet-details-on-server":
925925
"/connect/in-app-wallet/how-to/get-in-app-wallet-details-on-server",
926926
"/connect/in-app-wallet/how-to/get-in-app-wallet-details-on-server":
@@ -1021,6 +1021,9 @@ const otherRedirects = {
10211021
"/connect/wallet/server": "/wallets/server",
10221022
"/connect/account-abstraction/get-started": "/wallets/sponsor-gas",
10231023
"/connect/account-abstraction/:path*": "/wallets/sponsor-gas",
1024+
"/connect/pay/:path*": "/payments",
1025+
"/connect/ecosystems/:path*": "/wallets/ecosystem/set-up",
1026+
"/connect/:path*": "/wallets",
10241027
"/wallets/in-app-wallet/custom-auth/configuration": "/wallets/custom-auth",
10251028
"/connect/wallets/user-management/link-multiple-identity":
10261029
"/wallets/link-profiles",

apps/portal/src/app/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const connectLinks: Array<{
8282
icon: React.FC<{ className?: string }>;
8383
}> = [
8484
{
85-
href: "/connect",
85+
href: "/wallets",
8686
icon: TableOfContentsIcon,
8787
name: "Overview",
8888
},

apps/portal/src/app/account/api-keys/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const metadata = createMetadata({
1212

1313
# API Keys
1414

15-
Each thirdweb project is equipped with an API key to use thirdweb's infrastructure services including [Storage](/infrastructure/storage/overview), [RPC Edge](/infrastructure/rpc-edge/overview), [Account Abstraction infrastructure](/connect/account-abstraction), and [In-App Wallets](/connect/in-app-wallet/overview).
15+
Each thirdweb project is equipped with an API key to use thirdweb's infrastructure services including [Storage](/infrastructure/storage/overview), [RPC Edge](/infrastructure/rpc-edge/overview), [Account Abstraction infrastructure](/bundler), and [In-App Wallets](/wallets).
1616

1717
## Services
1818

apps/portal/src/app/infrastructure/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const sidebar: SideBar = {
2727
{
2828
links: [
2929
{
30-
href: "/connect",
30+
href: "/wallets",
3131
name: "TypeScript SDK",
3232
},
3333
{

apps/portal/src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default function RootLayout({
5353
<div className="relative flex min-h-screen flex-col">
5454
<StickyTopContainer>
5555
{/* <Banner
56-
href="https://thirdweb.com/connect/universal-bridge"
56+
href="https://thirdweb.com/payments"
5757
text="Let users pay with whatever they have without leaving your app"
5858
/> */}
5959
<Header />

apps/portal/src/app/nebula/get-started/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ async function handleNebulaResponse(response) {
105105
secretKey: process.env.THIRDWEB_SECRET_KEY,
106106
});
107107

108-
// You can use any wallet- see https://portal.thirdweb.com/connect/external-wallets
108+
// You can use any wallet- see https://portal.thirdweb.com/wallets/external-wallets
109109
const account = await generateAccount({ client });
110110

111111
if (response.actions && response.actions.length > 0) {

apps/portal/src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function ReferenceSection() {
128128
title="Payments"
129129
/>
130130
<SDKCard
131-
href="/connect/wallet/get-users"
131+
href="/wallets/get-users"
132132
icon={ConnectIcon} // TODO: actual openAPI docs
133133
title="Wallets"
134134
/>

apps/portal/src/app/pay/faqs/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Yes, Payments is designed to be agnostic to wallet infrastructure. You can use i
4545
</Details>
4646

4747
<Details summary="Does Payments support Apple Pay or Google Pay?">
48-
Apple Pay and Google Pay are supported through the onramp providers depending on region. Coinbase, Stripe, and Transak currently support Apple Pay. Transak supports Google Pay. [Learn more about the supported onramp providers.](/connect/pay/onramp-providers).
48+
Apple Pay and Google Pay are supported through the onramp providers depending on region. Coinbase, Stripe, and Transak currently support Apple Pay. Transak supports Google Pay.
4949
</Details>
5050

5151
<Details summary="What are the KYC requirements?">

apps/portal/src/app/payments/faq/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Yes, Payments is designed to be agnostic to wallet infrastructure. You can use i
4545
</Details>
4646

4747
<Details summary="Does Payments support Apple Pay or Google Pay?">
48-
Apple Pay and Google Pay are supported through the onramp providers depending on region. Coinbase, Stripe, and Transak currently support Apple Pay. Transak supports Google Pay. [Learn more about the supported onramp providers.](/connect/pay/onramp-providers).
48+
Apple Pay and Google Pay are supported through the onramp providers depending on region. Coinbase, Stripe, and Transak currently support Apple Pay. Transak supports Google Pay.
4949
</Details>
5050

5151
<Details summary="What are the KYC requirements?">

apps/portal/src/app/react/v5/components/ConnectButton/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function Example() {
7272
<ArticleIconCard
7373
title="Supported Wallets"
7474
icon={TablePropertiesIcon}
75-
href="/connect/external-wallets"
75+
href="/wallets/external-wallets"
7676
/>
7777

7878
</Stack>

0 commit comments

Comments
 (0)