Skip to content

Commit

Permalink
Add private policy and terms of use to the login page
Browse files Browse the repository at this point in the history
and about model page.

Signed-off-by: Anil Vishnoi <[email protected]>
  • Loading branch information
vishnoianil committed Sep 26, 2024
1 parent ed888f1 commit 27c0e3a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/app/login/githublogin.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ a {
font-size: large;
}

.urls-text-medium {
margin-top: 1rem;
color: white;
padding: 20px;
text-align: center;
font-size: medium;
}

.policy-text {
margin-top: 1rem;
color: white;
Expand Down
9 changes: 9 additions & 0 deletions src/app/login/githublogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ const GithubLogin: React.FC = () => {
Code Of Conduct
</a>
</Text>
<Text className="urls-text-medium">
<a href="https://www.redhat.com/en/about/terms-use" style={{ color: 'white', textDecoration: 'underline' }} target="_blank">
Terms of use
</a>{' '}
|{' '}
<a href="https://www.redhat.com/en/about/privacy-policy" style={{ color: 'white', textDecoration: 'underline' }} target="_blank">
Privacy Policy
</a>
</Text>
</TextContent>
</div>
</GridItem>
Expand Down
9 changes: 9 additions & 0 deletions src/components/AboutModal/AboutModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ const AboutInstructLab = ({ isOpen, setIsOpen }: AboutModalProps) => {
<Text className={styles.version} component={TextVariants.p}>
© InstructLab | Version 1.0.0 Beta
</Text>
<Text className={styles.links}>
<a href="https://www.redhat.com/en/about/terms-use" style={{ color: 'white', textDecoration: 'underline' }} target="_blank">
Terms of use
</a>{' '}
|{' '}
<a href="https://www.redhat.com/en/about/privacy-policy" style={{ color: 'white', textDecoration: 'underline' }} target="_blank">
Privacy Policy
</a>
</Text>
</TextContent>
</div>
</AboutModal>
Expand Down

0 comments on commit 27c0e3a

Please sign in to comment.