2024-05-14 14:27:05 +05:00
|
|
|
import { Box, Button } from '@mui/material'
|
2024-04-08 18:05:28 +05:00
|
|
|
import styles from './style.module.scss'
|
2024-05-14 14:27:05 +05:00
|
|
|
import { useNavigate } from 'react-router-dom'
|
|
|
|
import { appPrivateRoutes } from '../../routes'
|
2024-04-08 17:45:51 +05:00
|
|
|
|
|
|
|
export const HomePage = () => {
|
2024-05-14 14:27:05 +05:00
|
|
|
const navigate = useNavigate()
|
2024-04-08 17:45:51 +05:00
|
|
|
|
|
|
|
return (
|
2024-05-14 14:27:05 +05:00
|
|
|
<Box className={styles.container}>
|
|
|
|
<Button
|
2024-05-15 13:41:55 +05:00
|
|
|
onClick={() => navigate(appPrivateRoutes.create)}
|
2024-05-14 14:27:05 +05:00
|
|
|
variant='contained'
|
|
|
|
>
|
2024-05-15 13:41:55 +05:00
|
|
|
Create
|
2024-05-14 14:27:05 +05:00
|
|
|
</Button>
|
2024-05-14 23:55:16 +05:00
|
|
|
<Button
|
2024-05-15 16:11:57 +05:00
|
|
|
onClick={() => navigate(appPrivateRoutes.sign)}
|
2024-05-14 23:55:16 +05:00
|
|
|
variant='contained'
|
|
|
|
>
|
2024-05-15 16:11:57 +05:00
|
|
|
Sign
|
2024-05-14 23:55:16 +05:00
|
|
|
</Button>
|
2024-05-14 14:27:05 +05:00
|
|
|
</Box>
|
2024-04-08 17:45:51 +05:00
|
|
|
)
|
|
|
|
}
|