import PropTypes from 'prop-types'; // material-ui import { useTheme } from '@mui/material/styles'; import { useMediaQuery, Box, Button, Grid, Stack, TextField, Typography } from '@mui/material'; // third party const { useTimer } = require('react-timer-hook'); // assets import coming from 'assets/images/maintenance/coming-soon.png'; import MainCard from 'components/MainCard'; // ==============================|| COMING SOON - MAIN ||============================== // const TimerBox = ({ count, label }) => { const theme = useTheme(); const matchDownSM = useMediaQuery(theme.breakpoints.down('sm')); return ( {count} {label} ); }; TimerBox.propTypes = { count: PropTypes.number, label: PropTypes.string }; function ComingSoon() { const time = new Date(); time.setSeconds(time.getSeconds() + 3600 * 24 * 2 - 3600 * 15.5); const { seconds, minutes, hours, days } = useTimer({ expiryTimestamp: time }); return ( <> mantis Coming Soon Something new is on its way : : : Be the first to be notified when Mantis launches. ); } export default ComingSoon;