2017-08-10 23:14:45 +02:00
|
|
|
<template>
|
|
|
|
<div id="app">
|
2017-08-12 21:28:33 +02:00
|
|
|
<app-menu :menu="menu" />
|
|
|
|
<main id="app">
|
2017-08-10 23:14:45 +02:00
|
|
|
<router-view></router-view>
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2017-08-12 21:28:33 +02:00
|
|
|
import Menu from '@/components/menu'
|
2017-08-10 23:14:45 +02:00
|
|
|
export default {
|
2017-08-12 21:28:33 +02:00
|
|
|
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";
|
2017-08-12 21:28:33 +02:00
|
|
|
@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;
|
2017-08-12 21:28:33 +02:00
|
|
|
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 {
|
2017-08-12 21:28:33 +02:00
|
|
|
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
|
|
|
|
2017-08-12 21:28:33 +02:00
|
|
|
a {
|
|
|
|
color: $text-color-special;
|
|
|
|
}
|
|
|
|
|
2017-08-10 23:47:40 +02:00
|
|
|
button {
|
2017-08-12 21:28:33 +02:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2017-08-12 21:28:33 +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>
|