From 67d6776404378d5b49e1a33ea634cbf0f30277e5 Mon Sep 17 00:00:00 2001 From: Nevo David Date: Tue, 4 Jun 2024 13:14:03 +0700 Subject: [PATCH] feat: privacy policy --- apps/frontend/src/components/auth/register.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/frontend/src/components/auth/register.tsx b/apps/frontend/src/components/auth/register.tsx index d4416db5..8c514961 100644 --- a/apps/frontend/src/components/auth/register.tsx +++ b/apps/frontend/src/components/auth/register.tsx @@ -105,6 +105,11 @@ export function RegisterAfter({ } }; + const rootDomain = useMemo(() => { + const url = new URL(process.env.frontendUrl!); + return url.protocol + '//' + url.host; + }, []); + return (
@@ -150,6 +155,7 @@ export function RegisterAfter({ placeholder="Company" /> +
By registering you agree to our Terms of Service and Privacy Policy