mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
enhance: link T&C, privacy
This commit is contained in:
@@ -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>
|
||||||
}
|
}
|
||||||
.
|
.
|
||||||
|
Reference in New Issue
Block a user