import { Link, usePage } from '@inertiajs/react'; import AppLogoIcon from '@/components/app-logo-icon'; import { useTranslation } from '@/lib/translations'; import { home } from '@/routes'; import type { AuthLayoutProps } from '@/types'; export default function AuthSplitLayout({ children, title, description, }: AuthLayoutProps) { const { name } = usePage().props; const { t } = useTranslation(); return (
{name}

{t(title ?? '')}

{t(description ?? '')}

{children}
); }