'use client'; import { Column } from '@umami/react-zen'; import { Panel } from '@/components/common/Panel'; import { useNavigation } from '@/components/hooks'; import { WebsiteChart } from './WebsiteChart'; import { WebsiteExpandedView } from './WebsiteExpandedView'; import { WebsiteMetricsBar } from './WebsiteMetricsBar'; import { WebsiteTableView } from './WebsiteTableView'; import { WebsiteCompareTables } from './WebsiteCompareTables'; import { WebsiteControls } from './WebsiteControls'; export function WebsiteDetailsPage({ websiteId }: { websiteId: string }) { const { query: { view, compare }, } = useNavigation(); return ( {!view && !compare && } {view && !compare && } {compare && } ); }