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 82cbcb1 commit cadd552
Showing 1 changed file with 9 additions and 23 deletions.
32 changes: 9 additions & 23 deletions components/Navbar.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
<template>
<div class="navbar-container bg-transparent">
<Menubar :model="items" class="bg-transparent text-white navbar">
<div>
<Menubar :model="items" class="bg-transparent border-transparent">
<template #item="{ item, props }">
<a v-ripple v-bind="props.action" class="hover:bg-gray-700 rounded-md">
<span :class="item.icon" />
<span>{{ item.label }}</span>
</a>
</template>
</Menubar>
</div>
</template>
Expand Down Expand Up @@ -44,24 +50,4 @@ const items = ref<Item[]>([HOME, LOGIN]);
if (status.value === "authenticated") {
items.value = [HOME, PROFILE, LOGOUT];
}
</script>

<style scoped>
.navbar {
outline: none;
border: none;
box-shadow: none;
}
.navbar-container {
padding: 0 20px;
}
.Menubar a {
color: white;
}
.Menubar a:hover {
color: #cbd5e0;
}
</style>
</script>

0 comments on commit cadd552

Please sign in to comment.