Refactor navigation and fix UI issues
All checks were successful
Build Docker Image / build (push) Successful in 4m13s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user