'use client' // Next Imports import Link from 'next/link' // MUI Imports import useMediaQuery from '@mui/material/useMediaQuery' import { styled, useTheme } from '@mui/material/styles' import Button from '@mui/material/Button' import Typography from '@mui/material/Typography' // Third-party Imports import classnames from 'classnames' // Type Imports import type { SystemMode } from '@core/types' // Hook Imports import { useImageVariant } from '@core/hooks/useImageVariant' import { useAuth } from '../contexts/authContext' // Styled Components const MaskImg = styled('img')({ blockSize: 'auto', maxBlockSize: 355, inlineSize: '100%', position: 'absolute', insetBlockEnd: 0, zIndex: -1 }) const NotFound = ({ mode }: { mode: SystemMode }) => { const { currentUser } = useAuth() // Vars const darkImg = '/images/pages/misc-mask-dark.png' const lightImg = '/images/pages/misc-mask-light.png' // Hooks const theme = useTheme() const hidden = useMediaQuery(theme.breakpoints.down('md')) const miscBackground = useImageVariant(mode, lightImg, darkImg) return (
404 Page Not Found ⚠️ we couldn't find the page you are looking for.
error-404-illustration
{!hidden && ( )}
) } export default NotFound