Skip to content

[Docs] Slug Renames #7554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default async function RoutesPage(props: {
</div>
<a
className="inline-flex items-center gap-2 rounded-md bg-green-600 px-4 py-2 font-medium text-sm text-white transition-all hover:bg-green-600/90 hover:shadow-sm"
href="https://portal.thirdweb.com/pay"
href="https://portal.thirdweb.com/payments"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ export const products = [
description: "Enable gas sponsorship for seamless transactions",
icon: SmartAccountIcon,
id: "account-abstraction",
link: "https://portal.thirdweb.com/connect/account-abstraction/overview",
link: "https://portal.thirdweb.com/wallets/account-abstraction/overview",
name: "Account Abstraction",
},
{
description: "Enable payments in any token on any chain",
icon: PayIcon,
id: "pay",
link: "https://portal.thirdweb.com/connect/pay/overview",
link: "https://portal.thirdweb.com/payments",
name: "Payments",
},
{
Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard/src/app/(app)/(dashboard)/support/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ const HELP_PRODUCTS = [
description: "Create and manage crypto wallets",
icon: WalletIcon,
title: "Wallets",
viewAllUrl: "https://portal.thirdweb.com/connect",
viewAllUrl: "https://portal.thirdweb.com/wallets",
},
{
description: "Enable payments on any tokens on any chain",
icon: PayIcon,
title: "Payments",
viewAllUrl: "https://portal.thirdweb.com/pay/troubleshoot",
viewAllUrl: "https://portal.thirdweb.com/payments/troubleshoot",
},
{
description: "Perform read and write transactions onchain",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ async function AsyncAppHighlightsCard(props: {

return (
<EmptyStateCard
link="https://portal.thirdweb.com/connect/quickstart"
link="https://portal.thirdweb.com/wallets/quickstart"
metric="Wallets"
/>
);
Expand All @@ -189,7 +189,7 @@ async function AsyncWalletDistributionCard(props: {
<WalletDistributionCard data={walletConnections} />
) : (
<EmptyStateCard
link="https://portal.thirdweb.com/connect/quickstart"
link="https://portal.thirdweb.com/wallets/quickstart"
metric="Wallets"
/>
);
Expand Down Expand Up @@ -248,7 +248,7 @@ async function AsyncTransactionsChartCard(props: {
/>
) : (
<EmptyStateCard
link="https://portal.thirdweb.com/connect/quickstart"
link="https://portal.thirdweb.com/wallets/quickstart"
metric="Wallets"
/>
);
Expand Down Expand Up @@ -355,7 +355,7 @@ function AppHighlightsCard({
emptyContent: (
<EmptyStateContent
description="Your apps haven't collected any fees yet."
link={"https://portal.thirdweb.com/connect/pay/fees"}
link={"https://portal.thirdweb.com/payments/fees"}
metric="Fees"
/>
),
Expand All @@ -368,7 +368,7 @@ function AppHighlightsCard({
emptyContent: (
<EmptyStateContent
description="Onramp, swap, and bridge with thirdweb's Universal Bridge."
link="https://portal.thirdweb.com/connect/pay/overview"
link="https://portal.thirdweb.com/payments"
metric="Payments"
/>
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ export function AuthOptionsForm({
Enter the URL for your own authentication endpoint.{" "}
<a
className="underline"
href="https://portal.thirdweb.com/connect/in-app-wallet/custom-auth/configuration#generic-auth"
href="https://portal.thirdweb.com/wallets/in-app-wallet/custom-auth/configuration#generic-auth"
>
Learn more.
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function EcosystemCreatePage(props: {
<br /> You can control which apps join your ecosystem and how their
users interact with your wallet.{" "}
<UnderlineLink
href="https://portal.thirdweb.com/connect/ecosystems/overview"
href="https://portal.thirdweb.com/wallets/ecosystem-wallet/overview"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export function CreateEcosystemForm(props: {
</FormControl>
<FormDescription>
<UnderlineLink
href="https://portal.thirdweb.com/connect/wallet/ecosystem/permissions"
href="https://portal.thirdweb.com/wallets/ecosystem-wallet/permissions"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function AAFooter() {
left={{
links: [
{
href: "https://portal.thirdweb.com/connect/account-abstraction/overview",
href: "https://portal.thirdweb.com/wallets/account-abstraction/overview",
label: "Overview",
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function YourFactoriesSection(props: {
<p className="text-muted-foreground text-sm">
Deploy your own account factories to create smart wallets.{" "}
<UnderlineLink
href="https://portal.thirdweb.com/connect/account-abstraction/factories"
href="https://portal.thirdweb.com/wallets/account-abstraction/factories"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ async function AsyncAppHighlightsCard(props: {

return (
<EmptyStateCard
link="https://portal.thirdweb.com/connect/quickstart"
link="https://portal.thirdweb.com/wallets/quickstart"
metric="Wallets"
/>
);
Expand All @@ -395,7 +395,7 @@ async function AsyncWalletDistributionCard(props: {
<WalletDistributionCard data={walletConnections} />
) : (
<EmptyStateCard
link="https://portal.thirdweb.com/connect/quickstart"
link="https://portal.thirdweb.com/wallets/quickstart"
metric="Wallets"
/>
);
Expand Down Expand Up @@ -436,7 +436,7 @@ function AppHighlightsCard({
emptyContent: (
<EmptyStateContent
description="Onramp, swap, and bridge with thirdweb's Universal Bridge."
link="https://portal.thirdweb.com/connect/pay/overview"
link="https://portal.thirdweb.com/payments"
metric="Payments"
/>
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function PayEmbedFTUX(props: {
<Button asChild size="sm" variant="outline">
<Link
className="gap-2"
href="https://portal.thirdweb.com/pay"
href="https://portal.thirdweb.com/payments"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default async function Layout(props: {
cryptocurrencies and execute transactions with any fiat options or
tokens via cross-chain routing.{" "}
<UnderlineLink
href="https://portal.thirdweb.com/pay"
href="https://portal.thirdweb.com/payments"
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -105,7 +105,7 @@ function UBFooter() {
left={{
links: [
{
href: "https://portal.thirdweb.com/connect/pay/overview",
href: "https://portal.thirdweb.com/payments",
label: "Overview",
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default async function Page(props: {
</div>
<a
className="inline-flex items-center gap-2 rounded-md bg-green-600 px-4 py-2 font-medium text-sm text-white transition-all hover:bg-green-600/90 hover:shadow-sm"
href="https://portal.thirdweb.com/pay"
href="https://portal.thirdweb.com/payments"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const PayConfig: React.FC<PayConfigProps> = (props) => {
may set your own developer fee in addition to this fee.{" "}
<Link
className="text-link-foreground hover:text-foreground"
href="https://portal.thirdweb.com/connect/pay/fee-sharing"
href="https://portal.thirdweb.com/payments/fee-sharing"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default async function Page(props: {
<p className="text-muted-foreground text-sm">
Get notified for Bridge, Swap and Onramp events.{" "}
<UnderlineLink
href="https://portal.thirdweb.com/pay/webhooks"
href="https://portal.thirdweb.com/payments/webhooks"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function InAppWalletsFooter() {
label: "Pre-generate wallets for users",
},
{
href: "https://portal.thirdweb.com/connect/wallet/sign-in-methods/guest",
href: "https://portal.thirdweb.com/wallets/wallet/sign-in-methods/guest",
label: "Sign-in with guest mode",
},
],
Expand All @@ -27,7 +27,7 @@ export function InAppWalletsFooter() {
left={{
links: [
{
href: "https://portal.thirdweb.com/connect/wallet/overview",
href: "https://portal.thirdweb.com/wallets/wallet/overview",
label: "Overview",
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export async function InAppWalletsHeader() {
their users wallets. <br /> Email login, social login, and
bring-your-own auth supported.{" "}
<UnderlineLink
href="https://portal.thirdweb.com/connect/in-app-wallet/overview"
href="https://portal.thirdweb.com/wallets/in-app-wallet/overview"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ function JSONWebTokenFields(props: {
Optionally allow users to authenticate with a custom JWT.{" "}
<Link
className="text-link-foreground hover:text-foreground"
href="https://portal.thirdweb.com/connect/in-app-wallet/custom-auth/custom-jwt-auth-server"
href="https://portal.thirdweb.com/wallets/in-app-wallet/custom-auth/custom-jwt-auth-server"
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -609,7 +609,7 @@ function AuthEndpointFields(props: {
that you provide.{" "}
<Link
className="text-link-foreground hover:text-foreground"
href="https://portal.thirdweb.com/connect/in-app-wallet/custom-auth/custom-auth-server"
href="https://portal.thirdweb.com/wallets/in-app-wallet/custom-auth/custom-auth-server"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default async function Page(props: {
<p className="text-muted-foreground text-sm">
Get notified for Bridge, Swap and Onramp events.{" "}
<UnderlineLink
href="https://portal.thirdweb.com/pay/webhooks"
href="https://portal.thirdweb.com/payments/webhooks"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function EmptyState() {
<div className="flex gap-2">
<Button asChild className="min-w-36" variant="primary">
<Link
href="https://portal.thirdweb.com/connect"
href="https://portal.thirdweb.com/wallets"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/app/bridge/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default async function BridgePage({
</div>
<a
className="inline-flex items-center gap-2 rounded-md bg-green-600 px-4 py-2 font-medium text-sm text-white transition-all hover:bg-green-600/90 hover:shadow-sm"
href="https://portal.thirdweb.com/pay"
href="https://portal.thirdweb.com/payments"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
50 changes: 24 additions & 26 deletions apps/portal/redirects.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ const walletRedirects = {
"/wallet/zerion-wallet": "/references/wallets/v2/ZerionWallet",
};

const paymentRedirects = {
const _paymentRedirects = {
"/checkouts": "/payments",
"/checkouts/api-reference": "/payments/nft-checkout/api-reference",
"/checkouts/checkout-link": "/payments/nft-checkout/checkout-link",
Expand All @@ -732,15 +732,6 @@ const paymentRedirects = {
"/connect/in-app-wallet/guides/get-in-app-wallet-details-on-server":
"/connect/in-app-wallet/guides/get-user-details",
"/connect/in-app-wallet/how-it-works": "/connect/in-app-wallet/security",
"/connect/pay/build-a-custom-experience":
"/connect/pay/guides/build-a-custom-experience",
"/connect/pay/buy-with-crypto": "/connect/pay/overview",
"/connect/pay/buy-with-crypto/fee-sharing": "/connect/pay/fee-sharing",
"/connect/pay/buy-with-crypto/overview": "/connect/pay/overview",
"/connect/pay/buy-with-fiat": "/connect/pay/overview",
"/connect/pay/enable-test-mode": "/connect/pay/guides/enable-test-mode",
"/connect/pay/guides/enable-test-mode": "/connect/pay/testing-pay",
"/payments/:match*": "/connect/pay/overview",
};

const contractRedirects = {
Expand Down Expand Up @@ -914,6 +905,8 @@ const glossaryRedirects = {

const otherRedirects = {
"/api-keys": "/account/api-keys",
// wallets > connect redirects
"/connect": "/wallets",
"/connect/account-abstraction": "/connect/account-abstraction/overview",
// connect
"/connect/connect": "/connect/sign-in",
Expand Down Expand Up @@ -1013,8 +1006,6 @@ const otherRedirects = {
"/unity/wallets/providers/smart-wallet":
"/unity/wallets/providers/account-abstraction",
"/wallet/get-started/overview": "/connect/wallet/overview",
// wallets > connect redirects
"/wallets": "/connect",
"/wallets/auth/:path*": "/connect/auth/:path*",
"/wallets/connect/:path*": "/connect/connect/:path*",
"/wallets/embedded-wallet/:path*": "/connect/embedded-wallet/:path*",
Expand Down Expand Up @@ -1047,24 +1038,31 @@ const v4ToV5Redirects = {
};

const payRedirects = {
"/connect/pay": "/payments",
"/connect/pay/:path*": "/payments/:path*",

// Specific redirects for known paths
"/connect/pay/customization/connectbutton":
"/pay/customization/connectbutton",
"/connect/pay/customization/payembed": "/pay/customization/payembed",
"/payments/customization/connectbutton",
"/connect/pay/customization/payembed": "/payments/customization/payembed",
"/connect/pay/customization/send-transaction":
"/pay/customization/send-transaction",
"/connect/pay/faqs": "/pay/faqs",
"/connect/pay/fees": "/pay/fees",
"/connect/pay/get-started": "/pay/get-started",
"/payments/customization/send-transaction",
"/connect/pay/faqs": "/payments/faqs",
"/connect/pay/fees": "/payments/fees",
"/connect/pay/get-started": "/payments/get-started",
"/connect/pay/guides/accept-direct-payments":
"/pay/guides/accept-direct-payments",
"/payments/guides/accept-direct-payments",
"/connect/pay/guides/build-a-custom-experience":
"/pay/guides/build-a-custom-experience",
"/payments/guides/build-a-custom-experience",
"/connect/pay/guides/cross-chain-swapping":
"/pay/guides/cross-chain-swapping",
"/connect/pay/onramp-providers": "/pay/onramp-providers",
"/connect/pay/overview": "/pay",
"/connect/pay/testing-pay": "/pay/testing-pay",
"/connect/pay/webhooks": "/pay/webhooks",
"/payments/guides/cross-chain-swapping",
"/connect/pay/onramp-providers": "/payments/onramp-providers",
"/connect/pay/overview": "/payments",
"/connect/pay/testing-pay": "/payments/testing-pay",
"/connect/pay/webhooks": "/payments/webhooks",
// General redirects for /pay and /connect/pay
"/pay": "/payments",
"/pay/:path*": "/payments/:path*",
};

/**
Expand All @@ -1079,7 +1077,7 @@ export const redirects = async () => {
...createRedirects(reactNativeRedirects),
...createRedirects(unityRedirects),
...createRedirects(walletRedirects),
...createRedirects(paymentRedirects),
// ...createRedirects(paymentRedirects),
...createRedirects(infrastructureRedirects),
...createRedirects(contractRedirects),
...createRedirects(otherRedirects),
Expand Down
Loading