The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Update privacy policy links (#6206)
bosiraphael5cb7f68b7cda
diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/FooterNote.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/FooterNote.tsxindex c9d5066d958..3bad98dcb08 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/FooterNote.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/FooterNote.tsx@@ -1,15 +1,23 @@-import React from 'react';import styled from '@emotion/styled';+import React from 'react';type FooterNoteProps = { children: React.ReactNode };const StyledContainer = styled.div`align-items: center;color: ${({ theme }) => theme.font.color.tertiary};- display: flex;font-size: ${({ theme }) => theme.font.size.sm};max-width: 280px;text-align: center;++ & > a {+ color: ${({ theme }) => theme.font.color.tertiary};+ text-decoration: none;++ &:hover {+ text-decoration: underline;+ }+ }`;export const FooterNote = ({ children }: FooterNoteProps) => (diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpForm.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpForm.tsxindex 2c498037edf..2068e8f730b 100644--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpForm.tsx+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpForm.tsx@@ -1,8 +1,8 @@-import { useMemo, useState } from 'react';-import { Controller } from 'react-hook-form';import { useTheme } from '@emotion/react';import styled from '@emotion/styled';import { motion } from 'framer-motion';+import { useMemo, useState } from 'react';+import { Controller } from 'react-hook-form';import { useRecoilState, useRecoilValue } from 'recoil';import { Key } from 'ts-key-enum';import { IconGoogle, IconMicrosoft } from 'twenty-ui';@@ -258,7 +258,23 @@ export const SignInUpForm = () => {)}{signInUpStep === SignInUpStep.Init && (<FooterNote>- By using Twenty, you agree to the Terms of Service and Privacy Policy.+ By using Twenty, you agree to the{' '}+ <a+ href="https://twenty.com/legal/terms"+ target="_blank"+ rel="noopener noreferrer"+ >+ Terms of Service+ </a>{' '}+ and{' '}+ <a+ href="https://twenty.com/legal/privacy"+ target="_blank"+ rel="noopener noreferrer"+ >+ Privacy Policy+ </a>+ .</FooterNote>)}</>diff --git a/packages/twenty-front/src/pages/auth/Invite.tsx b/packages/twenty-front/src/pages/auth/Invite.tsxindex 87d48e1b25c..177758afa11 100644--- a/packages/twenty-front/src/pages/auth/Invite.tsx+++ b/packages/twenty-front/src/pages/auth/Invite.tsx@@ -1,5 +1,5 @@-import { useMemo } from 'react';import styled from '@emotion/styled';+import { useMemo } from 'react';import { useRecoilValue } from 'recoil';import { Logo } from '@/auth/components/Logo';@@ -74,8 +74,23 @@ export const Invite = () => {/></StyledContentContainer><FooterNote>- By using Twenty, you agree to the Terms of Service and Privacy- Policy.+ By using Twenty, you agree to the{' '}+ <a+ href="https://twenty.com/legal/terms"+ target="_blank"+ rel="noopener noreferrer"+ >+ Terms of Service+ </a>{' '}+ and{' '}+ <a+ href="https://twenty.com/legal/privacy"+ target="_blank"+ rel="noopener noreferrer"+ >+ Privacy Policy+ </a>+ .</FooterNote></>) : (