Commits After Part 1

This commit is contained in:
fwarren committed 2020-08-01 14:21:29 -07:00
1 parent 083b450fd3
commit c406c11b88
9 files changed
+378 -77

No files matched your search

+44 -30
View File
@@ -1,41 +1,55 @@
<template>
<div id="app">
<img
src="@/assets/logo.png"
alt="Vue.js logo"
title="Vue.js"
class="logo"
/>
<img
src="@/assets/nw.png"
alt="NW.js logo"
title="NW.js"
class="logo"
/>
<HelloWorld msg="Welcome to your Vue.js Desktop App in NW.js!" />
<b-navbar toggleable="lg" type="dark" variant="info">
<b-button class="mr-4" v-b-toggle.sidebar>Menu</b-button>
<b-navbar-brand href="#">NavBar</b-navbar-brand>
</b-navbar>
<b-sidebar id="sidebar" title="Main Menu">
<div class="px-3 py-2">
<b-list-group>
<b-list-group-item href="/#/">
Hours Log
</b-list-group-item>
<b-list-group-item href="/#/projects">
Projects
</b-list-group-item>
</b-list-group>
<div class="dropdown-divider"></div>
<b-list-group class="">
<b-list-group-item href="/">
Exports
</b-list-group-item>
<b-list-group-item href="/">
Settings
</b-list-group-item>
</b-list-group>
</div>
</b-sidebar>
<div id="nav">
</div>
<router-view />
</div>
</template>
<script>
import HelloWorld from '@/components/HelloWorld.vue';
export default {
name: 'App',
components: {
HelloWorld
}
};
</script>
<style>
#app {
margin-top: 60px;
color: #2C3E50;
font-family: 'Avenir', sans-serif;
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
}
.logo {
max-height: 140px;
margin: 0px 10px;
#nav {
padding: 30px;
}
#nav a {
font-weight: bold;
color: #2c3e50;
}
#nav a.router-link-exact-active {
color: #42b983;
}
</style>