Add Explore/Quote dual mode to catalog page
All checks were successful
Build Docker Image / build (push) Successful in 3m52s
All checks were successful
Build Docker Image / build (push) Successful in 3m52s
- Add CatalogMode type (explore/quote) to useCatalogSearch - Create ExplorePanel component with view toggle (offers/hubs/suppliers) - Create QuoteForm and QuotePanel components for search form - Refactor CatalogPage to fullscreen map with overlay panel - Simplify catalog/index.vue to use new components - Add translations for modes and quote form (ru/en) The catalog now has two modes: - Explore: Browse map with offers/hubs/suppliers toggle - Quote: Search form with product/hub/qty filters to find offers
This commit is contained in:
@@ -40,6 +40,23 @@
|
||||
"offers": "Offers",
|
||||
"map": "Map"
|
||||
},
|
||||
"modes": {
|
||||
"explore": "Explore",
|
||||
"quote": "Get Quote"
|
||||
},
|
||||
"quote": {
|
||||
"title": "Get Quote",
|
||||
"selectProduct": "Select product",
|
||||
"selectHub": "Select hub",
|
||||
"selectSupplier": "Select supplier",
|
||||
"enterQty": "Quantity (t)",
|
||||
"search": "Search",
|
||||
"clear": "Clear"
|
||||
},
|
||||
"explore": {
|
||||
"title": "Explore the market",
|
||||
"subtitle": "Switch between offers, hubs, and suppliers"
|
||||
},
|
||||
"offers": "offer | offers"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user