diff --git a/apps/portal/redirects.mjs b/apps/portal/redirects.mjs
index c56b523ec89..456a3dfb57d 100644
--- a/apps/portal/redirects.mjs
+++ b/apps/portal/redirects.mjs
@@ -1046,6 +1046,27 @@ const v4ToV5Redirects = {
"/references/wallets/:path*": "/typescript/v5/supported-wallets",
};
+const payRedirects = {
+ "/connect/pay/overview": "/pay",
+ "/connect/pay/onramp-providers": "/pay/onramp-providers",
+ "/connect/pay/fees": "/pay/fees",
+ "/connect/pay/get-started": "/pay/get-started",
+ "/connect/pay/guides/accept-direct-payments":
+ "/pay/guides/accept-direct-payments",
+ "/connect/pay/guides/build-a-custom-experience":
+ "/pay/guides/build-a-custom-experience",
+ "/connect/pay/guides/cross-chain-swapping":
+ "/pay/guides/cross-chain-swapping",
+ "/connect/pay/customization/connectbutton":
+ "/pay/customization/connectbutton",
+ "/connect/pay/customization/payembed": "/pay/customization/payembed",
+ "/connect/pay/customization/send-transaction":
+ "/pay/customization/send-transaction",
+ "/connect/pay/webhooks": "/pay/webhooks",
+ "/connect/pay/testing-pay": "/pay/testing-pay",
+ "/connect/pay/faqs": "/pay/faqs",
+};
+
/**
* @type {import('next').NextConfig['redirects']}
*/
@@ -1066,6 +1087,7 @@ export const redirects = async () => {
...createRedirects(unrealEngineRedirects),
...createRedirects(v4ToV5Redirects),
...createRedirects(glossaryRedirects),
+ ...createRedirects(payRedirects),
];
};
diff --git a/apps/portal/src/app/Header.tsx b/apps/portal/src/app/Header.tsx
index 357a97a6910..561b2628e44 100644
--- a/apps/portal/src/app/Header.tsx
+++ b/apps/portal/src/app/Header.tsx
@@ -26,6 +26,10 @@ import {
import { ThirdwebIcon } from "../icons/thirdweb";
const links = [
+ {
+ name: "Bridge",
+ href: "/pay",
+ },
{
name: "Engine",
href: "/engine",
@@ -120,7 +124,7 @@ export const connectLinks: Array<{
const apisLinks = [
{
name: "Insight",
- href: "https://insight-api.thirdweb.com/reference",
+ href: "https://insight.thirdweb.com/reference",
},
{
name: "Engine Cloud",
diff --git a/apps/portal/src/app/connect/sidebar.tsx b/apps/portal/src/app/connect/sidebar.tsx
index 4410d2b1146..545996b559f 100644
--- a/apps/portal/src/app/connect/sidebar.tsx
+++ b/apps/portal/src/app/connect/sidebar.tsx
@@ -9,7 +9,6 @@ const inAppSlug = "/connect/in-app-wallet";
const walletSlug = "/connect/wallet";
const aAslug = "/connect/account-abstraction";
const authSlug = "/connect/auth";
-const paySlug = "/connect/pay";
export const sidebar: SideBar = {
name: "Connect",
@@ -229,100 +228,6 @@ export const sidebar: SideBar = {
],
},
{ separator: true },
- {
- name: "Universal Bridge",
- isCollapsible: false,
- links: [
- {
- name: "Overview",
- href: `${paySlug}/overview`,
- },
- {
- name: "Supported Routes",
- href: "https://thirdweb.com/routes",
- },
- {
- name: "Onramp Providers",
- href: `${paySlug}/onramp-providers`,
- },
- {
- name: "Service Fees",
- href: `${paySlug}/fees`,
- },
- {
- name: "API",
- href: "https://bridge.thirdweb.com/reference",
- },
- {
- name: "Get Started",
- href: `${paySlug}/get-started`,
- expanded: true,
- links: [
- {
- name: "ConnectButton",
- href: `${paySlug}/get-started#option-1-connectbutton`,
- },
- {
- name: "Embed",
- href: `${paySlug}/get-started#option-2-embed-pay`,
- },
- {
- name: "Send a Transaction",
- href: `${paySlug}/get-started#option-3-send-a-transaction-with-pay`,
- },
- ],
- },
- {
- name: "Tutorials",
- isCollapsible: true,
-
- links: [
- {
- name: "Accept Direct Payments",
- href: `${paySlug}/guides/accept-direct-payments`,
- },
- {
- name: "Build a Custom Onramp Experience",
- href: `${paySlug}/guides/build-a-custom-experience`,
- },
- {
- name: "Cross-Chain Swapping",
- href: `${paySlug}/guides/cross-chain-swapping`,
- },
- ],
- },
- {
- name: "Customization",
- isCollapsible: true,
- links: [
- {
- name: "ConnectButton",
- href: `${paySlug}/customization/connectbutton`,
- },
- {
- name: "PayEmbed",
- href: `${paySlug}/customization/payembed`,
- },
- {
- name: "useSendTransaction",
- href: `${paySlug}/customization/send-transaction`,
- },
- ],
- },
- {
- name: "Webhooks",
- href: `${paySlug}/webhooks`,
- },
- {
- name: "Developer Mode",
- href: `${paySlug}/testing-pay`,
- },
- {
- name: "FAQs",
- href: `${paySlug}/faqs`,
- },
- ],
- },
// User identity
{
name: "User Identity",
diff --git a/apps/portal/src/app/insight/sidebar.tsx b/apps/portal/src/app/insight/sidebar.tsx
index 9c86bb0ae98..fc013fb0e11 100644
--- a/apps/portal/src/app/insight/sidebar.tsx
+++ b/apps/portal/src/app/insight/sidebar.tsx
@@ -82,13 +82,13 @@ export const sidebar: SideBar = {
},
{
name: "API Reference",
- href: "https://insight-api.thirdweb.com/reference#tag/webhooks",
+ href: "https://insight.thirdweb.com/reference#tag/webhooks",
},
],
},
{
name: "API Reference",
- href: "https://insight-api.thirdweb.com/reference",
+ href: "https://insight.thirdweb.com/reference",
icon:
- Frontend, Backend, and Onchain tools to build complete web3 apps — - on every EVM chain. + Development framework for building onchain apps, games, and agents.
@@ -115,7 +114,7 @@ function ReferenceSection() { />