Skip to content

Commit

Permalink
small fix Menu UI
Browse files Browse the repository at this point in the history
  • Loading branch information
PxlSyl authored and PxlSyl committed Jun 15, 2024
1 parent b2cca69 commit a48c924
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/[locale]/tag-data.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"en":{"next-js":7,"tailwind":4,"guide":6,"features":2,"i18n":1,"feature":2,"multi-author":1,"hello":1,"math":1,"ols":1,"github":1,"writings":1,"book":1,"reflection":1,"holiday":1,"canada":1,"images":1,"markdown":1,"code":1},"fr":{"next-js":7,"tailwind":4,"guide":6,"fonctionnalites":4,"i18n":1,"multi-auteurs":1,"salut":1,"math":1,"ols":1,"github":1,"ecriture":1,"livre":1,"reflexion":1,"vacance":1,"canada":1,"images":1,"markdown":1,"code":1}}
{"en":{"markdown":1,"code":1,"features":2,"next-js":7,"math":1,"ols":1,"github":1,"guide":6,"tailwind":4,"i18n":1,"hello":1,"holiday":1,"canada":1,"images":1,"feature":2,"writings":1,"book":1,"reflection":1,"multi-author":1},"fr":{"markdown":1,"code":1,"fonctionnalites":4,"next-js":7,"math":1,"ols":1,"github":1,"guide":6,"tailwind":4,"i18n":1,"salut":1,"vacance":1,"canada":1,"images":1,"ecriture":1,"livre":1,"reflexion":1,"multi-auteurs":1}}
4 changes: 4 additions & 0 deletions components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ const Header = () => {
<Link
key={link.title}
href={`/${locale}${link.href}`}
className="flex transform-gpu items-center space-x-1 transition-transform duration-300"
>
<div
className={`hidden font-medium ${
isSelected
? 'text-heading-500'
Expand All @@ -63,6 +66,7 @@ const Header = () => {
className="absolute inset-0 z-0 rounded-md bg-gray-100 dark:bg-gray-600"
></motion.span>
)}
</div>
</Link>
)
})}
Expand Down

0 comments on commit a48c924

Please sign in to comment.