import type { ReactNode } from 'react'; import { useConfig } from '@/lib/session'; import { LogoMark, VersionTag } from './brand'; /** The calm, centered frame for setup, sign-in and the first password change. */ export function AuthLayout({ title, subtitle, children }: { title: string; subtitle?: ReactNode; children: ReactNode }) { const { data } = useConfig(); return (
{subtitle}
: null}{message}
); }