feature: Menu bar component updated

This commit is contained in:
Paul Valerie GOMA 2025-07-31 13:28:05 +02:00
parent 6bb72c9147
commit efc442316c

View File

@ -11,7 +11,8 @@ const props = withDefaults(defineProps<IVMenuBar>(), {
logoText: undefined,
breakpoints: '960px',
quickLinks: undefined,
menuLabel: undefined
menuLabel: undefined,
logoPath: '/home',
})
</script>
@ -23,7 +24,7 @@ const props = withDefaults(defineProps<IVMenuBar>(), {
class="p-menubar"
>
<template #start>
<RouterLink to="/" class="logo-container">
<RouterLink :to=props.logoPath class="logo-container">
<div v-if="$slots.logo" class="logo">
<slot name="logo"/>
</div>