import Alert from '@mui/material/Alert'; import { useBoolean } from 'src/hooks/use-boolean'; import { CONFIG } from 'src/config-global'; import { stylesMode } from 'src/theme/styles'; import { Main } from './main'; import { HeaderBase } from '../core/header-base'; import { LayoutSection } from '../core/layout-section'; // ---------------------------------------------------------------------- export function AuthCenteredLayout({ sx, children }) { const mobileNavOpen = useBoolean(); const layoutQuery = 'md'; return ( This is an info Alert. ), }} slotProps={{ container: { maxWidth: false } }} sx={{ position: { [layoutQuery]: 'fixed' } }} /> } /** ************************************** * Footer *************************************** */ footerSection={null} /** ************************************** * Style *************************************** */ cssVars={{ '--layout-auth-content-width': '420px', }} sx={{ '&::before': { width: 1, height: 1, zIndex: 1, content: "''", opacity: 0.24, position: 'fixed', backgroundSize: 'cover', backgroundRepeat: 'no-repeat', backgroundPosition: 'center center', backgroundImage: `url(${CONFIG.site.basePath}/assets/background/background-3-blur.webp)`, [stylesMode.dark]: { opacity: 0.08 }, }, ...sx, }} >
{children}
); }