From 45ec9923e353152be656ea750367f919e959c257 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev Date: Fri, 16 Jan 2026 02:00:31 +0700 Subject: [PATCH] feat(catalog): add map to all catalog pages All catalog pages now use CatalogPage component with map on the right side: - /catalog/hubs/[id] - shows hub on map - /catalog/offers - shows empty map (products have no coords) - /catalog/offers/[productId] - shows hubs where product can be delivered - /catalog/suppliers/[supplierId] - shows supplier location - /catalog/suppliers/[supplierId]/[productId] - shows hubs for supplier's product - /catalog/suppliers/[supplierId]/[productId]/[hubId] - shows source and destination --- app/pages/catalog/hubs/[id]/index.vue | 83 ++++---- .../catalog/offers/[productId]/index.vue | 90 ++++---- app/pages/catalog/offers/index.vue | 62 +++--- .../[supplierId]/[productId]/[hubId].vue | 194 ++++++++++-------- .../[supplierId]/[productId]/index.vue | 108 +++++----- .../catalog/suppliers/[supplierId]/index.vue | 93 +++++---- 6 files changed, 343 insertions(+), 287 deletions(-) diff --git a/app/pages/catalog/hubs/[id]/index.vue b/app/pages/catalog/hubs/[id]/index.vue index e357217..b745f64 100644 --- a/app/pages/catalog/hubs/[id]/index.vue +++ b/app/pages/catalog/hubs/[id]/index.vue @@ -1,16 +1,15 @@