import { type ReactNode } from 'react'; import { Head } from '@inertiajs/react'; import NavGuestLayout from '@/layouts/nav-guest-layout'; import { Footer } from '@/components/footer'; interface Props { title: string; description?: string; children: ReactNode; } export function LegalLayout({ title, description, children }: Props) { return ( <>

{title}

{description && (

{description}

)}
{children}
); }