diff --git a/components/navbar.vue b/components/navbar.vue
index c003f5c..b3d5825 100644
--- a/components/navbar.vue
+++ b/components/navbar.vue
@@ -7,17 +7,15 @@
@@ -155,51 +86,26 @@
Menu open: "block", Menu closed: "hidden"
-->
-
+
-
-
-
-

-
-
-
Tom Cook
-
tom@example.com
-
-
-
+ v-for="(item, index) in items"
+ :key="index"
+ :href="item.url"
+ :class="[
+ 'mt-1 block px-3 py-2 rounded-md text-base font-medium text-gray-300 hover:text-white hover:bg-gray-700 focus:outline-none focus:text-white focus:bg-gray-700 transition duration-150 ease-in-out',
+ ($nuxt.$route.path === item.url) ? 'text-white bg-gray-900 hover:text-white' : 'text-gray-300 hover:bg-gray-700'
+ ]"
+ >
+ {{ item.label }}
+
+
@@ -226,6 +132,11 @@ export default {
// },
])
}
+ },
+ data: function () {
+ return {
+ isOpen: false
+ }
}
}