Skip to content

Commit 74a2163

Browse files
[Portal] Fix: Broken /connect Links (#7679)
Co-authored-by: Manan Tank <manantankm@gmail.com>
1 parent 66b9bf3 commit 74a2163

File tree

29 files changed

+176
-219
lines changed

29 files changed

+176
-219
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
## Features
1919

2020
- Support for React & React-Native
21-
- First party support for [Embedded Wallets](https://portal.thirdweb.com/connect/embedded-wallet/overview) (social/email login)
22-
- First party support for [Account Abstraction](https://portal.thirdweb.com/connect/account-abstraction/overview)
21+
- First party support for [Embedded Wallets](https://portal.thirdweb.com/wallets) (social/email login)
22+
- First party support for [Account Abstraction](https://portal.thirdweb.com/wallets/sponsor-gas)
2323
- Instant connection to any chain with RPC Edge integration
2424
- Integrated IPFS upload/download
2525
- UI Components for connection, transactions, nft rendering

apps/portal/public/llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@
10171017
* [getProfiles](https://portal.thirdweb.com/references/typescript/v5/getProfiles): Gets the linked profiles for the connected in-app or ecosystem wallet.
10181018
* [getUserEmail](https://portal.thirdweb.com/references/typescript/v5/getUserEmail): Retrieves the authenticated user email for the active in-app wallet.
10191019
* [getUserPhoneNumber](https://portal.thirdweb.com/references/typescript/v5/getUserPhoneNumber): Retrieves the authenticated user phone number for the active embedded wallet.
1020-
* [inAppWallet](https://portal.thirdweb.com/references/typescript/v5/inAppWallet): Creates an app scoped wallet for users based on various authentication methods. Full list of available authentication methods [here](https://portal.thirdweb.com/connect/wallet/sign-in-methods/configure).
1020+
* [inAppWallet](https://portal.thirdweb.com/references/typescript/v5/inAppWallet): Creates an app scoped wallet for users based on various authentication methods. Full list of available authentication methods [here](https://portal.thirdweb.com/wallets/users).
10211021
* [linkProfile](https://portal.thirdweb.com/references/typescript/v5/linkProfile): Connects a new profile (and new authentication method) to the current user.
10221022
* [preAuthenticate](https://portal.thirdweb.com/references/typescript/v5/preAuthenticate): Pre-authenticates the user based on the provided authentication strategy. Use this function to send a verification code to the user's email or phone number.
10231023
* [privateKeyToAccount](https://portal.thirdweb.com/references/typescript/v5/privateKeyToAccount): Get an `Account` object from a private key.

apps/portal/redirects.mjs

Lines changed: 80 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// @ts-check
2-
31
const unrealEngineRedirects = {
42
"/unreal-engine/blueprints/private-key-wallet":
53
"unreal-engine/blueprints/in-app-wallet",
@@ -206,7 +204,7 @@ const reactRedirects = {
206204
};
207205

208206
const solidityRedirects = {
209-
"/interact/overview": "/connect/blockchain-api",
207+
"/interact/overview": "/wallets",
210208
"/solidity": "/contracts/build",
211209
"/solidity/base-contract/erc721delayedreveal":
212210
"/contracts/build/base-contracts/erc-721/delayed-reveal",
@@ -545,98 +543,89 @@ const unityRedirects = {
545543

546544
const walletRedirects = {
547545
//auth
548-
"/auth": "/connect/auth",
549-
"/auth/client-frameworks/react": "/connect/auth/client-frameworks/react",
550-
"/auth/client-frameworks/react-native":
551-
"/connect/auth/client-frameworks/react-native",
552-
"/auth/faqs": "/connect/auth/faq",
553-
"/auth/getting-started": "/connect/auth/get-started",
554-
"/auth/how-auth-works": "/connect/auth/how-it-works",
555-
"/auth/how-auth-works/auth-api": "/connect/auth/how-it-works/api",
556-
"/auth/how-auth-works/json-web-tokens": "/connect/auth/how-it-works/jwt",
557-
"/auth/how-auth-works/sign-in-with-wallet": "/connect/auth/how-it-works/siwe",
558-
"/auth/integrations/firebase": "/connect/auth/integrations/firebase",
559-
"/auth/integrations/next-auth": "/connect/auth/integrations/next-auth",
560-
"/auth/integrations/supabase": "/connect/auth/integrations/supabase",
561-
"/auth/server-frameworks/express": "/connect/auth/server-frameworks/express",
562-
"/auth/server-frameworks/next": "/connect/auth/server-frameworks/next",
563-
"/auth/wallet-configuration": "/connect/auth/wallet-configuration",
546+
"/auth": "/wallets/auth",
547+
"/auth/client-frameworks/react": "/wallets",
548+
"/auth/client-frameworks/react-native": "/wallets",
549+
"/auth/faqs": "/wallets/auth",
550+
"/auth/getting-started": "/wallets/auth",
551+
"/auth/how-auth-works": "/wallets/auth",
552+
"/auth/how-auth-works/auth-api": "/wallets/auth",
553+
"/auth/how-auth-works/json-web-tokens": "/wallets/auth",
554+
"/auth/how-auth-works/sign-in-with-wallet": "/wallets/auth",
555+
"/auth/integrations/firebase": "/wallets/auth",
556+
"/auth/integrations/next-auth": "/wallets/auth",
557+
"/auth/integrations/supabase": "/wallets/auth",
558+
"/auth/server-frameworks/express": "/wallets/auth",
559+
"/auth/server-frameworks/next": "/wallets/auth",
560+
"/auth/wallet-configuration": "/wallets/auth",
564561
//connect
565-
"/connect/architecture": "/connect",
566-
"/connect/auth/client-frameworks/react": "/connect/auth",
567-
"/connect/auth/client-frameworks/react-native": "/connect/auth",
568-
"/connect/auth/faqs": "/connect/auth",
569-
"/connect/auth/get-started": "/connect/auth",
570-
"/connect/auth/how-it-works": "/connect/auth",
571-
"/connect/auth/how-it-works/api": "/connect/auth",
572-
"/connect/auth/how-it-works/jwt": "/connect/auth",
573-
"/connect/auth/how-it-works/siwe": "/connect/auth",
574-
"/connect/auth/integrations/firebase": "/connect/auth",
575-
"/connect/auth/integrations/next-auth": "/connect/auth",
576-
"/connect/auth/integrations/supabase": "/connect/auth",
577-
"/connect/auth/server-frameworks/express": "/connect/auth",
578-
"/connect/auth/server-frameworks/next": "/connect/auth",
579-
"/connect/auth/wallet-configuration": "/connect/auth",
580-
"/connect/connect-wallet": "/connect/connect",
581-
"/connect/connect-wallet/auth": "/connect/sign-in",
582-
"/connect/connect-wallet/button-title": "/connect/sign-in",
583-
"/connect/connect-wallet/class-name": "/connect/sign-in",
584-
"/connect/connect-wallet/custom-button": "/connect/sign-in",
585-
"/connect/connect-wallet/custom-ui": "/connect/sign-in/custom-ui",
586-
"/connect/connect-wallet/drop-down-positions": "/connect/sign-in",
587-
"/connect/connect-wallet/hide-testnet-faucet": "/connect/sign-in",
588-
"/connect/connect-wallet/modal-size": "/connect/sign-in",
589-
"/connect/connect-wallet/modal-title": "/connect/sign-in",
590-
"/connect/connect-wallet/privacy-policy": "/connect/sign-in",
591-
"/connect/connect-wallet/switch-chain": "/connect/sign-in",
592-
"/connect/connect-wallet/terms-of-service": "/connect/sign-in",
593-
"/connect/connect-wallet/theme": "/connect/sign-in",
594-
"/connect/connect-wallet/wallet-providers": "/connect/connect",
595-
"/connect/connect-wallet/welcome-screen": "/connect/sign-in",
596-
"/connect/ecosystem/ecosystem-premissions":
597-
"/connect/wallet/ecosystem/permissions",
562+
"/connect/architecture": "/wallets",
563+
"/connect/auth/client-frameworks/react": "/wallets/auth",
564+
"/connect/auth/client-frameworks/react-native": "/wallets/auth",
565+
"/connect/auth/faqs": "/wallets/auth",
566+
"/connect/auth/get-started": "/wallets/auth",
567+
"/connect/auth/how-it-works": "/wallets/auth",
568+
"/connect/auth/how-it-works/api": "/wallets/auth",
569+
"/connect/auth/how-it-works/jwt": "/wallets/auth",
570+
"/connect/auth/how-it-works/siwe": "/wallets/auth",
571+
"/connect/auth/integrations/firebase": "/wallets/auth",
572+
"/connect/auth/integrations/next-auth": "/wallets/auth",
573+
"/connect/auth/integrations/supabase": "/wallets/auth",
574+
"/connect/auth/server-frameworks/express": "/wallets/auth",
575+
"/connect/auth/server-frameworks/next": "/wallets/auth",
576+
"/connect/auth/wallet-configuration": "/wallets/auth",
577+
"/connect/connect-wallet": "/wallets",
578+
"/connect/connect-wallet/auth": "/wallets",
579+
"/connect/connect-wallet/button-title": "/wallets",
580+
"/connect/connect-wallet/class-name": "/wallets",
581+
"/connect/connect-wallet/custom-button": "/wallets",
582+
"/connect/connect-wallet/custom-ui": "/wallets",
583+
"/connect/connect-wallet/drop-down-positions": "/wallets",
584+
"/connect/connect-wallet/hide-testnet-faucet": "/wallets",
585+
"/connect/connect-wallet/modal-size": "/wallets",
586+
"/connect/connect-wallet/modal-title": "/wallets",
587+
"/connect/connect-wallet/privacy-policy": "/wallets",
588+
"/connect/connect-wallet/switch-chain": "/wallets",
589+
"/connect/connect-wallet/terms-of-service": "/wallets",
590+
"/connect/connect-wallet/theme": "/wallets",
591+
"/connect/connect-wallet/wallet-providers": "/wallets",
592+
"/connect/connect-wallet/welcome-screen": "/wallets",
593+
"/connect/ecosystem/ecosystem-premissions": "/wallets/ecosystem/set-up",
598594

599-
"/connect/ecosystem/faq": "/connect/wallet/faq",
600-
"/connect/ecosystem/get-started": "/connect/wallet/get-started",
601-
"/connect/ecosystem/integrating-partners":
602-
"/connect/wallet/ecosystem/integrating-partners",
603-
"/connect/ecosystem/overview": "/connect/wallet/overview",
604-
"/connect/ecosystem/pregenerate-wallets":
605-
"/connect/wallet/pregenerate-wallets",
606-
"/connect/ecosystem/security": "/connect/wallet/security",
607-
"/connect/ecosystem/wallet-explorer": "/connect/wallet/ecosystem/portal",
608-
"/connect/faqs": "/connect/sign-in",
609-
"/connect/in-app-wallet/faqs": "/connect/wallet/faq",
610-
"/connect/in-app-wallet/get-started": "/connect/wallet/get-started",
595+
"/connect/ecosystem/faq": "/wallets/faq",
596+
"/connect/ecosystem/get-started": "/wallets",
597+
"/connect/ecosystem/integrating-partners": "/wallets/ecosystem/set-up",
598+
"/connect/ecosystem/overview": "/wallets/ecosystem/set-up",
599+
"/connect/ecosystem/pregenerate-wallets": "/wallets",
600+
"/connect/ecosystem/security": "/wallets/security",
601+
"/connect/ecosystem/wallet-explorer": "/wallets/ecosystem/set-up",
602+
"/connect/faqs": "/wallets/faq",
603+
"/connect/in-app-wallet/faqs": "/wallets/faq",
604+
"/connect/in-app-wallet/get-started": "/wallets",
611605
"/connect/in-app-wallet/guides/export-private-key":
612-
"/connect/wallet/user-management/export-private-key",
613-
"/connect/in-app-wallet/guides/get-user-details":
614-
"/connect/wallet/user-management/get-user-profiles",
606+
"/wallets/export-private-key",
607+
"/connect/in-app-wallet/guides/get-user-details": "/wallets/get-users",
615608
"/connect/in-app-wallet/guides/link-multiple-profiles":
616-
"/connect/wallet/user-management/link-multiple-identity",
609+
"/wallets/link-profiles",
617610
"/connect/in-app-wallet/guides/retrieve-linked-profiles":
618-
"/connect/wallet/user-management/get-user-profiles",
611+
"/wallets/get-users",
619612

620-
"/connect/in-app-wallet/overview": "/connect/wallet/overview",
621-
"/connect/in-app-wallet/security": "/connect/wallet/security",
622-
"/connect/sign-in": "/connect/sign-in/overview",
623-
"/connect/sign-in/ConnectButton": "/connect/wallet/get-started",
624-
"/connect/sign-in/ConnectEmbed": "/connect/wallet/get-started",
625-
"/connect/sign-in/Custom-UI": "/connect/wallet/get-started",
626-
"/connect/sign-in/methods/email-and-phone":
627-
"/connect/wallet/sign-in-methods/configure",
628-
"/connect/sign-in/methods/external-wallets":
629-
"/connect/wallet/sign-in-methods/external-wallets",
630-
"/connect/sign-in/methods/guest-mode":
631-
"/connect/wallet/sign-in-methods/guest",
632-
"/connect/sign-in/methods/social-logins":
633-
"/connect/wallet/sign-in-methods/configure",
613+
"/connect/in-app-wallet/overview": "/wallets",
614+
"/connect/in-app-wallet/security": "/wallets/security",
615+
"/connect/sign-in": "/wallets/auth",
616+
"/connect/sign-in/ConnectButton": "/wallets",
617+
"/connect/sign-in/ConnectEmbed": "/wallets",
618+
"/connect/sign-in/Custom-UI": "/wallets",
619+
"/connect/sign-in/methods/email-and-phone": "/wallets/users",
620+
"/connect/sign-in/methods/external-wallets": "/wallets/external-wallets",
621+
"/connect/sign-in/methods/guest-mode": "/wallets",
622+
"/connect/sign-in/methods/social-logins": "/wallets/users",
634623

635-
"/connect/sign-in/overview": "/connect/wallet/overview",
636-
"/connect/usage-with-react-native-sdk": "/connect/sign-in",
637-
"/connect/usage-with-react-sdk": "/connect/sign-in",
638-
"/connect/usage-with-typescript-sdk": "/connect/sign-in",
639-
"/connect/usage-with-unity-sdk": "/connect/sign-in",
624+
"/connect/sign-in/overview": "/wallets/auth",
625+
"/connect/usage-with-react-native-sdk": "/wallets",
626+
"/connect/usage-with-react-sdk": "/wallets",
627+
"/connect/usage-with-typescript-sdk": "/wallets",
628+
"/connect/usage-with-unity-sdk": "/wallets",
640629

641630
//embedded wallet
642631
"/embedded-wallet": "/wallets/embedded-wallet/overview",
@@ -1022,6 +1011,8 @@ const otherRedirects = {
10221011
"/wallet/get-started/overview": "/connect/wallet/overview",
10231012
// connect > wallets
10241013
"/connect": "/wallets",
1014+
"/connect/auth": "/wallets/auth",
1015+
"/connect/:path*": "/wallets/:path*",
10251016
"/connect/wallet/sign-in-methods/configure": "/wallets/users",
10261017
"/connect/wallet/server": "/wallets/server",
10271018
"/connect/account-abstraction/get-started": "/wallets/sponsor-gas",
@@ -1061,7 +1052,7 @@ const v4ToV5Redirects = {
10611052
"/typescript/v4/:path*": "/typescript/v5",
10621053
"/unity/v4": "/unity/v5",
10631054
"/unity/v4/:path*": "/unity/v5",
1064-
"/wallet-sdk/:path*": "/connect",
1055+
"/wallet-sdk/:path*": "/wallets",
10651056
};
10661057

10671058
const payRedirects = {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ API Keys consists of two components:
3232

3333
To obtain an API Key, follow the Create Project step in the [Create API Key](/account/api-keys/create) guide.
3434

35-
You can find your API Key in the project settings of your dashboard.
35+
You can find your API Key in the project settings of your dashboard.

apps/portal/src/app/dotnet/wallets/actions/authenticate/page.mdx

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

99
# IThirdwebWallet.Authenticate
1010

11-
Login to your [thirdweb Auth](https://portal.thirdweb.com/connect/auth)-integrated backend.
11+
Login to your [thirdweb Auth](/wallets/auth)-integrated backend.
1212

1313
## Usage
1414

apps/portal/src/app/engine/v2/configure-wallets/server-wallet/page.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ The smart account is automatically deployed the first time you send a transactio
3333

3434
### Pricing
3535

36-
Smart server wallets have no additional costs to use with your Engine instance. Transactions sent from smart backend wallets follow the [same billing model as regular account abstraction transactions with thirdweb](/connect/account-abstraction/infrastructure#pricing--billing).
37-
Smart accounts need to be deployed on each chain. This costs gas and is billed to your account like any other transaction.
36+
Smart server wallets have no additional costs to use with your Engine instance. Transactions sent from smart backend wallets follow the same billing model as regular account abstraction transactions with thirdweb.
37+
Smart accounts need to be deployed on each chain. This costs gas and is billed to your account like any other transaction.

apps/portal/src/app/engine/v2/features/relayers/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ import { ThirdwebProvider } from "thirdweb/react";
6969
</ThirdwebProvider>;
7070
```
7171

72-
Next prompt the user to connect a wallet. See [ConnectButton](https://portal.thirdweb.com/connect/sign-in/ConnectButton) for customization options.
72+
Next prompt the user to connect a wallet. See [ConnectButton](/references/typescript/v5/ConnectButton) for customization options.
7373

7474
```tsx
7575
import { ConnectButton } from "thirdweb/react";

apps/portal/src/app/engine/v2/troubleshooting/page.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,6 @@ The backend wallet you are sending the transaction with does not have sufficient
112112
Confirm if the backend wallet is a valid admin for this account.
113113
If you are using Session Keys, confirm they are not close to or already expired.
114114

115-
### Received "AA21 didn’t pay prefund" error
116-
117-
**What it means**
118-
119-
Your thirdweb API key used by Engine is not properly configured to use Account Abstraction, or you have a [sponsorship rule](https://portal.thirdweb.com/connect/account-abstraction/sponsorship-rules) that has been exceeded.
120-
121115
**How to resolve**
122116

123-
Confirm if the API key is tied to an account with valid payment. Also confirm if there are any sponsorship rule for the Engine API key.
117+
Confirm if the API key is tied to an account with valid payment. Also confirm if there are any sponsorship rule for the Engine API key.

apps/portal/src/app/layout.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ export default function RootLayout({
5252

5353
<div className="relative flex min-h-screen flex-col">
5454
<StickyTopContainer>
55-
{/* <Banner
56-
href="https://thirdweb.com/payments"
57-
text="Let users pay with whatever they have without leaving your app"
58-
/> */}
5955
<Header />
6056
</StickyTopContainer>
6157

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ import NewProject from "../assets/new-project.png";
33
import KeysSetup from "../assets/keys.png";
44

55
export const metadata = createMetadata({
6-
image: {
7-
title: "Get Started",
8-
icon: "nebula",
9-
},
10-
title: "Get started with thirdweb Nebula: Set up Guide",
11-
description:
12-
"How to start building web3 capable apps with thirdweb Nebula, the most powerful AI to interact with the blockchain.",
6+
image: {
7+
title: "Get Started",
8+
icon: "nebula",
9+
},
10+
title: "Get started with thirdweb Nebula: Set up Guide",
11+
description:
12+
"How to start building web3 capable apps with thirdweb Nebula, the most powerful AI to interact with the blockchain.",
1313
});
1414

1515

@@ -181,4 +181,4 @@ Congratulations! You have successfully set up the Nebula API and executed a tran
181181
### Additional Resources
182182

183183
- [Nebula API Documentation](https://portal.thirdweb.com/nebula/api-reference)
184-
- [thirdweb SDK Documentation](https://portal.thirdweb.com/typescript/v5)
184+
- [thirdweb SDK Documentation](https://portal.thirdweb.com/typescript/v5)

0 commit comments

Comments
 (0)