-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Description This PR introduces new links in the foot of the menu ## Related Issues closes #269 ## Changes Made - [FE] Added a url to the links - [FE] Removed underline on links in the footer
- Loading branch information
Showing
7 changed files
with
66 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export const termsAndConditions = { | ||
welcome: "Terms and Conditions", | ||
content: [`Use at own risk`], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { Stack, Typography } from "@mui/material"; | ||
|
||
import { text } from "~/assets/text/index.js"; | ||
import { PageLayout } from "~/containers/page-layout/index.js"; | ||
import { styles } from "~/styles/pages/about.js"; | ||
import { processTextToLink } from "~/utils/links.jsx"; | ||
|
||
const TermsAndConditions = () => ( | ||
<PageLayout title={text.termsAndConditions.welcome}> | ||
{text.termsAndConditions.content.map((content: string, key: number) => ( | ||
<Typography | ||
key={key} | ||
variant="body1" | ||
pt={key === 0 ? 0 : 5} | ||
sx={styles.body} | ||
> | ||
{processTextToLink(content, text.wordsToLinkAbout)} | ||
</Typography> | ||
))} | ||
<Stack pt="100px" /> | ||
</PageLayout> | ||
); | ||
|
||
export default TermsAndConditions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters