From 1a2693bcd6ba26b5b505e0238820a43899f9f635 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Thu, 8 Jan 2026 08:13:22 +0700 Subject: [PATCH] feat(ui): redesign GlobalSearchBar, split layouts, and remove hero section - Make GlobalSearchBar functional with searchStore integration - Add destination search using hubs/nodes GraphQL query - Navigate to /request page instead of /catalog/offers - Remove hero section from index.vue (search is now in header) - Add padding (px-3 lg:px-6) to topnav layout - Implement split layout for catalog pages (offers, hubs, suppliers) - Left side: filters + scrollable card list (40%) - Right side: map (60%, hidden on mobile) --- app/components/search/GlobalSearchBar.vue | 81 +++++++++++----- app/layouts/topnav.vue | 2 +- app/pages/catalog/hubs/index.vue | 88 +++++++++--------- app/pages/catalog/offers/index.vue | 90 +++++++++--------- app/pages/catalog/suppliers/index.vue | 80 ++++++++-------- app/pages/index.vue | 107 ---------------------- 6 files changed, 194 insertions(+), 254 deletions(-) diff --git a/app/components/search/GlobalSearchBar.vue b/app/components/search/GlobalSearchBar.vue index 5d0c5ba..ff3cfec 100644 --- a/app/components/search/GlobalSearchBar.vue +++ b/app/components/search/GlobalSearchBar.vue @@ -68,10 +68,10 @@ @input="searchDestinations" />