✨ feature: Menu bar component updated
This commit is contained in:
parent
6bb72c9147
commit
efc442316c
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user