From 9c889df962339549f3fd8cacc532c6f4cb77f1c7 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 30 Aug 2025 21:38:19 +0000 Subject: [PATCH] Improve mobile menu display and functionality across pages Refactor mobile menu component to improve its display and responsiveness on different pages, including the addition of a search bar within the mobile menu. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 051a65da-1176-4478-a61c-c662f2a15536 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/051a65da-1176-4478-a61c-c662f2a15536/xbALwBu --- client/src/pages/FolxStadlPage.tsx | 59 ++++++++++++++++++++---------- client/src/pages/VideoPage.tsx | 50 +++++++++++++++++++++++++ 2 files changed, 89 insertions(+), 20 deletions(-) diff --git a/client/src/pages/FolxStadlPage.tsx b/client/src/pages/FolxStadlPage.tsx index a21dcd8..3a8f762 100644 --- a/client/src/pages/FolxStadlPage.tsx +++ b/client/src/pages/FolxStadlPage.tsx @@ -99,38 +99,57 @@ export default function FolxStadlPage() { {/* Mobile menu button */} -
- -
+ + - {/* Mobile menu dropdown */} - {isMobileMenuOpen && ( -
-
+ )} {/* Main Content */} diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx index 71a9cfb..69faf2c 100644 --- a/client/src/pages/VideoPage.tsx +++ b/client/src/pages/VideoPage.tsx @@ -243,9 +243,59 @@ export default function VideoPage() { + + {/* Mobile menu button */} + + + {/* Mobile menu dropdown - kompakten */} + {isMobileMenuOpen && ( +
+
+ {/* Mobile navigation links - horizontal */} + + + {/* Mobile search - manjši */} +
+ setSearchQuery(e.target.value)} + className="bg-white border border-gray-300 rounded-lg px-3 py-2 pl-9 text-sm text-gray-900 placeholder-gray-500 focus:outline-none focus:border-bunny-blue transition-colors w-full" + /> + +
+
+
+ )}