Skip to content

Commit 9e72209

Browse files
committed
Dashboard: Update outdated Portal links
1 parent 859290f commit 9e72209

File tree

17 files changed

+57
-83
lines changed

17 files changed

+57
-83
lines changed

apps/dashboard/src/@/components/contracts/code-overview.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
formatAbiItem,
77
} from "abitype";
88
import { CircleAlertIcon } from "lucide-react";
9-
import Link from "next/link";
109
import { useSearchParams } from "next/navigation";
1110
import { useMemo, useState } from "react";
1211
import * as ERC20Ext from "thirdweb/extensions/erc20";
@@ -882,14 +881,13 @@ function AccountFactorySection(props: {
882881
<AlertTitle>Account Factory</AlertTitle>
883882
<AlertDescription>
884883
The recommended way to use account factories is to integrate the{" "}
885-
<Link
886-
className="text-primary-500 underline hover:text-primary-600"
887-
href="https://portal.thirdweb.com/connect/account-abstraction/overview"
884+
<UnderlineLink
885+
href="https://portal.thirdweb.com/transactions/sponsor"
888886
rel="noopener noreferrer"
889887
target="_blank"
890888
>
891889
thirdweb SDK
892-
</Link>{" "}
890+
</UnderlineLink>{" "}
893891
in your applications. This will ensure account contracts are
894892
deployed for your users only when they need it.
895893
</AlertDescription>

apps/dashboard/src/app/(app)/(dashboard)/(chain)/components/server/products.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ export const products = [
4141
description: "Enable gas sponsorship for seamless transactions",
4242
icon: SmartAccountIcon,
4343
id: "account-abstraction",
44-
link: "https://portal.thirdweb.com/connect/account-abstraction/overview",
44+
link: "https://portal.thirdweb.com/wallets/sponsor-gas",
4545
name: "Account Abstraction",
4646
},
4747
{
4848
description: "Enable payments in any token on any chain",
4949
icon: PayIcon,
5050
id: "pay",
51-
link: "https://portal.thirdweb.com/connect/pay/overview",
51+
link: "https://portal.thirdweb.com/payments",
5252
name: "Payments",
5353
},
5454
{

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/analytics/page.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ async function AsyncAppHighlightsCard(props: {
168168

169169
return (
170170
<EmptyStateCard
171-
link="https://portal.thirdweb.com/connect/quickstart"
171+
link="https://portal.thirdweb.com/wallets"
172172
metric="Wallets"
173173
/>
174174
);
@@ -189,7 +189,7 @@ async function AsyncWalletDistributionCard(props: {
189189
<WalletDistributionCard data={walletConnections} />
190190
) : (
191191
<EmptyStateCard
192-
link="https://portal.thirdweb.com/connect/quickstart"
192+
link="https://portal.thirdweb.com/wallets"
193193
metric="Wallets"
194194
/>
195195
);
@@ -248,7 +248,7 @@ async function AsyncTransactionsChartCard(props: {
248248
/>
249249
) : (
250250
<EmptyStateCard
251-
link="https://portal.thirdweb.com/connect/quickstart"
251+
link="https://portal.thirdweb.com/wallets"
252252
metric="Wallets"
253253
/>
254254
);
@@ -355,7 +355,7 @@ function AppHighlightsCard({
355355
emptyContent: (
356356
<EmptyStateContent
357357
description="Your apps haven't collected any fees yet."
358-
link={"https://portal.thirdweb.com/connect/pay/fees"}
358+
link={"https://portal.thirdweb.com/payments"}
359359
metric="Fees"
360360
/>
361361
),
@@ -368,7 +368,7 @@ function AppHighlightsCard({
368368
emptyContent: (
369369
<EmptyStateContent
370370
description="Onramp, swap, and bridge with thirdweb's Payments."
371-
link="https://portal.thirdweb.com/connect/pay/overview"
371+
link="https://portal.thirdweb.com/payments"
372372
metric="Payments"
373373
/>
374374
),

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/ecosystem/[slug]/(active)/configuration/components/client/auth-options-form.client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ export function AuthOptionsForm({
391391
Enter the URL for your own authentication endpoint.{" "}
392392
<a
393393
className="underline"
394-
href="https://portal.thirdweb.com/connect/in-app-wallet/custom-auth/configuration#generic-auth"
394+
href="https://portal.thirdweb.com/wallets/custom-auth"
395395
>
396396
Learn more.
397397
</a>

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/ecosystem/create/EcosystemCreatePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export async function EcosystemCreatePage(props: {
1919
<br /> You can control which apps join your ecosystem and how their
2020
users interact with your wallet.{" "}
2121
<UnderlineLink
22-
href="https://portal.thirdweb.com/connect/ecosystems/overview"
22+
href="https://portal.thirdweb.com/wallets/ecosystem/set-up"
2323
rel="noopener noreferrer"
2424
target="_blank"
2525
>

apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/ecosystem/create/components/client/create-ecosystem-form.client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export function CreateEcosystemForm(props: {
167167
</FormControl>
168168
<FormDescription>
169169
<UnderlineLink
170-
href="https://portal.thirdweb.com/connect/wallet/ecosystem/permissions"
170+
href="https://portal.thirdweb.com/wallets/ecosystem/set-up#Set%20Ecosystem%20Permissions"
171171
rel="noopener noreferrer"
172172
target="_blank"
173173
>

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/account-abstraction/AAFooterSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function AAFooter() {
2323
left={{
2424
links: [
2525
{
26-
href: "https://portal.thirdweb.com/connect/account-abstraction/overview",
26+
href: "https://portal.thirdweb.com/wallets/sponsor-gas",
2727
label: "Overview",
2828
},
2929
{

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/account-abstraction/factories/page.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { getTeamBySlug } from "@/api/team";
1111
import { ClientOnly } from "@/components/blocks/client-only";
1212
import { GenericLoadingPage } from "@/components/blocks/skeletons/GenericLoadingPage";
1313
import { Button } from "@/components/ui/button";
14-
import { UnderlineLink } from "@/components/ui/UnderlineLink";
1514
import { getClientThirdwebClient } from "@/constants/thirdweb-client.client";
1615
import { serverThirdwebClient } from "@/constants/thirdweb-client.server";
1716
import { loginRedirect } from "@/utils/redirects";
@@ -80,13 +79,6 @@ function YourFactoriesSection(props: {
8079
</h3>
8180
<p className="text-muted-foreground text-sm">
8281
Deploy your own account factories to create smart wallets.{" "}
83-
<UnderlineLink
84-
href="https://portal.thirdweb.com/connect/account-abstraction/factories"
85-
rel="noopener noreferrer"
86-
target="_blank"
87-
>
88-
Learn more{" "}
89-
</UnderlineLink>
9082
</p>
9183
</div>
9284

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ async function AsyncAppHighlightsCard(props: {
373373

374374
return (
375375
<EmptyStateCard
376-
link="https://portal.thirdweb.com/connect/quickstart"
376+
link="https://portal.thirdweb.com/wallets"
377377
metric="Wallets"
378378
/>
379379
);
@@ -395,7 +395,7 @@ async function AsyncWalletDistributionCard(props: {
395395
<WalletDistributionCard data={walletConnections} />
396396
) : (
397397
<EmptyStateCard
398-
link="https://portal.thirdweb.com/connect/quickstart"
398+
link="https://portal.thirdweb.com/wallets"
399399
metric="Wallets"
400400
/>
401401
);
@@ -436,7 +436,7 @@ function AppHighlightsCard({
436436
emptyContent: (
437437
<EmptyStateContent
438438
description="Onramp, swap, and bridge with thirdweb's Payments."
439-
link="https://portal.thirdweb.com/connect/pay/overview"
439+
link="https://portal.thirdweb.com/payments"
440440
metric="Payments"
441441
/>
442442
),

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/payments/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function UBFooter() {
108108
left={{
109109
links: [
110110
{
111-
href: "https://portal.thirdweb.com/connect/pay/overview",
111+
href: "https://portal.thirdweb.com/payments",
112112
label: "Overview",
113113
},
114114
{

0 commit comments

Comments
 (0)