fix links for desktop

This commit is contained in:
Kalidou Diagne
2024-11-09 18:29:53 +01:00
parent 667c1ccae3
commit 553ad96f83
2 changed files with 1 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ export function MainNav({ items, lang = fallbackLng }: MainNavProps) {
return (
<Link
key={index}
href={item.href}
href={`/${lang}/${item.href}`}
target={item.external ? "_blank" : undefined}
className={cn(
"flex cursor-pointer items-center border-b-2 uppercase",

View File

@@ -18,7 +18,6 @@ export function useAppSettings(lang: LocaleTypes) {
},
{
title: "Devcon 7",
external: true,
href: "/devcon-7",
},
{