Hard coded the website link because there are some problems with ENV variables in the frontend

This commit is contained in:
Tiago Ribeiro
2024-02-13 00:44:16 +00:00
parent 7ab67fdf15
commit 57116f50e8

View File

@@ -8,18 +8,12 @@ const useAcceptedTerms = () => {
const renderCheckbox = () => ( const renderCheckbox = () => (
<Checkbox isChecked={acceptedTerms} onChange={setAcceptedTerms}> <Checkbox isChecked={acceptedTerms} onChange={setAcceptedTerms}>
I agree to the I agree to the
<Link <Link href={`https://encoach.com/terms`} className="text-mti-purple-light">
href={`${process.env.NEXT_PUBLIC_WEBSITE_URL}/terms`}
className="text-blue-500"
>
{" "} {" "}
Terms and Conditions Terms and Conditions
</Link>{" "} </Link>{" "}
and and
<Link <Link href={`https://encoach.com/privacy-policy`} className="text-mti-purple-light">
href={`${process.env.NEXT_PUBLIC_WEBSITE_URL}/privacy-policy`}
className="text-blue-500"
>
{" "} {" "}
Privacy Policy Privacy Policy
</Link> </Link>