kandimat-user-app/src/app/app.vue

83 lines
1.4 KiB
Vue
Raw Normal View History

2017-08-10 23:14:45 +02:00
<template>
<div id="app">
<app-menu :menu="menu" />
<main id="app">
2017-08-10 23:14:45 +02:00
<router-view></router-view>
</main>
</div>
</template>
<script>
import Menu from '@/components/menu'
2017-08-10 23:14:45 +02:00
export default {
name: 'Eur-O-Mat',
components: {
'app-menu': Menu
},
data () {
return {
menu: [
{ label: 'Startseite', route: { path: '/' } },
{ label: 'FAQ', route: { path: '/faq' } },
{ label: 'Presse', route: { path: '/presse' } },
{ label: 'Impressum', route: { path: '/impressum' } }
]
}
}
2017-08-10 23:14:45 +02:00
}
</script>
<style lang="scss">
@import "~node_modules/normalize.css/normalize";
@import "~styles/colors";
2017-08-10 23:14:45 +02:00
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
2017-08-10 23:47:40 +02:00
html,
2017-08-10 23:14:45 +02:00
body {
2017-08-10 23:47:40 +02:00
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
2017-08-10 23:14:45 +02:00
}
2017-08-10 23:47:40 +02:00
body {
background: $background-primary;
color: $text-color-base;
2017-08-10 23:14:45 +02:00
font-family: 'Avenir', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
2017-08-10 23:47:40 +02:00
a {
color: $text-color-special;
}
2017-08-10 23:47:40 +02:00
button {
padding: 10px 20px;
background: $button-background;
color: $button-color;
border-radius: 20px;
border: none;
cursor: pointer;
&:active,
&:focus {
outline: none;
background: $yellow;
}
2017-08-10 23:47:40 +02:00
}
#app {
max-width: 650px;
width: 95vw;
2017-08-10 23:47:40 +02:00
}
2017-08-10 23:14:45 +02:00
</style>