diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-12-06 17:42:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-06 17:42:16 -0500 |
commit | c1bb2e70e0a85227df899eccc6ac8cf661afe350 (patch) | |
tree | a12f43e34e0d32e68f0a14c9512b2b08af54829b /layouts | |
parent | faaf63ad895bd51541a9984273d52c71645a0b28 (diff) | |
parent | c7306cfdbaa50c89639fe38bb1b4005ed3555422 (diff) | |
download | puszcza-c1bb2e70e0a85227df899eccc6ac8cf661afe350.tar.gz puszcza-c1bb2e70e0a85227df899eccc6ac8cf661afe350.zip |
Merge pull request #14 from 19pdh/develop
Storybook and license
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/default.vue | 32 |
1 files changed, 9 insertions, 23 deletions
diff --git a/layouts/default.vue b/layouts/default.vue index bf00e77..f47adde 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -1,22 +1,24 @@ <template> <div id="app"> - <NavBar + <the-header :routes="routes" title="19 PDH Puszcza" logo="/assets/krajka-logo.svg" /> - <nuxt id="content" /> - <Footer :routes="routes" /> + <main class="content"> + <nuxt class="content" /> + </main> + <the-footer :routes="routes" /> </div> </template> <script> -import NavBar from '../components/NavBar.vue' -import Footer from '../components/Footer.vue' +import TheHeader from '../components/TheHeader.vue' +import TheFooter from '../components/TheFooter.vue' export default { name: 'app', - components: { NavBar, Footer }, + components: { TheHeader, TheFooter }, data() { return { routes: [ @@ -31,23 +33,7 @@ export default { </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; @@ -56,7 +42,7 @@ body { min-height: 100vh; } -#content { +.content { flex: 1; width: 100%; |