diff --git a/src/ui/src/components/auth/auth-box.tsx b/src/ui/src/components/auth/auth-box.tsx index ee6bbff9e4c..713ed80a5b6 100644 --- a/src/ui/src/components/auth/auth-box.tsx +++ b/src/ui/src/components/auth/auth-box.tsx @@ -25,6 +25,7 @@ import { createStyles, makeStyles } from '@mui/styles'; import pixieAnalytics from 'app/utils/analytics'; import { WithChildren } from 'app/utils/react-boilerplate'; +import { privacyUri, termsUri } from 'configurable/tos-privacy'; import { PixienautBox } from './pixienaut-box'; @@ -113,9 +114,9 @@ export const AuthBox: React.FC> = React.memo((props) <> By signing up, you're agreeing to  - Terms of Service + Terms of Service  and  - Privacy Policy + Privacy Policy . diff --git a/src/ui/src/configurables/base/signup.ts b/src/ui/src/configurables/base/signup.ts index 0c379074683..43497e69316 100644 --- a/src/ui/src/configurables/base/signup.ts +++ b/src/ui/src/configurables/base/signup.ts @@ -16,5 +16,6 @@ * SPDX-License-Identifier: Apache-2.0 */ +// Need to encapsulate so that newline is properly escaped. export const signupMessage = `Pixie Community is Free Forever. No Credit Card Needed.`; diff --git a/src/ui/src/configurables/base/tos-privacy.tsx b/src/ui/src/configurables/base/tos-privacy.tsx index f2fb8f5613c..21ae837ee63 100644 --- a/src/ui/src/configurables/base/tos-privacy.tsx +++ b/src/ui/src/configurables/base/tos-privacy.tsx @@ -17,13 +17,15 @@ */ import * as React from 'react'; +export const termsUri = 'https://www.linuxfoundation.org/terms'; +export const privacyUri = 'https://www.linuxfoundation.org/privacy'; export const TermsAndPrivacy = React.memo<{ classes: Record<'text', string> }>(({ classes }) => { return (<> - + Terms & Conditions - + Privacy Policy ); diff --git a/src/ui/src/pages/auth/signup.tsx b/src/ui/src/pages/auth/signup.tsx index 73d226eb8fb..b5431f72cef 100644 --- a/src/ui/src/pages/auth/signup.tsx +++ b/src/ui/src/pages/auth/signup.tsx @@ -64,7 +64,6 @@ export const SignupPage = React.memo(() => {