File tree Expand file tree Collapse file tree 1 file changed +33
-3
lines changed
src/app/dashboards/norm-atlas Expand file tree Collapse file tree 1 file changed +33
-3
lines changed Original file line number Diff line number Diff line change 11import { getNormAtlasCSVData } from "@/lib/data/csvUtils" ;
22import Atlas from "./atlas" ;
3+ import {
4+ Tabs ,
5+ TabsTrigger ,
6+ TabsList ,
7+ TabsContent ,
8+ } from "@/components/ui/tabs-modified" ;
9+ import AntibioticResistanceAndDiseasesDashboards3 from "../antibiotic-resistance-and-diseases-dashboards-4/page" ;
310
411export default async function NormAtlas ( ) {
512 const data = await getNormAtlasCSVData ( ) ;
613
714 return (
8- < div className = "-mx-[calc((100vw-75vw)/2)] w-screen pl-2 pr-16" >
9- < Atlas data = { data } />
10- </ div >
15+ < Tabs defaultValue = "atlas" className = "w-full" >
16+ < TabsList variant = "underline" >
17+ < TabsTrigger
18+ value = "atlas"
19+ variant = "underline"
20+ className = "text-lg font-semibold text-gray-500 hover:text-foreground"
21+ >
22+ Atlas
23+ </ TabsTrigger >
24+ < TabsTrigger
25+ value = "trends"
26+ variant = "underline"
27+ className = "text-lg font-semibold text-gray-500 hover:text-foreground"
28+ >
29+ Trends
30+ </ TabsTrigger >
31+ </ TabsList >
32+ < TabsContent value = "atlas" >
33+ < div className = "-mx-[calc((100vw-75vw)/2)] mt-10 w-screen pl-2 pr-16" >
34+ < Atlas data = { data } />
35+ </ div >
36+ </ TabsContent >
37+ < TabsContent value = "trends" className = "mt-10" >
38+ < AntibioticResistanceAndDiseasesDashboards3 />
39+ </ TabsContent >
40+ </ Tabs >
1141 ) ;
1242}
You can’t perform that action at this time.
0 commit comments