site links
This commit is contained in:
parent
c196292536
commit
9e0487c6a3
|
@ -3,7 +3,14 @@
|
||||||
class="menu-drawer menu-layout"
|
class="menu-drawer menu-layout"
|
||||||
@click="$emit('toggleMenu')">
|
@click="$emit('toggleMenu')">
|
||||||
<div class="menu-content">
|
<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>
|
<footer class="menu-content__footer"></footer>
|
||||||
</div>
|
</div>
|
||||||
<div class="menu-header">
|
<div class="menu-header">
|
||||||
|
@ -23,6 +30,10 @@ export default {
|
||||||
|
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
siteNav: [
|
||||||
|
{ 'to': '/', 'text': 'Home'},
|
||||||
|
{ 'to': '/galleries', 'text': 'Galleries' }
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue