Created keret

This commit is contained in:
2021-06-11 23:51:58 +02:00
parent 2388a5a587
commit bac428238d
12 changed files with 157 additions and 137 deletions

View File

@@ -1,32 +1,50 @@
<template>
<div id="app">
<div id="nav">
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link>
<navbar/>
<div id="content">
<b-container>
<router-view/>
</b-container>
</div>
<router-view/>
<div id="footer">
<b-container>
<footer-content/>
</b-container>
</div>
</div>
</template>
<script>
import Navbar from "@/components/Navbar";
import FooterContent from "@/components/FooterContent";
export default {
components: {
FooterContent,
Navbar
},
}
</script>
<style>
#content {
margin-top: 70px;
margin-bottom: 20px;
}
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
display: flex;
flex-direction: column;
min-height: 100vh;
}
#nav {
padding: 30px;
}
#nav a {
font-weight: bold;
color: #2c3e50;
}
#nav a.router-link-exact-active {
color: #42b983;
#footer {
padding: 1em;
margin-top: auto;
background: #E9ECEF;
}
</style>