File tree Expand file tree Collapse file tree 19 files changed +141
-217
lines changed
(dashboard)/(chain)/components/server Expand file tree Collapse file tree 19 files changed +141
-217
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,16 @@ const projectPageRedirects = [
115115 permanent : false ,
116116 source : `${ projectRoute } /connect/analytics` ,
117117 } ,
118+ {
119+ destination : `${ projectRoute } /insight/:path*` ,
120+ permanent : false ,
121+ source : `${ projectRoute } /gateway/indexer/:path*` ,
122+ } ,
123+ {
124+ destination : `${ projectRoute } /rpc/:path*` ,
125+ permanent : false ,
126+ source : `${ projectRoute } /gateway/rpc/:path*` ,
127+ } ,
118128] ;
119129
120130const teamPageRedirects = [
Original file line number Diff line number Diff line change 11import { ConnectSDKIcon } from "@/icons/ConnectSDKIcon" ;
22import { ContractIcon } from "@/icons/ContractIcon" ;
33import { EngineIcon } from "@/icons/EngineIcon" ;
4- import { InsightIcon } from "@/icons/InsightIcon" ;
54import { NebulaIcon } from "@/icons/NebulaIcon" ;
65import { PayIcon } from "@/icons/PayIcon" ;
76import { RPCIcon } from "@/icons/RPCIcon" ;
@@ -51,13 +50,6 @@ export const products = [
5150 link : "https://portal.thirdweb.com/payments" ,
5251 name : "Payments" ,
5352 } ,
54- {
55- description : "Query and analyze blockchain data" ,
56- icon : InsightIcon ,
57- id : "insight" ,
58- link : "https://thirdweb.com/insight" ,
59- name : "Insight" ,
60- } ,
6153 {
6254 description : "The most powerful AI for interacting with the blockchain" ,
6355 icon : NebulaIcon ,
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import { TypeScriptIcon } from "@/icons/brand-icons/TypeScriptIcon";
1313import { UnityIcon } from "@/icons/brand-icons/UnityIcon" ;
1414import { UnrealIcon } from "@/icons/brand-icons/UnrealIcon" ;
1515import { ContractIcon } from "@/icons/ContractIcon" ;
16- import { InsightIcon } from "@/icons/InsightIcon" ;
1716import { PayIcon } from "@/icons/PayIcon" ;
1817import { ClientIDSection } from "./ClientIDSection" ;
1918import { SecretKeySection } from "./SecretKeySection" ;
@@ -111,13 +110,6 @@ function ProductsSection(props: { teamSlug: string; projectSlug: string }) {
111110 icon : ContractIcon ,
112111 title : "Contracts" ,
113112 } ,
114- {
115- description :
116- "Add indexing capabilities to retrieve real-time onchain data" ,
117- href : `/team/${ props . teamSlug } /${ props . projectSlug } /insight` ,
118- icon : InsightIcon ,
119- title : "Insight" ,
120- } ,
121113 {
122114 description :
123115 "Bridge, swap, and purchase cryptocurrencies with any fiat options or tokens via cross-chain routing" ,
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import {
1515} from "@/components/blocks/full-width-sidebar-layout" ;
1616import { BridgeIcon } from "@/icons/BridgeIcon" ;
1717import { ContractIcon } from "@/icons/ContractIcon" ;
18- import { InsightIcon } from "@/icons/InsightIcon" ;
1918import { NebulaIcon } from "@/icons/NebulaIcon" ;
2019import { PayIcon } from "@/icons/PayIcon" ;
2120import { TokenIcon } from "@/icons/TokenIcon" ;
@@ -104,14 +103,20 @@ export function ProjectSidebarLayout(props: {
104103 group : "Scale" ,
105104 links : [
106105 {
107- href : `${ props . layoutPath } /insight` ,
108- icon : InsightIcon ,
109- label : "Insight" ,
110- } ,
111- {
112- href : `${ props . layoutPath } /rpc` ,
113- icon : RssIcon ,
114- label : "RPC" ,
106+ subMenu : {
107+ icon : RssIcon ,
108+ label : "Gateway" ,
109+ } ,
110+ links : [
111+ {
112+ href : `${ props . layoutPath } /gateway/rpc` ,
113+ label : "RPC" ,
114+ } ,
115+ {
116+ href : `${ props . layoutPath } /gateway/indexer` ,
117+ label : "Indexer" ,
118+ } ,
119+ ] ,
115120 } ,
116121 // linkely want to move this to `team` level eventually
117122 {
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {
1313 TableHeader ,
1414 TableRow ,
1515} from "@/components/ui/table" ;
16- import { CardHeading } from "../../payments/components/common" ;
16+ import { CardHeading } from "../../../ payments/components/common" ;
1717
1818export function TopInsightChainsTable ( props : {
1919 data : InsightChainStats [ ] ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {
1313 TableHeader ,
1414 TableRow ,
1515} from "@/components/ui/table" ;
16- import { CardHeading } from "../../payments/components/common" ;
16+ import { CardHeading } from "../../../ payments/components/common" ;
1717
1818export function TopInsightEndpointsTable ( props : {
1919 data : InsightEndpointStats [ ] ;
Original file line number Diff line number Diff line change 1+ export function InsightFTUX ( _props : { clientId : string } ) {
2+ return (
3+ < div className = "rounded-lg border bg-card" >
4+ < div className = "border-b px-4 py-4 lg:px-6" >
5+ < h2 className = "font-semibold text-xl tracking-tight" > Indexer</ h2 >
6+ </ div >
7+ < div className = "px-4 py-6 lg:p-6" >
8+ < p className = "text-muted-foreground text-sm" >
9+ Indexed data is automatially used when using the thirdweb SDKs and API
10+ where appropriate.
11+ </ p >
12+ < p className = "text-muted-foreground text-sm" >
13+ Once you have integrated thirdweb into your application you will start
14+ seeing usage patterns here.
15+ </ p >
16+ </ div >
17+ < div className = "flex flex-col gap-3 border-t p-4 lg:flex-row lg:items-center lg:justify-between lg:p-6" >
18+ < div className = "flex gap-3" > </ div >
19+
20+ < p className = "flex items-center gap-2 rounded-full border bg-background px-3.5 py-1.5 text-sm" >
21+ < span className = "!pointer-events-auto relative flex size-2" >
22+ < span className = "absolute inline-flex h-full w-full animate-ping rounded-full bg-sky-400 opacity-75" />
23+ < span className = "relative inline-flex size-2 rounded-full bg-primary" />
24+ </ span >
25+ Waiting for integration
26+ </ p >
27+ </ div >
28+ </ div >
29+ ) ;
30+ }
You can’t perform that action at this time.
0 commit comments