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

@@ -23,7 +23,7 @@
<SubNavigation :section="currentSection" />
<!-- Page content -->
<main class="flex-1 flex flex-col min-h-0 px-3 lg:px-6">
<main class="flex-1 flex flex-col min-h-0 px-3 lg:px-6 py-4">
<slot />
</main>
</div>
@@ -80,9 +80,9 @@ const currentSection = computed(() => {
return 'catalog'
})
// Show search bar on catalog pages
// Show search bar only on main page
const showSearch = computed(() => {
return currentSection.value === 'catalog'
return route.path === '/' || route.path === '/en' || route.path === '/ru'
})
// Avatar generation