This repository has been archived by the owner on Mar 27, 2022. It is now read-only.
-
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.
Fixed privacy policy and logo in dark mode (#271)
* Made links in `PrivacyNoticePage` dark mode friendly * Made logo dark mode friendly
- Loading branch information
Showing
3 changed files
with
22 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,17 @@ | |
*/ | ||
|
||
import { ReactElement } from "react"; | ||
import { Typography, Link } from "@material-ui/core"; | ||
import { Typography, Link, makeStyles } from "@material-ui/core"; | ||
import LogoTemplate from "../../components/LogoTemplate"; | ||
|
||
const useStyles = makeStyles((theme) => ({ | ||
root: { | ||
color: theme.palette.text.primary, | ||
}, | ||
})); | ||
|
||
const PrivacyPolicyPage = (): ReactElement => { | ||
const classes = useStyles(); | ||
return ( | ||
<LogoTemplate direction="vertical"> | ||
<Typography variant="h2">Privacy Notice</Typography> | ||
|
@@ -27,7 +34,9 @@ const PrivacyPolicyPage = (): ReactElement => { | |
</li> | ||
<li> | ||
<strong>Email:</strong>{" "} | ||
<Link href="mailto:[email protected]">[email protected]</Link> | ||
<Link classes={classes} href="mailto:[email protected]"> | ||
[email protected] | ||
</Link> | ||
</li> | ||
</ul> | ||
</Typography> | ||
|
@@ -129,7 +138,7 @@ const PrivacyPolicyPage = (): ReactElement => { | |
<br /> | ||
<strong>Helpline number:</strong> 0303 123 1113 <br /> | ||
<strong>Website:</strong>{" "} | ||
<Link href="https://www.ico.org.uk" target="blank"> | ||
<Link classes={classes} href="https://www.ico.org.uk" target="blank"> | ||
https://www.ico.org.uk | ||
</Link> | ||
</Typography> | ||
|
14 changes: 7 additions & 7 deletions
14
...ages/frontend/src/pages/PrivacyNoticePage/__snapshots__/PrivacyNoticePolicy.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.