2021-07-24 20:56:37 +02:00
|
|
|
<template>
|
2021-07-25 13:03:34 +02:00
|
|
|
<NavBar />
|
2021-07-24 20:56:37 +02:00
|
|
|
<router-view />
|
|
|
|
</template>
|
|
|
|
|
2021-07-25 13:03:34 +02:00
|
|
|
<script lang="ts">
|
2021-07-25 13:23:25 +02:00
|
|
|
import { defineComponent } from 'vue'
|
|
|
|
import NavBar from '@/components/NavBar.vue'
|
2021-07-25 13:03:34 +02:00
|
|
|
|
2021-07-25 13:23:25 +02:00
|
|
|
export default defineComponent({
|
|
|
|
name: 'App',
|
|
|
|
components: {
|
|
|
|
NavBar,
|
|
|
|
},
|
|
|
|
})
|
2021-07-25 13:03:34 +02:00
|
|
|
</script>
|
|
|
|
|
2021-07-24 20:56:37 +02:00
|
|
|
<style lang="scss">
|
2021-07-25 13:23:25 +02:00
|
|
|
#app {
|
|
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
text-align: center;
|
|
|
|
color: #2c3e50;
|
|
|
|
}
|
2021-07-24 20:56:37 +02:00
|
|
|
|
2021-07-25 13:23:25 +02:00
|
|
|
#nav {
|
|
|
|
padding: 30px;
|
2021-07-24 20:56:37 +02:00
|
|
|
|
2021-07-25 13:23:25 +02:00
|
|
|
a {
|
|
|
|
font-weight: bold;
|
|
|
|
color: #2c3e50;
|
2021-07-24 20:56:37 +02:00
|
|
|
|
2021-07-25 13:23:25 +02:00
|
|
|
&.router-link-exact-active {
|
|
|
|
color: #42b983;
|
|
|
|
}
|
2021-07-24 20:56:37 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|