feat : Ajout d'un écran pour afficher les informations d'un bovin

This commit is contained in:
2026-02-02 11:35:10 +01:00
parent 086279f962
commit 6421419812
7 changed files with 192 additions and 71 deletions

View File

@@ -28,6 +28,15 @@
Reception
</a>
</NuxtLink>
<NuxtLink to="/identification-bovin" custom v-slot="{ href, navigate, isActive }">
<a
:href="href"
@click="navigate"
:class="isIdentificationActive ? 'opacity-100' : 'opacity-50'"
>
Identification
</a>
</NuxtLink>
</nav>
<button
type="button"
@@ -50,6 +59,7 @@ import { useAuthStore } from '~/stores/auth'
const route = useRoute()
const auth = useAuthStore()
const isReceptionActive = computed(() => route.path.startsWith('/reception'))
const isIdentificationActive = computed(() => route.path.startsWith('/identification-bovin'))
const handleLogout = async () => {
try {