site links

This commit is contained in:
ManjaroOne666 2019-01-04 12:09:44 +00:00
parent c196292536
commit 9e0487c6a3
1 changed files with 12 additions and 1 deletions

View File

@ -3,7 +3,14 @@
class="menu-drawer menu-layout"
@click="$emit('toggleMenu')">
<div class="menu-content">
<nav class="menu-content__body"></nav>
<nav class="menu-content__body">
<ul class="site-nav">
<li v-for="item in siteNav"
:key="item.to">
<nuxt-link :to="item.to">{{ item.text }}</nuxt-link>
</li>
</ul>
</nav>
<footer class="menu-content__footer"></footer>
</div>
<div class="menu-header">
@ -23,6 +30,10 @@ export default {
data () {
return {
siteNav: [
{ 'to': '/', 'text': 'Home'},
{ 'to': '/galleries', 'text': 'Galleries' }
]
}
},