feat: add free period info page
This commit is contained in:
parent
cd5c01dbb2
commit
e05a433874
22
src/components/FreePeriodInfoPage/index.tsx
Normal file
22
src/components/FreePeriodInfoPage/index.tsx
Normal 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
|
||||
14
src/components/FreePeriodInfoPage/styles.module.css
Normal file
14
src/components/FreePeriodInfoPage/styles.module.css
Normal 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;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user