import { Html } from '@elysiajs/html'; import type { Children } from '@kitajs/html'; export default function RootLayout({ title, authed, wide, children }: { title?: string; authed: boolean; // Bumps the main column to 6xl for pages with wide data tables // (e.g. accounts). Defaults to the standard 4xl reading column. wide?: boolean; children: Children; }) { const mainClass = wide ? 'max-w-6xl w-full px-6 py-8 flex flex-col gap-6' : 'max-w-4xl w-full px-6 py-8 flex flex-col gap-6'; const navInnerClass = wide ? 'max-w-6xl mx-auto w-full px-6 py-4 flex flex-row items-center gap-6' : 'max-w-4xl mx-auto w-full px-6 py-4 flex flex-row items-center gap-6'; return (