1+ import { Button } from "@/components/ui/button" ;
2+ import { FileCode2Icon , MessageSquareQuoteIcon } from "lucide-react" ;
3+ import Link from "next/link" ;
14import {
25 ResponsiveSearchParamsProvider ,
36 ResponsiveSuspense ,
@@ -20,17 +23,32 @@ export function NebulaAnalyticsPage(props: {
2023 return (
2124 < ResponsiveSearchParamsProvider value = { props . searchParams } >
2225 < 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 >
2843 </ div >
29- < NebulaAnalyticsFilter />
3044 </ div >
3145 </ header >
3246
3347 < 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 >
3452 < ResponsiveSuspense
3553 searchParamsUsed = { [ "from" , "to" , "interval" ] }
3654 fallback = { < NebulaAnalyticsDashboardUI data = { [ ] } isPending = { true } /> }
0 commit comments