about summary refs log tree commit diff
path: root/pages/oboz/2020.vue
blob: 335a24b8868fe31a6cc4ddfe91556571b1a08158 (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<template>
  <section class="oboz">
    <div class="header">
      <h1>Obóz 2020</h1>
      <div class="troops">
        <h3>19 PDH Puszcza</h3>
        <h3>7 PDH Binduga</h3>
        <h3>7 PDH Watra</h3>
      </div>
    </div>
    <div class="mapouter">
      <div class="gmap_canvas">
        <iframe
          id="gmap_canvas"
          src="https://maps.google.com/maps?q=Jezioro%20Spore&t=&z=13&ie=UTF8&iwloc=&output=embed"
          frameborder="0"
          scrolling="no"
          marginheight="0"
          marginwidth="0"
        />
      </div>
    </div>
    <h3 style="margin-top: 10vh">Tutaj niedługo znajdziesz relacje z obozu</h3>
    <pure-post-list loading />
  </section>
</template>

<script>
import PurePostList from '~/components/Posts/PostList/PurePostList'
export default {
  components: {
    PurePostList
  }
}
</script>

<style scoped>
.header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 15vmax 0;
}

h1 {
  font-size: 2em;
  background: black;
  color: white;
  padding: 0.5em 1em;
  width: max-content;
}

.troops {
  display: flex;
  flex-direction: row;
}

.troops h3 {
  margin: 10px;
}

@media (max-width: 480px) {
  .troops {
    flex-direction: column;
  }
}

.mapouter,
.gmap_canvas,
#gmap_canvas {
  width: 100%;
  height: 50vh;
  max-height: 300px;
}
</style>