add page navigation

This commit is contained in:
Philipp Kühn
2020-04-18 19:50:06 +02:00
parent 1cbe32a357
commit fe1a647028
4 changed files with 71 additions and 6 deletions

View File

@@ -72,10 +72,6 @@ a {
text-decoration: none;
}
p {
margin-bottom: 1rem;
}
.is-active {
background: black;
color: white;

View File

@@ -26,6 +26,7 @@
</nav>
<main class="app__main">
<slot/>
<page-navigation />
</main>
</div>
</div>
@@ -43,13 +44,18 @@ query {
<script>
import linkGroups from '@/data/links.yaml'
import PageNavigation from '@/components/PageNavigation'
export default {
components: {
PageNavigation,
},
data() {
return {
linkGroups
linkGroups,
}
}
},
}
</script>