From bf2e5ec3410ee9830110f7d209186c67cb8ff5b5 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 29 Jan 2026 09:33:43 +0000 Subject: [PATCH] Update mobile menu to use semantic theme colors - Replaced hardcoded slate colors in Navbar.tsx with semantic theme colors (text-text, bg-background, etc.) to ensure the mobile menu respects the application theme (light/dark). - Fixed a duplicate variable declaration in AskAIDialog.tsx that was causing build failures. - Updated yarn.lock to match the packageManager version. Co-authored-by: cloud-neutral <4133689+cloud-neutral@users.noreply.github.com> --- next-env.d.ts | 2 +- package.json | 2 +- src/components/AskAIDialog.tsx | 1 - src/components/Navbar.tsx | 16 +- yarn.lock | 25226 +++++++++++++++++++------------ 5 files changed, 15228 insertions(+), 10019 deletions(-) diff --git a/next-env.d.ts b/next-env.d.ts index c4b7818..9edff1c 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,6 +1,6 @@ /// /// -import "./.next/dev/types/routes.d.ts"; +import "./.next/types/routes.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/package.json b/package.json index a48b695..ada912f 100644 --- a/package.json +++ b/package.json @@ -100,4 +100,4 @@ "glob": "10.5.0" }, "packageManager": "yarn@4.12.0" -} \ No newline at end of file +} diff --git a/src/components/AskAIDialog.tsx b/src/components/AskAIDialog.tsx index 19a3ab3..87df5bd 100644 --- a/src/components/AskAIDialog.tsx +++ b/src/components/AskAIDialog.tsx @@ -51,7 +51,6 @@ export function AskAIDialog({ new Map() ) const requestIdRef = useRef(0) - const requestIdRef = useRef(0) const processedInitialRef = useRef(null) const { language } = useLanguage() diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index fcdbfbe..0609e8e 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -379,7 +379,7 @@ export default function Navbar() { {menuOpen ? (
-
+
{/*
{user ? ( -
+
- + {accountInitial}

{user.username}

-

{user.email}

+

{user.email}

setMenuOpen(false)} > {accountCopy.userCenter} setMenuOpen(false)} > {accountCopy.logout} @@ -449,10 +449,10 @@ export default function Navbar() { > {nav.account.login} -