Skip to content

Commit

Permalink
navbar bg
Browse files Browse the repository at this point in the history
  • Loading branch information
GMBueno committed Sep 24, 2024
1 parent cadd552 commit 7e0ddc0
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions components/Navbar.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<template>
<div>
<Menubar :model="items" class="bg-transparent border-transparent">
<Menubar :model="items">
<template #item="{ item, props }">
<a v-ripple v-bind="props.action" class="hover:bg-gray-700 rounded-md">
<a v-ripple v-bind="props.action">
<span :class="item.icon" />
<span>{{ item.label }}</span>
</a>
</template>
</Menubar>
</div>
</template>

<script setup lang="ts">
Expand Down Expand Up @@ -50,4 +48,11 @@ const items = ref<Item[]>([HOME, LOGIN]);
if (status.value === "authenticated") {
items.value = [HOME, PROFILE, LOGOUT];
}
</script>
</script>

<style scoped>
.p-menubar {
background: transparent;
border: none;
}
</style>

0 comments on commit 7e0ddc0

Please sign in to comment.