fix(ui): hide SubNavigation on home page, reorder sections, remove description
All checks were successful
Build Docker Image / build (push) Successful in 4m9s
All checks were successful
Build Docker Image / build (push) Successful in 4m9s
This commit is contained in:
@@ -19,8 +19,8 @@
|
|||||||
<!-- Global Search Bar -->
|
<!-- Global Search Bar -->
|
||||||
<GlobalSearchBar v-if="showSearch" class="border-b border-base-300" />
|
<GlobalSearchBar v-if="showSearch" class="border-b border-base-300" />
|
||||||
|
|
||||||
<!-- Sub Navigation (section-specific tabs) -->
|
<!-- Sub Navigation (section-specific tabs) - hidden on home page -->
|
||||||
<SubNavigation :section="currentSection" />
|
<SubNavigation v-if="!isHomePage" :section="currentSection" />
|
||||||
|
|
||||||
<!-- Page content -->
|
<!-- Page content -->
|
||||||
<main class="flex-1 flex flex-col min-h-0 px-3 lg:px-6 py-4">
|
<main class="flex-1 flex flex-col min-h-0 px-3 lg:px-6 py-4">
|
||||||
@@ -80,11 +80,14 @@ const currentSection = computed(() => {
|
|||||||
return 'catalog'
|
return 'catalog'
|
||||||
})
|
})
|
||||||
|
|
||||||
// Show search bar only on main page
|
// Home page detection
|
||||||
const showSearch = computed(() => {
|
const isHomePage = computed(() => {
|
||||||
return route.path === '/' || route.path === '/en' || route.path === '/ru'
|
return route.path === '/' || route.path === '/en' || route.path === '/ru'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Show search bar only on main page
|
||||||
|
const showSearch = computed(() => isHomePage.value)
|
||||||
|
|
||||||
// Avatar generation
|
// Avatar generation
|
||||||
const generateUserAvatar = async (seed: string) => {
|
const generateUserAvatar = async (seed: string) => {
|
||||||
if (!seed) return
|
if (!seed) return
|
||||||
|
|||||||
@@ -34,7 +34,6 @@
|
|||||||
<Section variant="plain">
|
<Section variant="plain">
|
||||||
<Stack gap="8" align="center">
|
<Stack gap="8" align="center">
|
||||||
<Heading :level="2">{{ $t('roles.title') }}</Heading>
|
<Heading :level="2">{{ $t('roles.title') }}</Heading>
|
||||||
<Text align="center" tone="muted">{{ $t('about.description') }}</Text>
|
|
||||||
|
|
||||||
<Grid :cols="1" :md="3" :gap="6">
|
<Grid :cols="1" :md="3" :gap="6">
|
||||||
<Card padding="lg">
|
<Card padding="lg">
|
||||||
|
|||||||
Reference in New Issue
Block a user