about summary refs log tree commit diff
path: root/layouts
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-12-05 11:56:11 -0500
committerGitHub <noreply@github.com>2019-12-05 11:56:11 -0500
commitcd7fa1fb5d499e51b9f2bc833159ee4581b8f2a8 (patch)
treebe10296e0268295db20c536af045c5df6c829a0e /layouts
parent070b7725be5fb0db486e9370bea5648c16c8bbfe (diff)
parent34908ab59f58f3d5b229867c84d8b51b07c777d4 (diff)
downloadpuszcza-cd7fa1fb5d499e51b9f2bc833159ee4581b8f2a8.tar.gz
puszcza-cd7fa1fb5d499e51b9f2bc833159ee4581b8f2a8.zip
Merge pull request #13 from 19pdh/storybook
Storybook
Diffstat (limited to 'layouts')
-rw-r--r--layouts/default.vue32
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%;