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