Feat(Router): create all pages

This commit is contained in:
2018-11-30 08:42:04 +01:00
parent 8dcc83a756
commit 4cd9d45d9e
4 changed files with 29 additions and 18 deletions

View File

@@ -1,15 +1,14 @@
<template>
<b-navbar toggleable="md" variant="light">
<b-navbar-toggle target="nav_collapse"></b-navbar-toggle>
<b-navbar-brand href="#">
<font-awesome-icon icon="file-invoice-dollar" />
<b-navbar-brand :to="{ name: 'home'}">
<font-awesome-icon icon="file-invoice-dollar" /> Comptes
</b-navbar-brand>
<b-collapse is-nav id="nav_collapse">
<b-navbar-nav>
<b-nav-item :to="{ name: 'home' }">Comptes</b-nav-item>
<b-nav-item :to="{ name: 'analysis' }">Analyse</b-nav-item>
<b-nav-item :to="{ name: 'import' }">Import</b-nav-item>
<b-nav-item :to="{ name: 'postes' }">Postes</b-nav-item>
</b-navbar-nav>
@@ -27,4 +26,15 @@ export default {
</script>
<style scoped>
.navbar {
}
.navbar a {
color: #dc3545;
}
.navbar a.router-link-exact-active {
font-weight: bold;
color: #42b983;
}
</style>