Skip to content

Commit

Permalink
fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Sep 19, 2024
1 parent d9144b9 commit ea9efe3
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 29 deletions.
5 changes: 3 additions & 2 deletions src/pages/privacyNotice/adults/ContactUs.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { Link, Typography } from "@mui/material"
import { type FC } from "react"
import { Link } from "codeforlife/components/router"
import { Typography } from "@mui/material"

export interface ContactUsProps {}

const ContactUs: FC<ContactUsProps> = () => (
<>

Check warning on line 8 in src/pages/privacyNotice/adults/ContactUs.tsx

View check run for this annotation

Codecov / codecov/patch

src/pages/privacyNotice/adults/ContactUs.tsx#L7-L8

Added lines #L7 - L8 were not covered by tests
<Typography mb={0}>
Please contact our Data Protection Officer or us at&nbsp;
<Link href="mailto:[email protected]">
<Link to="mailto:[email protected]" target="_blank">
[email protected]
</Link>
&nbsp;if you have any questions about this Privacy Notice or the
Expand Down
8 changes: 4 additions & 4 deletions src/pages/privacyNotice/adults/Cookies.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
Button,
Link,
Table,
TableBody,
TableCell,
Expand All @@ -9,6 +8,7 @@ import {
Typography,
} from "@mui/material"
import { type FC } from "react"
import { Link } from "codeforlife/components/router"
import { toggleOneTrustInfoDisplay } from "codeforlife/utils/window"

const CustomTableRow: FC<{
Expand Down Expand Up @@ -100,13 +100,13 @@ const Cookies: FC<CookiesProps> = () => (
<Typography>
We use third-party web analytics software on our portal (
<Link
href="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage"
to="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage"
target="_blank"
>
Google Analytics
</Link>
&nbsp;and&nbsp;
<Link href="https://mouseflow.com/legal/gdpr/" target="_blank">
<Link to="https://mouseflow.com/legal/gdpr/" target="_blank">
Mouseflow
</Link>
). We provide further information about these partners below.
Expand Down Expand Up @@ -169,7 +169,7 @@ const Cookies: FC<CookiesProps> = () => (
<Typography>
We make available a cookie management platform on our portal (provided
by&nbsp;
<Link href="https://www.onetrust.com/" target="_blank">
<Link to="https://www.onetrust.com/" target="_blank">
OneTrust
</Link>
), through which you can turn off non-essential cookies at any time.
Expand Down
5 changes: 3 additions & 2 deletions src/pages/privacyNotice/adults/HowToComplain.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Link, Typography } from "@mui/material"
import { type FC } from "react"
import { Link } from "codeforlife/components/router"
import { Typography } from "@mui/material"

export interface HowToComplainProps {}

Expand All @@ -17,7 +18,7 @@ const HowToComplain: FC<HowToComplainProps> = () => (
normally live or where any alleged infringement of data protection laws
occurred. The data protection authority in the UK is the Information
Commissioner who may be contacted at&nbsp;
<Link href="https://ico.org.uk/concerns/" target="_blank">
<Link to="https://ico.org.uk/concerns/" target="_blank">
https://ico.org.uk/concerns/
</Link>
&nbsp;or telephone: +44 303 123 1113.
Expand Down
7 changes: 4 additions & 3 deletions src/pages/privacyNotice/adults/InfoSecurity.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Link, Typography } from "@mui/material"
import { type FC } from "react"
import { Link } from "codeforlife/components/router"
import { Typography } from "@mui/material"

export interface InfoSecurityProps {}

Expand All @@ -17,7 +18,7 @@ const InfoSecurity: FC<InfoSecurityProps> = () => (
the security of their accounts and we encourage them to do that. You can
find more details&nbsp;
<Link
href="https://www.getsafeonline.org/personal/articles/passwords/"
to="https://www.getsafeonline.org/personal/articles/passwords/"
target="_blank"
>
here
Expand All @@ -28,7 +29,7 @@ const InfoSecurity: FC<InfoSecurityProps> = () => (
If you want detailed information from Get Safe Online on how to protect
your information and your computers and devices against fraud, identity
theft, viruses and many other online problems, please visit&nbsp;
<Link href="https://www.getsafeonline.org/" target="_blank">
<Link to="https://www.getsafeonline.org/" target="_blank">
www.getsafeonline.org
</Link>
. Get Safe Online is supported by HM Government and leading businesses.
Expand Down
9 changes: 5 additions & 4 deletions src/pages/privacyNotice/adults/SharingInfo.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Link, ListItemText, Typography } from "@mui/material"
import { ListItemText, Typography } from "@mui/material"
import { type FC } from "react"
import { ItemizedList } from "codeforlife/components"
import { Link } from "codeforlife/components/router"

export interface SharingInfoProps {}

Expand Down Expand Up @@ -45,14 +46,14 @@ const SharingInfo: FC<SharingInfoProps> = () => (
</Typography>
<Typography>
For more information on Freshdesk’s Privacy Notice, visit&nbsp;
<Link href="https://www.freshworks.com/privacy/" target="_blank">
<Link to="https://www.freshworks.com/privacy/" target="_blank">
https://www.freshworks.com/privacy/
</Link>
.
</Typography>
<Typography>
For more information on Freshdesk and GDPR, visit&nbsp;
<Link href="https://freshdesk.com/gdpr" target="_blank">
<Link to="https://freshdesk.com/gdpr" target="_blank">
https://freshdesk.com/gdpr
</Link>
.
Expand All @@ -64,7 +65,7 @@ const SharingInfo: FC<SharingInfoProps> = () => (
device type, device platform, unless specifically asked within the
questions themselves for example, the survey may ask your age. You can
find out more about UsabilityHub&nbsp;
<Link href="https://usabilityhub.com/" target="_blank">
<Link to="https://usabilityhub.com/" target="_blank">
here
</Link>
.
Expand Down
5 changes: 3 additions & 2 deletions src/pages/privacyNotice/adults/YourRights.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Link, ListItemText, Typography } from "@mui/material"
import { ListItemText, Typography } from "@mui/material"
import { type FC } from "react"
import { ItemizedList } from "codeforlife/components"
import { Link } from "codeforlife/components/router"

export interface YourRightsProps {}

Expand Down Expand Up @@ -60,7 +61,7 @@ const YourRights: FC<YourRightsProps> = () => (
<ItemizedList styleType="disc">
<ListItemText>
email our Data Protection Officer at&nbsp;
<Link href="mailto:[email protected]">
<Link to="mailto:[email protected]" target="_blank">
[email protected]
</Link>
;
Expand Down
6 changes: 3 additions & 3 deletions src/pages/privacyNotice/children/Cookies.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
Button,
Link,
Table,
TableBody,
TableCell,
Expand All @@ -9,6 +8,7 @@ import {
Typography,
} from "@mui/material"
import { type FC } from "react"
import { Link } from "codeforlife/components/router"
import { toggleOneTrustInfoDisplay } from "codeforlife/utils/window"

const CustomTableRow: FC<{
Expand Down Expand Up @@ -110,13 +110,13 @@ const Cookies: FC<CookiesProps> = () => (
<Typography>
We use other companies called (
<Link
href="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage"
to="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage"
target="_blank"
>
Google Analytics
</Link>
&nbsp;and&nbsp;
<Link href="https://mouseflow.com/legal/gdpr/" target="_blank">
<Link to="https://mouseflow.com/legal/gdpr/" target="_blank">
Mouseflow
</Link>
) to help us collect information from these cookies (see the
Expand Down
7 changes: 4 additions & 3 deletions src/pages/privacyNotice/children/HowToComplain.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Link, Typography } from "@mui/material"
import { type FC } from "react"
import { Link } from "codeforlife/components/router"
import { Typography } from "@mui/material"

export interface HowToComplainProps {}

Expand All @@ -8,7 +9,7 @@ const HowToComplain: FC<HowToComplainProps> = () => (
<Typography>
If you have a complaint about how we’ve used your personal information,
you can write to our Data Protection Officer at&nbsp;
<Link href="mailto:[email protected]">
<Link to="mailto:[email protected]" target="_blank">
[email protected]
</Link>
.
Expand All @@ -22,7 +23,7 @@ const HowToComplain: FC<HowToComplainProps> = () => (
<Typography>Telephone: 0303 123 1113</Typography>
<Typography mb={0}>
Website:&nbsp;
<Link href="https://ico.org.uk/concerns" target="_blank">
<Link to="https://ico.org.uk/concerns" target="_blank">
https://ico.org.uk/concerns
</Link>
</Typography>
Expand Down
5 changes: 3 additions & 2 deletions src/pages/privacyNotice/children/HowToContactUs.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { Link, Typography } from "@mui/material"
import { type FC } from "react"
import { Link } from "codeforlife/components/router"
import { Typography } from "@mui/material"

export interface HowToContactUsProps {}

const HowToContactUs: FC<HowToContactUsProps> = () => (
<>

Check warning on line 8 in src/pages/privacyNotice/children/HowToContactUs.tsx

View check run for this annotation

Codecov / codecov/patch

src/pages/privacyNotice/children/HowToContactUs.tsx#L7-L8

Added lines #L7 - L8 were not covered by tests
<Typography mb={0}>
Please contact our Data Protection Officer at&nbsp;
<Link href="mailto:[email protected]">
<Link to="mailto:[email protected]" target="_blank">
[email protected]
</Link>
&nbsp;if you have any questions about this Privacy Notice or the
Expand Down
5 changes: 3 additions & 2 deletions src/pages/privacyNotice/children/WhoWeShareInfoWith.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Link, Typography } from "@mui/material"
import { type FC } from "react"
import { Link } from "codeforlife/components/router"
import { Typography } from "@mui/material"

export interface WhoWeShareInfoWithProps {}

Expand Down Expand Up @@ -31,7 +32,7 @@ const WhoWeShareInfoWith: FC<WhoWeShareInfoWithProps> = () => (
type, device platform alongside any questions that we may ask you in our
surveys (for example, the survey may ask your age). You can find out more
about UsabilityHub&nbsp;
<Link href="https://usabilityhub.com/" target="_blank">
<Link to="https://usabilityhub.com/" target="_blank">
here
</Link>
.
Expand Down
5 changes: 3 additions & 2 deletions src/pages/privacyNotice/children/YourRights.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Link, ListItemText, Typography } from "@mui/material"
import { ListItemText, Typography } from "@mui/material"
import { type FC } from "react"
import { ItemizedList } from "codeforlife/components"
import { Link } from "codeforlife/components/router"

export interface YourRightsProps {}

Expand Down Expand Up @@ -38,7 +39,7 @@ const YourRights: FC<YourRightsProps> = () => (
<Typography mb={0}>
If you would like to use any of these rights listed above, please email
our Data Protection Officer at&nbsp;
<Link href="mailto:[email protected]">
<Link to="mailto:[email protected]" target="_blank">
[email protected]
</Link>
. Depending on where you live, you may need help from a parent or guardian
Expand Down

0 comments on commit ea9efe3

Please sign in to comment.