diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-01 19:42:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-01 19:42:19 +0200 |
commit | 11b4d4779d7c955f99ababa5b7abe9281912de08 (patch) | |
tree | be6289a6c5972312584cc315425171b828c8bf58 /layouts/default.vue | |
parent | 89837b8756590bd97b82450c6a445702f7ab5077 (diff) | |
parent | 89a60dbbbadee2fbccddddc47e92aaf8dce6525a (diff) | |
download | puszcza-11b4d4779d7c955f99ababa5b7abe9281912de08.tar.gz puszcza-11b4d4779d7c955f99ababa5b7abe9281912de08.zip |
Merge pull request #2 from 19pdh/develop
Merge from develop
Diffstat (limited to 'layouts/default.vue')
-rw-r--r-- | layouts/default.vue | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/layouts/default.vue b/layouts/default.vue new file mode 100644 index 0000000..8feaff6 --- /dev/null +++ b/layouts/default.vue @@ -0,0 +1,81 @@ +<template> + <div id="app"> + <NavBar + :routes="routes" + :externalRoutes="externalRoutes" + title="19 PDH Puszcza" + logo="/assets/krajka-logo.svg" + /> + <nuxt id="content" /> + <Footer :routes="routes" :specialRoutes="specialRoutes" /> + </div> +</template> + +<script> +import NavBar from '../components/NavBar.vue' +import Footer from '../components/Footer.vue' + +export default { + name: 'app', + components: { NavBar, Footer }, + data() { + return { + routes: [ + { path: '/', name: 'Home' }, + { path: '/o-nas', name: 'O nas' }, + { path: '/download', name: 'Do pobrania' }, + { path: '/kontakt', name: 'Kontakt' } + ], + externalRoutes: [ + // { + // path: 'https://kronika-puszcza.netlify.com', + // name: 'Kronika' + // }, + // { path: 'https://kronika-puszcza.netlify.com/galeria', name: 'Galeria' } + ], + specialRoutes: [ + // { + // name: 'Akcja "Ratujmy pszczoły"', + // path: "/ratujmy-pszczoly" + // } + ] + } + } +} +</script> + +<style> +@import url('https://fonts.googleapis.com/css?family=Roboto+Slab&display=swap'); + +html, +body { + padding: 0; + margin: 0; +} + +* { + box-sizing: border-box; +} + +#app { + font-family: 'Roboto Slab', serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + color: #181818; + text-align: center; + align-items: center; + + display: flex; + flex-direction: column; + min-height: 100vh; +} + +#content { + flex: 1; + width: 100%; + + display: flex; + flex-direction: column; + align-items: center; +} +</style> |