Skip to content

Commit

Permalink
🐛 Fikset dodont tekst og ikon for god-praksis
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Aug 16, 2023
1 parent dd03078 commit a67f954
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions aksel.nav.no/website/components/sanity-modules/DoDont.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ const GetIcon = (s: string) => {
const getText = (s: string) => {
switch (s) {
case "do":
return "Do: ";
return "Gjør: ";
case "dont":
return "Don't: ";
return "Unngå: ";
case "warning":
return "Fare på ferde: ";
return "Utfordrende: ";
default:
return "";
}
Expand All @@ -74,7 +74,7 @@ const Element = ({ block }: { block: DoDontT["blokker"][number] }) => {
)}
aria-hidden
>
<span className="absolute right-[10px] z-10 translate-y-2">
<span className="absolute right-[2px] z-10">
{GetIcon(block.variant)}
</span>
</div>
Expand Down

0 comments on commit a67f954

Please sign in to comment.