fix: remove separate /map pages, add hover highlight to CatalogPage
All checks were successful
Build Docker Image / build (push) Successful in 4m48s
All checks were successful
Build Docker Image / build (push) Successful in 4m48s
- Delete hubs/map.vue, offers/map.vue, suppliers/map.vue - Pass hoveredId to CatalogMap for marker highlighting - Split view on main pages (like Airbnb) is the correct approach
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
:map-id="mapId"
|
||||
:items="itemsWithCoords"
|
||||
:point-color="pointColor"
|
||||
:hovered-item-id="hoveredId"
|
||||
@select-item="onMapSelect"
|
||||
/>
|
||||
</ClientOnly>
|
||||
@@ -98,6 +99,7 @@
|
||||
:map-id="`${mapId}-mobile`"
|
||||
:items="itemsWithCoords"
|
||||
:point-color="pointColor"
|
||||
:hovered-item-id="hoveredId"
|
||||
@select-item="onMapSelect"
|
||||
/>
|
||||
</ClientOnly>
|
||||
|
||||
Reference in New Issue
Block a user