From 9bf6d57f1f788b15ca9faa86edade54d376cac32 Mon Sep 17 00:00:00 2001 From: Jessie Ssebuliba Date: Thu, 5 Feb 2026 13:27:59 +0300 Subject: [PATCH] language switcher should not point to the home page Signed-off-by: Jessie Ssebuliba --- src/app/[locale]/layout.tsx | 3 ++- src/components/Navbar.tsx | 11 ++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/app/[locale]/layout.tsx b/src/app/[locale]/layout.tsx index 2b626fba..3310716f 100644 --- a/src/app/[locale]/layout.tsx +++ b/src/app/[locale]/layout.tsx @@ -7,6 +7,7 @@ import { Montserrat } from 'next/font/google' import '../globals.css' import Navbar from '@/components/Navbar' import Footer from '@/components/Footer' +import Script from 'next/script'; const montserrat = Montserrat({ subsets: ['latin'], @@ -85,7 +86,7 @@ export default async function LocaleLayout({
{children}