// @mui
import { alpha, useTheme } from '@mui/material/styles';
import Box from '@mui/material/Box';
import Stack from '@mui/material/Stack';
import Typography from '@mui/material/Typography';
// hooks
import { useResponsive } from 'src/hooks/use-responsive';
// theme
import { bgGradient } from 'src/theme/css';
// components
import Logo from 'src/components/logo';
// ----------------------------------------------------------------------
type Props = {
title?: string;
image?: string;
children: React.ReactNode;
};
export default function AuthClassicLayout({ children, image, title }: Props) {
const theme = useTheme();
const mdUp = useResponsive('up', 'md');
const renderLogo = (
);
const renderContent = (
{children}
);
const renderSection = (
{title || 'Hi, Welcome back'}
);
return (
{renderLogo}
{mdUp && renderSection}
{renderContent}
);
}