{footer}
}
import type { ReactNode } from 'react'; import { Logo } from '../shared/ui/ui'; import { LanguageSwitch } from '../widgets/LanguageSwitch'; import { WaveButton } from '../widgets/wave/WaveButton'; import s from './auth.module.css'; /** Экран без каркаса: декоративная волна и стеклянная карточка по центру. */ export function AuthLayout({ children, footer }: { children: ReactNode; footer?: ReactNode }) { const theme = typeof document !== 'undefined' && document.documentElement.dataset.theme === 'light' ? 'light' : 'dark'; return (