Skip to content

Commit dc49683

Browse files
committed
removed next steps chainlist page (#7443)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on removing unused components and updating product descriptions in the `page.tsx` and `products.ts` files. ### Detailed summary - Deleted `NextSteps` and `ClaimChainSection` components from `page.tsx`. - Removed related JSX comments in `page.tsx`. - Updated product descriptions and names in `products.ts`: - Changed "Pre-built contracts & deployment tools" to "Create, deploy and manage smart contracts". - Changed "Client-side SDKs for wallets and blockchain interactions" to "Create and manage crypto wallets". - Changed "Engine" to "Transactions". - Changed "Account factory contracts, bundler & paymaster" to "Enable gas sponsorship for seamless transactions". - Changed "Point of sale solution for bridging, onramping & swapping" to "Enable payments in any token on any chain". - Changed "Query, transform and analyze blockchain data" to "Query and analyze blockchain data". > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Removed the "Next Steps" and "Claim Chain" sections from the chain page, including related external links and prompts. * **Documentation** * Updated product names and descriptions to use clearer, more user-focused language for better understanding of features. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 3049638 commit dc49683

File tree

4 files changed

+8
-83
lines changed

4 files changed

+8
-83
lines changed

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/NextSteps.tsx

Lines changed: 0 additions & 37 deletions
This file was deleted.

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/ClaimChainSection.tsx

Lines changed: 0 additions & 31 deletions
This file was deleted.

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/(chainPage)/page.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import { getClientThirdwebClient } from "@/constants/thirdweb-client.client";
33
import { getRawAccount } from "../../../../account/settings/getAccount";
44
import { getChain, getChainMetadata } from "../../utils";
55
import { BuyFundsSection } from "./components/client/BuyFundsSection";
6-
import NextSteps from "./components/client/NextSteps";
76
import { ChainOverviewSection } from "./components/server/ChainOverviewSection";
8-
import { ClaimChainSection } from "./components/server/ClaimChainSection";
97
import { ChainCTA } from "./components/server/cta-card";
108
import { ExplorersSection } from "./components/server/explorer-section";
119
import { FaucetSection } from "./components/server/FaucetSection";
@@ -60,11 +58,6 @@ export default async function Page(props: {
6058
{chain.services.filter((s) => s.enabled).length > 0 && (
6159
<SupportedProductsSection services={chain.services} />
6260
)}
63-
{/*Next Steps */}
64-
<NextSteps chain={chain} />
65-
66-
{/* Claim Chain */}
67-
{!chainMetadata && <ClaimChainSection />}
6861
</div>
6962
);
7063
}

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ import type { ChainSupportedService } from "@/types/chain";
1010

1111
export const products = [
1212
{
13-
description: "Pre-built contracts & deployment tools",
13+
description: "Create, deploy and manage smart contracts",
1414
icon: ContractIcon,
1515
id: "contracts",
1616
link: "https://thirdweb.com/explore",
1717
name: "Contracts",
1818
},
1919
{
20-
description: "Client-side SDKs for wallets and blockchain interactions",
20+
description: "Create and manage crypto wallets",
2121
icon: ConnectSDKIcon,
2222
id: "connect-sdk",
2323
link: "https://thirdweb.com/connect",
24-
name: "Connect SDK",
24+
name: "Wallets",
2525
},
2626
{
2727
description: "Performant and scalable RPC service",
@@ -35,24 +35,24 @@ export const products = [
3535
icon: EngineIcon,
3636
id: "engine",
3737
link: "https://thirdweb.com/engine",
38-
name: "Engine",
38+
name: "Transactions",
3939
},
4040
{
41-
description: "Account factory contracts, bundler & paymaster",
41+
description: "Enable gas sponsorship for seamless transactions",
4242
icon: SmartAccountIcon,
4343
id: "account-abstraction",
4444
link: "https://portal.thirdweb.com/connect/account-abstraction/overview",
4545
name: "Account Abstraction",
4646
},
4747
{
48-
description: "Point of sale solution for bridging, onramping & swapping",
48+
description: "Enable payments in any token on any chain",
4949
icon: PayIcon,
5050
id: "pay",
5151
link: "https://portal.thirdweb.com/connect/pay/overview",
52-
name: "Universal Bridge",
52+
name: "Payments",
5353
},
5454
{
55-
description: "Query, transform and analyze blockchain data",
55+
description: "Query and analyze blockchain data",
5656
icon: InsightIcon,
5757
id: "insight",
5858
link: "https://thirdweb.com/insight",

0 commit comments

Comments
 (0)