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 = () => (
<Checkbox isChecked={acceptedTerms} onChange={setAcceptedTerms}>
I agree to the
<Link
href={`${process.env.NEXT_PUBLIC_WEBSITE_URL}/terms`}
className="text-blue-500"
>
<Link href={`https://encoach.com/terms`} className="text-mti-purple-light">
{" "}
Terms and Conditions
</Link>{" "}
and
<Link
href={`${process.env.NEXT_PUBLIC_WEBSITE_URL}/privacy-policy`}
className="text-blue-500"
>
<Link href={`https://encoach.com/privacy-policy`} className="text-mti-purple-light">
{" "}
Privacy Policy
</Link>