// ** React Imports import { ReactNode } from 'react' // ** Next Import import Link from 'next/link' // ** MUI Components import Button from '@mui/material/Button' import TextField from '@mui/material/TextField' import Typography from '@mui/material/Typography' import Box, { BoxProps } from '@mui/material/Box' import useMediaQuery from '@mui/material/useMediaQuery' import { styled, useTheme } from '@mui/material/styles' // ** Icon Imports import Icon from '../../src/@core/components/icon' // ** Layout Import import BlankLayout from '../../src/@core/layouts/BlankLayout' // ** Demo Imports import FooterIllustrationsV2 from '../../src/views/pages/auth/FooterIllustrationsV2' // Styled Components const ForgotPasswordIllustration = styled('img')(({ theme }) => ({ zIndex: 2, maxHeight: 650, marginTop: theme.spacing(12), marginBottom: theme.spacing(12), [theme.breakpoints.down(1540)]: { maxHeight: 550 }, [theme.breakpoints.down('lg')]: { maxHeight: 500 } })) const RightWrapper = styled(Box)(({ theme }) => ({ width: '100%', [theme.breakpoints.up('md')]: { maxWidth: 450 }, [theme.breakpoints.up('lg')]: { maxWidth: 600 }, [theme.breakpoints.up('xl')]: { maxWidth: 750 } })) const LinkStyled = styled(Link)(({ theme }) => ({ display: 'flex', fontSize: '1rem', alignItems: 'center', textDecoration: 'none', justifyContent: 'center', color: theme.palette.primary.main })) const ForgotPassword = () => { // ** Hooks const theme = useTheme() // ** Vars const hidden = useMediaQuery(theme.breakpoints.down('md')) return ( {!hidden ? ( theme.spacing(8, 0, 8, 8) }} > ) : null} Forgot Password? 🔒 Enter your email and we′ll send you instructions to reset your password
e.preventDefault()}> Back to login
) } ForgotPassword.getLayout = (page: ReactNode) => {page} ForgotPassword.guestGuard = true export default ForgotPassword