fix: new page ProductsView
This commit is contained in:
@@ -18,6 +18,25 @@ const authStore = useAuthStore()
|
||||
</div>
|
||||
<span class="font-semibold text-gray-900 dark:text-white">TimeTracker</span>
|
||||
</RouterLink>
|
||||
|
||||
<!-- Navigation Tabs (only when authenticated) -->
|
||||
<nav v-if="authStore.isAuthenticated" class="hidden md:flex items-center gap-1">
|
||||
<RouterLink
|
||||
:to="{ name: 'home' }"
|
||||
class="px-3 py-1.5 text-sm font-medium text-black dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors"
|
||||
active-class="bg-gray-100 dark:bg-gray-700!"
|
||||
>
|
||||
{{ $t('nav.chart') }}
|
||||
</RouterLink>
|
||||
<RouterLink
|
||||
:to="{ name: 'products' }"
|
||||
class="px-3 py-1.5 text-sm font-medium text-black dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors"
|
||||
active-class="bg-gray-100 dark:bg-gray-700!"
|
||||
>
|
||||
{{ $t('nav.products') }}
|
||||
</RouterLink>
|
||||
</nav>
|
||||
|
||||
<!-- Right Side Actions -->
|
||||
<div class="flex items-center gap-2">
|
||||
<!-- Language Switcher -->
|
||||
|
||||
Reference in New Issue
Block a user