import Head from 'next/head'; import Link from 'next/link'; import { useRouter } from 'next/router'; import { ReactNode } from 'react'; const LINKS = [ { href: '/', label: 'Overview' }, { href: '/papers', label: 'Papers' }, { href: '/landscape', label: 'Landscape' }, { href: '/contents', label: 'Contents' }, ]; export default function Layout({ title, children }: { title?: string; children: ReactNode }) { const { pathname } = useRouter(); return ( <> {title ? `${title} ยท LLM Survey 2026` : 'LLM Research Survey 2026'}
{children}
); }