@@ -2,15 +2,14 @@ import { getTeams } from "@/api/team";
2
2
import { Button } from "@/components/ui/button" ;
3
3
import { Card , CardContent , CardHeader , CardTitle } from "@/components/ui/card" ;
4
4
import { BookOpenIcon , ChevronRightIcon } from "lucide-react" ;
5
+ import { HomeIcon , WalletIcon } from "lucide-react" ;
5
6
import type { Metadata } from "next" ;
6
7
import Link from "next/link" ;
7
- import { BridgeIcon } from "../../../../../../portal/src/icons/products/BridgeIcon" ;
8
- import { ConnectIcon } from "../../../../../../portal/src/icons/products/ConnectIcon" ;
9
- import { EngineIcon } from "../../../../../../portal/src/icons/products/EngineIcon" ;
10
- import { InsightIcon } from "../../../../../../portal/src/icons/products/InsightIcon" ;
11
- import { NebulaIcon } from "../../../../../../portal/src/icons/products/NebulaIcon" ;
12
- import { PlaygroundIcon } from "../../../../../../portal/src/icons/products/PlaygroundIcon" ;
8
+ import { EngineIcon } from "../../(dashboard)/(chain)/components/server/icons/EngineIcon" ;
9
+ import { InsightIcon } from "../../(dashboard)/(chain)/components/server/icons/InsightIcon" ;
10
+ import { PayIcon } from "../../(dashboard)/(chain)/components/server/icons/PayIcon" ;
13
11
import { CustomChatButton } from "../../../nebula-app/(app)/components/CustomChat/CustomChatButton" ;
12
+ import { NebulaIcon } from "../../../nebula-app/(app)/icons/NebulaIcon" ;
14
13
import {
15
14
getAuthToken ,
16
15
getAuthTokenWalletAddress ,
@@ -25,64 +24,40 @@ export const metadata: Metadata = {
25
24
const HELP_PRODUCTS = [
26
25
{
27
26
title : "Playground" ,
28
- icon : PlaygroundIcon ,
27
+ icon : HomeIcon ,
29
28
viewAllUrl :
30
29
"https://playground.thirdweb.com/connect/sign-in/button?tab=code" ,
31
- helpArticles : [
32
- {
33
- title : "Try out our interactive playground to get started" ,
34
- } ,
35
- ] ,
30
+ description : "Try out our interactive playground to get started" ,
36
31
} ,
37
32
{
38
33
title : "Connect" ,
39
- icon : ConnectIcon ,
34
+ icon : WalletIcon ,
40
35
viewAllUrl : "https://portal.thirdweb.com/connect" ,
41
- helpArticles : [
42
- {
43
- title : "Wallets, auth, and onchain interactions" ,
44
- } ,
45
- ] ,
36
+ description : "Wallets, auth, and onchain interactions" ,
46
37
} ,
47
38
{
48
39
title : "Universal Bridge" ,
49
- icon : BridgeIcon ,
40
+ icon : PayIcon ,
50
41
viewAllUrl : "https://portal.thirdweb.com/pay" ,
51
- helpArticles : [
52
- {
53
- title : "Bridge and onramp tokens on any chain" ,
54
- } ,
55
- ] ,
42
+ description : "Bridge and onramp tokens on any chain" ,
56
43
} ,
57
44
{
58
45
title : "Engine" ,
59
46
icon : EngineIcon ,
60
47
viewAllUrl : "https://portal.thirdweb.com/engine/v3" ,
61
- helpArticles : [
62
- {
63
- title : "Reliable transactions and monitoring" ,
64
- } ,
65
- ] ,
48
+ description : "Reliable transactions and monitoring" ,
66
49
} ,
67
50
{
68
51
title : "Insight" ,
69
52
icon : InsightIcon ,
70
53
viewAllUrl : "https://portal.thirdweb.com/insight" ,
71
- helpArticles : [
72
- {
73
- title : "Blockchain data queries and transformations" ,
74
- } ,
75
- ] ,
54
+ description : "Blockchain data queries and transformations" ,
76
55
} ,
77
56
{
78
57
title : "Nebula" ,
79
58
icon : NebulaIcon ,
80
59
viewAllUrl : "https://portal.thirdweb.com/nebula" ,
81
- helpArticles : [
82
- {
83
- title : "API interface for LLMs" ,
84
- } ,
85
- ] ,
60
+ description : "API interface for LLMs" ,
86
61
} ,
87
62
] as const ;
88
63
@@ -169,16 +144,12 @@ export default async function SupportPage() {
169
144
</ Button >
170
145
</ CardHeader >
171
146
172
- < CardContent >
173
- < ul className = "flex flex-col gap-1" >
174
- { product . helpArticles . map ( ( article ) => (
175
- < li key = { article . title } >
176
- < span className = "text-muted-foreground text-sm" >
177
- { article . title }
178
- </ span >
179
- </ li >
180
- ) ) }
181
- </ ul >
147
+ < CardContent key = { product . description } >
148
+ { product . description && (
149
+ < p className = "mb-2 text-muted-foreground text-sm" >
150
+ { product . description }
151
+ </ p >
152
+ ) }
182
153
</ CardContent >
183
154
</ Card >
184
155
) ) }
0 commit comments