about summary refs log tree commit diff
path: root/pages/do-pobrania.vue
blob: 453b8d43fc3527629a75c88a11008b84f94cbf60 (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
<template>
  <div class="container">
    <h1>Do pobrania</h1>
    <a
      v-for="{ file, title } in files"
      :key="file"
      class="link"
      :href="`/files/${file}`"
    >
      {{ title }}
    </a>
  </div>
</template>

<script>
export default {
  data() {
    return {
      files: [
        {
          file: 'Karta_próby_na_sprawność.pdf',
          title: 'Karta próby na sprawność'
        },
        { file: 'Próba_Harcerza.pdf', title: 'Próba Harcerza' },
        { file: 'Książeczka_sprawności.pdf', title: 'Książeczka sprawności' }
      ]
    }
  }
}
</script>

<style scoped>
.container {
  display: flex;
  flex-direction: column;
}

.link {
  margin: 5px;
}
</style>