diff --git a/frontend/src/app/components/link/Link.tsx b/frontend/src/app/components/link/Link.tsx index 69263a0..5ea65fd 100644 --- a/frontend/src/app/components/link/Link.tsx +++ b/frontend/src/app/components/link/Link.tsx @@ -1,3 +1,4 @@ +import ExternalLinkOutlined from "@icons/ExternalLinkOutlined"; import { LinkProps, Link as MuiLink, styled } from "@mui/material"; import style from "@styles/style.module.scss"; @@ -8,14 +9,27 @@ const StyledMuiLink = styled(MuiLink)({ cursor: "pointer", }); +interface ILink extends LinkProps { + external?: boolean; +} + export default function Link({ children, underline = "hover", + external, + rel, + target, ...props -}: LinkProps) { +}: ILink) { return ( - + {children} + {external && } ); } diff --git a/frontend/src/app/containers/cookieConsent/cookieBanner/CookieBanner.tsx b/frontend/src/app/containers/cookieConsent/cookieBanner/CookieBanner.tsx index 4095d54..42a84e0 100644 --- a/frontend/src/app/containers/cookieConsent/cookieBanner/CookieBanner.tsx +++ b/frontend/src/app/containers/cookieConsent/cookieBanner/CookieBanner.tsx @@ -37,8 +37,7 @@ export default function CookieBanner({ {t("cookie_consent__learn_more")} diff --git a/frontend/src/app/containers/cookieConsent/cookieModal/CookieModal.tsx b/frontend/src/app/containers/cookieConsent/cookieModal/CookieModal.tsx index de3c9f8..2c071ac 100644 --- a/frontend/src/app/containers/cookieConsent/cookieModal/CookieModal.tsx +++ b/frontend/src/app/containers/cookieConsent/cookieModal/CookieModal.tsx @@ -85,8 +85,7 @@ export default function CookieModal({ className="mr-a" href={t("cookie_consent_link")} underline="always" - target="_blank" - rel="noreferrer" + external > {t("cookie_consent__learn_more")} diff --git a/frontend/src/app/pages/login/Login.tsx b/frontend/src/app/pages/login/Login.tsx index 0c6b866..fcb3427 100644 --- a/frontend/src/app/pages/login/Login.tsx +++ b/frontend/src/app/pages/login/Login.tsx @@ -34,13 +34,8 @@ export default function Login() { Password: oliviawpass - + {t("login__more_user")} -