import { Metadata, ResolvingMetadata } from 'next' import { AppSidebar } from '@/app/app-sidebar' import { MapComponent } from '@/components/map-component'; import { Timeline } from '@/app/tl'; import { WSProvider } from './ws-context' import StatusBar from './status-bar' import { getSiteConfigs } from '@/lib/fetchers'; type Props = { params: Promise<{ id: string }> searchParams: Promise<{ [key: string]: string | string[] | undefined }> } export async function generateMetadata( { params, searchParams }: Props, parent: ResolvingMetadata ): Promise { const siteConfigs = await getSiteConfigs(); return { title: siteConfigs.find((config: any) => config.key === 'site.name')?.value ?? "LiDAR", description: siteConfigs.find((config: any) => config.key === 'site.description')?.value ?? "LiDAR for Radar", } } export default function Page() { return (
{/* Sidebar - hidden on screens smaller than lg (1024px) */}
{/* Timeline with responsive layout - single row on desktop, double row on mobile */}
) }