Skip to content

Commit

Permalink
DIGG-345:Colors, lang and aria label
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Gasperini authored and Alessandro Gasperini committed Sep 24, 2024
1 parent 2c9862a commit 4a83500
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/navigation/MainNav/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const MainNav: FC<MainNavProps> = ({ setOpenSideBar, openSideBar }) => {
<div className="flex flex-row items-center justify-between">
<Link
href={`${t(`common|${"lang-path"}`)}`}
aria-label="Dataportal logo"
aria-label="Dataportal logga länk till startsida"
onClick={() => setOpenSideBar(false)}
>
{env.envName === "sandbox" ? (
Expand Down
1 change: 1 addition & 0 deletions components/navigation/TopNav/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const TopNav: FC<TopNavProps> = ({ setOpenSideBar }) => {
locale={`${menu.title === "language" ? "" : lang}`}
onClick={() => setOpenSideBar(false)}
icon={menu.icon}
hrefLang={lang === "sv" ? "en" : "sv"}
iconPosition="left"
label={t(`routes|${menu.title}$title`)}
size={"sm"}
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = {
600: "#6E615A",
500: "#99908B",
400: "#B6AFAD",
200: "#DBD7D6",
200: "#E2DFDF",
100: "#F0EFEE",
},
green: {
Expand Down

0 comments on commit 4a83500

Please sign in to comment.