about summary refs log tree commit diff
path: root/src/App.vue
blob: 1016a3f8eafb1281a2b04f7b3fface88f6a7521c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<template>
  <div id="app">
    <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, Footer },
  data() {
    return {
      routes,
      externalRoutes: [],
      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;
}

#app {
  font-family: "Roboto Slab", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #181818;
  text-align: center;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#content {
  flex: 1;
}
</style>