enhance: link T&C, privacy

This commit is contained in:
lytrankieio123
2021-10-18 16:17:05 +07:00
parent 3f89f79fa5
commit e2cf89fa04

View File

@@ -2,6 +2,7 @@ import Link from 'next/link'
import React, { useRef } from 'react' import React, { useRef } from 'react'
import { ButtonCommon, Inputcommon } from 'src/components/common' import { ButtonCommon, Inputcommon } from 'src/components/common'
import InputCommon from 'src/components/common/InputCommon/InputCommon' import InputCommon from 'src/components/common/InputCommon/InputCommon'
import { ROUTE } from 'src/utils/constanst.utils'
import { CheckOutForm } from 'src/utils/types.utils' import { CheckOutForm } from 'src/utils/types.utils'
import s from './CustomerInfoForm.module.scss' import s from './CustomerInfoForm.module.scss'
interface CustomerInfoFormProps { interface CustomerInfoFormProps {
@@ -31,14 +32,18 @@ const CustomerInfoForm = ({ id, onConfirm }: CustomerInfoFormProps) => {
<div className={s.note}> <div className={s.note}>
By clicking continue you agree to Casper's{' '} By clicking continue you agree to Casper's{' '}
{ {
<Link href="#"> <Link href={ROUTE.TERM_CONDITION}>
<strong>terms and conditions</strong> <a>
<strong>terms and conditions</strong>
</a>
</Link> </Link>
}{' '} }{' '}
and{' '} and{' '}
{ {
<Link href="#"> <Link href={ROUTE.PRIVACY_POLICY}>
<strong>privacy policy </strong> <a>
<strong>privacy policy </strong>
</a>
</Link> </Link>
} }
. .