Skip to content

Commit

Permalink
feat: replace root link with a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierniki committed Oct 18, 2023
1 parent 0e19273 commit 0faa3c4
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/components/Navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,9 @@ export function Navigation({ locale, navigation }: NavigationProps) {

return (
<div className="pointer-events-auto mx-4 flex w-full items-center justify-between gap-5">
<Link
href={`/${locale}/`}
hrefLang={locale}
prefetch={false}
className="w-[100px]"
onClick={() => setIsSheetOpen(false)}
>
<a href={`/${locale}/`} hrefLang={locale} className="w-[100px]" onClick={() => setIsSheetOpen(false)}>
<Image src={logo.url} width={100} height={30} alt="site-logo" quality={100} />
</Link>
</a>
<ul className="hidden items-center gap-5 sm:flex-wrap lg:flex">
<li className="flex items-center">
<DynamicSearchDialog />
Expand Down

0 comments on commit 0faa3c4

Please sign in to comment.