about summary refs log tree commit diff
path: root/src/App.vue
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-28 22:34:06 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-28 22:34:06 +0200
commitaf06d79ac92460ae1a924a7e1d72f5c376c61663 (patch)
tree6b27f0ca99d682414b0fbbd64c125c01906eaba6 /src/App.vue
parent8dfa61884580a5966c0b48f5ce5dc16828f489c4 (diff)
downloadpuszcza-af06d79ac92460ae1a924a7e1d72f5c376c61663.tar.gz
puszcza-af06d79ac92460ae1a924a7e1d72f5c376c61663.zip
Add footer
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue28
1 files changed, 23 insertions, 5 deletions
diff --git a/src/App.vue b/src/App.vue
index 0497a35..1016a3f 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,22 +1,35 @@
 <template>
   <div id="app">
-    <NavBar :routes="routes" :externalRoutes="externalRoutes" title="19 PDH Puszcza" />
-    <!-- logo="assets/krajka-logo.svg" -->
-    <router-view></router-view>
+    <NavBar
+      :routes="routes"
+      :externalRoutes="externalRoutes"
+      title="19 PDH Puszcza"
+      logo="assets/krajka-logo.svg"
+    />
+    <router-view id="content"></router-view>
+    <Footer :routes="routes" :specialRoutes="specialRoutes" />
   </div>
 </template>
 
 <script>
 import NavBar from "./components/NavBar.vue";
+import Footer from "./components/Footer.vue";
+
 import { routes, externalRoutes } from "./router/index";
 
 export default {
   name: "app",
-  components: { NavBar },
+  components: { NavBar, Footer },
   data() {
     return {
       routes,
-      externalRoutes: []
+      externalRoutes: [],
+      specialRoutes: [
+        // {
+        //   name: 'Akcja "Ratujmy pszczoły"',
+        //   path: "/ratujmy-pszczoly"
+        // }
+      ]
     };
   }
 };
@@ -40,5 +53,10 @@ body {
 
   display: flex;
   flex-direction: column;
+  min-height: 100vh;
+}
+
+#content {
+  flex: 1;
 }
 </style>