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 -->
|
||||
<GlobalSearchBar v-if="showSearch" class="border-b border-base-300" />
|
||||
|
||||
<!-- Sub Navigation (section-specific tabs) -->
|
||||
<SubNavigation :section="currentSection" />
|
||||
<!-- Sub Navigation (section-specific tabs) - hidden on home page -->
|
||||
<SubNavigation v-if="!isHomePage" :section="currentSection" />
|
||||
|
||||
<!-- Page content -->
|
||||
<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'
|
||||
})
|
||||
|
||||
// Show search bar only on main page
|
||||
const showSearch = computed(() => {
|
||||
// Home page detection
|
||||
const isHomePage = computed(() => {
|
||||
return route.path === '/' || route.path === '/en' || route.path === '/ru'
|
||||
})
|
||||
|
||||
// Show search bar only on main page
|
||||
const showSearch = computed(() => isHomePage.value)
|
||||
|
||||
// Avatar generation
|
||||
const generateUserAvatar = async (seed: string) => {
|
||||
if (!seed) return
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
<Section variant="plain">
|
||||
<Stack gap="8" align="center">
|
||||
<Heading :level="2">{{ $t('roles.title') }}</Heading>
|
||||
<Text align="center" tone="muted">{{ $t('about.description') }}</Text>
|
||||
|
||||
<Grid :cols="1" :md="3" :gap="6">
|
||||
<Card padding="lg">
|
||||
|
||||
Reference in New Issue
Block a user