✨ 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,
|
logoText: undefined,
|
||||||
breakpoints: '960px',
|
breakpoints: '960px',
|
||||||
quickLinks: undefined,
|
quickLinks: undefined,
|
||||||
menuLabel: undefined
|
menuLabel: undefined,
|
||||||
|
logoPath: '/home',
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -23,7 +24,7 @@ const props = withDefaults(defineProps<IVMenuBar>(), {
|
||||||
class="p-menubar"
|
class="p-menubar"
|
||||||
>
|
>
|
||||||
<template #start>
|
<template #start>
|
||||||
<RouterLink to="/" class="logo-container">
|
<RouterLink :to=props.logoPath class="logo-container">
|
||||||
<div v-if="$slots.logo" class="logo">
|
<div v-if="$slots.logo" class="logo">
|
||||||
<slot name="logo"/>
|
<slot name="logo"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user