feat: add free period info page

This commit is contained in:
gofnnp 2023-08-14 01:03:30 +04:00
parent cd5c01dbb2
commit e05a433874
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,22 @@
import { useNavigate } from 'react-router-dom'
import { useTranslation } from 'react-i18next'
import Title from '../Title'
import routes from '../../routes'
import styles from './styles.module.css'
function FreePeriodInfoPage(): JSX.Element {
const { t } = useTranslation()
const navigate = useNavigate()
const handleNext = () => navigate(routes.client.createProfile())
return (
<section className={`${styles.page} page`} onClick={handleNext}>
<div className={styles.content}>
<Title variant='h4' style={{color: 'white', fontWeight: 500}}>{t('free_period_info')}</Title>
</div>
{/* <img src="/goosebumps-aura.png" alt="Aura" /> */}
</section>
)
}
export default FreePeriodInfoPage

View File

@ -0,0 +1,14 @@
.page {
background-color: #000;
height: calc(100vh - 50px);
flex: auto;
padding-top: 22%;
background-image: url('/goosebumps-aura-click-icon-animation.png');
background-size: 100%;
background-position: center 0;
background-repeat: no-repeat;
}
.content {
text-align: center;
}