Update privacy policy links (#6206)
<img width="398" alt="Capture d’écran 2024-07-10 à 18 25 15" src="https://github.com/twentyhq/twenty/assets/71827178/30baace7-b863-49b0-bc91-a5bc33737859">
This commit is contained in:
@ -1,15 +1,23 @@
|
|||||||
import React from 'react';
|
|
||||||
import styled from '@emotion/styled';
|
import styled from '@emotion/styled';
|
||||||
|
import React from 'react';
|
||||||
|
|
||||||
type FooterNoteProps = { children: React.ReactNode };
|
type FooterNoteProps = { children: React.ReactNode };
|
||||||
|
|
||||||
const StyledContainer = styled.div`
|
const StyledContainer = styled.div`
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: ${({ theme }) => theme.font.color.tertiary};
|
color: ${({ theme }) => theme.font.color.tertiary};
|
||||||
display: flex;
|
|
||||||
font-size: ${({ theme }) => theme.font.size.sm};
|
font-size: ${({ theme }) => theme.font.size.sm};
|
||||||
max-width: 280px;
|
max-width: 280px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
& > a {
|
||||||
|
color: ${({ theme }) => theme.font.color.tertiary};
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const FooterNote = ({ children }: FooterNoteProps) => (
|
export const FooterNote = ({ children }: FooterNoteProps) => (
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
import { useMemo, useState } from 'react';
|
|
||||||
import { Controller } from 'react-hook-form';
|
|
||||||
import { useTheme } from '@emotion/react';
|
import { useTheme } from '@emotion/react';
|
||||||
import styled from '@emotion/styled';
|
import styled from '@emotion/styled';
|
||||||
import { motion } from 'framer-motion';
|
import { motion } from 'framer-motion';
|
||||||
|
import { useMemo, useState } from 'react';
|
||||||
|
import { Controller } from 'react-hook-form';
|
||||||
import { useRecoilState, useRecoilValue } from 'recoil';
|
import { useRecoilState, useRecoilValue } from 'recoil';
|
||||||
import { Key } from 'ts-key-enum';
|
import { Key } from 'ts-key-enum';
|
||||||
import { IconGoogle, IconMicrosoft } from 'twenty-ui';
|
import { IconGoogle, IconMicrosoft } from 'twenty-ui';
|
||||||
@ -258,7 +258,23 @@ export const SignInUpForm = () => {
|
|||||||
)}
|
)}
|
||||||
{signInUpStep === SignInUpStep.Init && (
|
{signInUpStep === SignInUpStep.Init && (
|
||||||
<FooterNote>
|
<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>
|
</FooterNote>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { useMemo } from 'react';
|
|
||||||
import styled from '@emotion/styled';
|
import styled from '@emotion/styled';
|
||||||
|
import { useMemo } from 'react';
|
||||||
import { useRecoilValue } from 'recoil';
|
import { useRecoilValue } from 'recoil';
|
||||||
|
|
||||||
import { Logo } from '@/auth/components/Logo';
|
import { Logo } from '@/auth/components/Logo';
|
||||||
@ -74,8 +74,23 @@ export const Invite = () => {
|
|||||||
/>
|
/>
|
||||||
</StyledContentContainer>
|
</StyledContentContainer>
|
||||||
<FooterNote>
|
<FooterNote>
|
||||||
By using Twenty, you agree to the Terms of Service and Privacy
|
By using Twenty, you agree to the{' '}
|
||||||
Policy.
|
<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>
|
</FooterNote>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
Reference in New Issue
Block a user