Skip to content

Commit

Permalink
Merge pull request #1090 from DTS-STN/219714-visited
Browse files Browse the repository at this point in the history
219714 undo changes to visted links for some sections
  • Loading branch information
MarcoGoC authored Jun 27, 2024
2 parents 98d0ebb + ccf78d6 commit 14c432b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/Layout/Breadcrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ export function Breadcrumb({ locale, items = [] }: BreadcrumbProps) {
className="inline-block min-w-0 max-w-full truncate -my-4"
>
<Link href={item.link} locale={locale}>
<a className="font-sans text-[16px] leading-[23px] font-[400] !text-[#295376] hover:text-[#0535D2] underline">
<a className="font-sans ml-1 mr-1 text-[16px] leading-[23px] font-[400] text-[#295376] hover:text-[#0535D2] underline">
{item.text}
</a>
</Link>

{index < items.length - 1 && (
<span className="ml-1 mr-1 inline-block align-middle text-multi-blue-blue70b">
<span className="mx-1 inline-block align-middle text-multi-blue-blue70b">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
id={`chevron-${index}`}
Expand Down
2 changes: 1 addition & 1 deletion components/Layout/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const Footer = ({ id, locale }: FooterProps) => {
} pr-4 my-1`}
>
<Link href={value.link}>
<a className="font-[400] text-[14px] leading-[19px] !text-[#284162]">
<a className="font-[400] text-[14px] leading-[19px] text-[#284162]">
{value.text}
</a>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion components/Layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export function Header({
<Link href={langUrl} locale={language}>
<a
lang={language}
className="ml-6 sm:ml-16 -mt-1 underline font-lato text-[16px] leading-[23px] !text-[#295376] hover:text-[#0535D2]"
className="ml-6 sm:ml-16 -mt-1 underline font-lato text-[16px] leading-[23px] text-[#295376] hover:text-[#0535D2]"
>
<span className="md:hidden font-bold">{shortLanguageText}</span>
<span className="hidden md:inline font-[400]" data-cy="lang1">
Expand Down
4 changes: 4 additions & 0 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,10 @@
font-size: 12px;
}

a:visited {
color: #7834BC;
}

dfn {
font-style: normal;
}
Expand Down

0 comments on commit 14c432b

Please sign in to comment.