summaryrefslogtreecommitdiff
path: root/client/src/components/Card/CardAgreement.jsx
blob: da35c912fa6a2a28feb5cdb0424f693c42d968c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import React from 'react'
import styles from './CardAgreement.module.css'
import SubmitButton from '../SubmitButton/SubmitButton'
import { Typography } from '@mui/material'
import { useTranslation } from 'react-i18next'

const CardAgreement = ({ title, image }) => {
  const { t } = useTranslation()
  return (
    <>
      <div className={styles.card}>
        <img className={styles.card__image} src={image} alt="" />
        <Typography>
          {t('I_HEREBY_CONFIRM_THE_IDENTITY_AND_ADDRESS')}
        </Typography>
      </div>
      <SubmitButton />
    </>
  )
}

export default CardAgreement