1
+ import { Button } from "@/components/ui/button" ;
2
+ import { FileCode2Icon , MessageSquareQuoteIcon } from "lucide-react" ;
3
+ import Link from "next/link" ;
1
4
import {
2
5
ResponsiveSearchParamsProvider ,
3
6
ResponsiveSuspense ,
@@ -20,17 +23,32 @@ export function NebulaAnalyticsPage(props: {
20
23
return (
21
24
< ResponsiveSearchParamsProvider value = { props . searchParams } >
22
25
< header className = "border-b" >
23
- < div className = "container flex flex-col items-start gap-3 py-10 md:flex-row md:items-center" >
24
- < div className = "flex-1" >
25
- < h1 className = "font-semibold text-2xl tracking-tight md:text-3xl" >
26
- Nebula
27
- </ h1 >
26
+ < div className = "container flex flex-col items-start gap-4 py-10 md:flex-row md:items-center md:justify-between" >
27
+ < h1 className = "font-semibold text-3xl tracking-tight" > Nebula</ h1 >
28
+
29
+ < div className = "flex gap-3" >
30
+ < Button variant = "outline" className = "gap-2 bg-card" asChild >
31
+ < Link href = "https://nebula.thirdweb.com" target = "_blank" >
32
+ < MessageSquareQuoteIcon className = "size-4 text-muted-foreground" />
33
+ Playground
34
+ </ Link >
35
+ </ Button >
36
+
37
+ < Button variant = "outline" className = "gap-2 bg-card" asChild >
38
+ < Link href = "https://portal.thirdweb.com/nebula" target = "_blank" >
39
+ < FileCode2Icon className = "size-4 text-muted-foreground" />
40
+ API Reference
41
+ </ Link >
42
+ </ Button >
28
43
</ div >
29
- < NebulaAnalyticsFilter />
30
44
</ div >
31
45
</ header >
32
46
33
47
< div className = "container pt-8 pb-20" >
48
+ < div className = "mb-4 flex flex-col justify-between gap-3 md:flex-row md:items-end" >
49
+ < h2 className = "font-semibold text-2xl tracking-tight" > Analytics</ h2 >
50
+ < NebulaAnalyticsFilter />
51
+ </ div >
34
52
< ResponsiveSuspense
35
53
searchParamsUsed = { [ "from" , "to" , "interval" ] }
36
54
fallback = { < NebulaAnalyticsDashboardUI data = { [ ] } isPending = { true } /> }
0 commit comments