Skip to content

Commit 01fa6d8

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

File tree

14 files changed

+23
-20
lines changed

14 files changed

+23
-20
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/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/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>

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

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

7777
</Stack>

apps/portal/src/app/react/v5/connecting-wallets/hooks/page.mdx

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

1515
# Connection Hooks
1616

17-
You can build a completely custom UI for connecting the wallet using the [`useConnect`](/references/typescript/v5/useConnect) hook to connect any of [supported wallets](/connect/external-wallets).
17+
You can build a completely custom UI for connecting the wallet using the [`useConnect`](/references/typescript/v5/useConnect) hook to connect any of [supported wallets](/wallets/external-wallets).
1818

1919
```tsx
2020
import { createThirdwebClient } from "thirdweb";

apps/portal/src/app/react/v5/connecting-wallets/ui-components/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ The SDK supports 500+ wallets out of the box, all you need to pass is their id.
106106
<ArticleIconCard
107107
title="Supported Wallets"
108108
icon={ComponentIcon}
109-
href="/connect/external-wallets"
109+
href="/wallets/external-wallets"
110110
description="See all 500+ wallets supported by the TypeScript SDK"
111111
/>
112112

apps/portal/src/app/react/v5/migrate/installation/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ import { ThirdwebProvider } from "thirdweb/react"; // v5
8484
Similar to v4's `ConnectWallet` component, the latest version has the [`ConnectButton`](/connect/sign-in/ConnectButton) component which has the same functionality.
8585

8686
However, unlike with v4 where the number of supported wallets is limited (about 20), and adding more wallets mean your app becomes heavier,
87-
the SDK v5 supports [over 300 wallets](/connect/external-wallets) with virtually no impact to your application.
87+
the SDK v5 supports [over 300 wallets](/wallets/external-wallets) with virtually no impact to your application.
8888

8989
Here's how you use the new `ConnectButton`:
9090

@@ -99,7 +99,7 @@ const client = createThirdwebClient({
9999
<ConnectButton client={client} />
100100
```
101101

102-
To learn more about the new `ConnectButton`, head over to the [Playground](https://playground.thirdweb.com/connect/sign-in/button).
102+
To learn more about the new `ConnectButton`, head over to the [Playground](/connect/sign-in/button).
103103

104104
Notice how you are passing the thirdweb client to the component itself and not to the `ThirdwebProvider` like in v4?
105105
By not putting every config inside the context wrapper, we were able to make the SDK v5 much more lightweight since you only load what you need!

apps/portal/src/app/react/v5/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const sidebar: SideBar = {
5151
name: "Ecosystems Wallets",
5252
},
5353
{
54-
href: "/connect/external-wallets",
54+
href: "/wallets/external-wallets",
5555
name: "External Wallets",
5656
},
5757
{

apps/portal/src/app/typescript/v5/connecting-wallets/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The SDK supports 500+ wallets out of the box, all you need to pass is their id.
2424
<ArticleIconCard
2525
title="Supported Wallets"
2626
icon={ComponentIcon}
27-
href="/connect/external-wallets"
27+
href="/wallets/external-wallets"
2828
description="See all 500+ wallets supported by the TypeScript SDK"
2929
/>
3030

apps/portal/src/app/typescript/v5/wallets/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ See also: [Account (ethereum.org)](https://ethereum.org/en/glossary/#account)
3434
<ArticleIconCard
3535
title="Supported Wallets"
3636
icon={ComponentIcon}
37-
href="/connect/external-wallets"
37+
href="/wallets/external-wallets"
3838
description="See all 500+ wallets supported by the thirdweb SDKs"
3939
/>
4040

0 commit comments

Comments
 (0)