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-23 10:04:57 +0200
committerGitHub <noreply@github.com>2019-08-23 10:04:57 +0200
commit89837b8756590bd97b82450c6a445702f7ab5077 (patch)
treeca3d763976eab9d1541d68687e38c87bd11990ec /src/App.vue
parenta76e153bf1390237ab75969f40df3abfe6da0a75 (diff)
parent8dfa61884580a5966c0b48f5ce5dc16828f489c4 (diff)
downloadpuszcza-89837b8756590bd97b82450c6a445702f7ab5077.tar.gz
puszcza-89837b8756590bd97b82450c6a445702f7ab5077.zip
Merge pull request #1 from pniedzwiedzinski/develop
Add navigation and files
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue29
1 files changed, 23 insertions, 6 deletions
diff --git a/src/App.vue b/src/App.vue
index ac76592..0497a35 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,27 +1,44 @@
 <template>
   <div id="app">
-    <h1>19 PDH Puszcza</h1>
-    <img alt="Work in progress" src="./assets/wip.png" />
-    <h3>Strona w trakcie budowy</h3>
+    <NavBar :routes="routes" :externalRoutes="externalRoutes" title="19 PDH Puszcza" />
+    <!-- logo="assets/krajka-logo.svg" -->
+    <router-view></router-view>
   </div>
 </template>
 
 <script>
+import NavBar from "./components/NavBar.vue";
+import { routes, externalRoutes } from "./router/index";
+
 export default {
   name: "app",
-  components: {}
+  components: { NavBar },
+  data() {
+    return {
+      routes,
+      externalRoutes: []
+    };
+  }
 };
 </script>
 
 <style>
 @import url("https://fonts.googleapis.com/css?family=Roboto+Slab&display=swap");
 
+html,
+body {
+  padding: 0;
+  margin: 0;
+}
+
 #app {
   font-family: "Roboto Slab", serif;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
-  text-align: center;
   color: #181818;
-  margin-top: 60px;
+  text-align: center;
+
+  display: flex;
+  flex-direction: column;
 }
 </style>