birbcontrol/src/App.vue

51 lines
674 B
Vue
Raw Normal View History

2021-06-11 18:27:35 +02:00
<template>
<div id="app">
2021-06-11 23:51:58 +02:00
<navbar/>
<div id="content">
<b-container>
<router-view/>
</b-container>
2021-06-11 18:27:35 +02:00
</div>
2021-06-11 23:51:58 +02:00
<div id="footer">
<b-container>
<footer-content/>
</b-container>
</div>
2021-06-11 18:27:35 +02:00
</div>
</template>
2021-06-11 23:51:58 +02:00
<script>
import Navbar from "@/components/Navbar";
import FooterContent from "@/components/FooterContent";
export default {
components: {
FooterContent,
Navbar
},
2021-06-11 18:27:35 +02:00
}
2021-06-11 23:51:58 +02:00
</script>
2021-06-11 18:27:35 +02:00
2021-06-11 23:51:58 +02:00
<style>
#content {
margin-top: 70px;
margin-bottom: 20px;
2021-06-11 18:27:35 +02:00
}
2021-06-11 23:51:58 +02:00
#app {
display: flex;
flex-direction: column;
min-height: 100vh;
2021-06-11 18:27:35 +02:00
}
2021-06-11 23:51:58 +02:00
#footer {
padding: 1em;
margin-top: auto;
background: #E9ECEF;
2021-06-11 18:27:35 +02:00
}
</style>