Refactor navigation and fix UI issues
All checks were successful
Build Docker Image / build (push) Successful in 4m13s

- Add py-4 to main layout for detail page padding
- Show search widget only on main page (not all catalog pages)
- Add 4 menu items: Search, Catalog, Orders, Seller
- Fix orders page click to navigate to order detail
- Update CatalogPage map positioning for new nav structure
- Add search translation to cabinetNav i18n files
This commit is contained in:
Ruslan Bakiev
2026-01-08 13:26:23 +07:00
parent f3e0260325
commit 34c7404a42
6 changed files with 12 additions and 7 deletions

View File

@@ -181,9 +181,9 @@ const props = withDefaults(defineProps<{
hasSubNav: true
})
// Map positioning based on navigation height
const mapTopClass = computed(() => props.hasSubNav ? 'top-40' : 'top-32')
const mapHeightClass = computed(() => props.hasSubNav ? 'h-[calc(100vh-11rem)]' : 'h-[calc(100vh-9rem)]')
// Map positioning based on navigation height (no search bar on catalog pages now)
const mapTopClass = computed(() => props.hasSubNav ? 'top-32' : 'top-24')
const mapHeightClass = computed(() => props.hasSubNav ? 'h-[calc(100vh-9rem)]' : 'h-[calc(100vh-7rem)]')
const emit = defineEmits<{
'select': [item: MapItem]