aboutsummaryrefslogtreecommitdiff
path: root/src/views/Home.vue
blob: d70e565fa186077a469db3cd506e7e1917f8da97 (plain) (blame)
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
<template>
  <div class="home">
    <h1>home</h1>

    <div v-if="!isLoading" id="random-image">
      <a :href="random.image">
        <img :src="random.image">
      </a>
    </div>
    <p v-else>
      fetching image...
    </p>

    <p style="white-space: pre-wrap;">hi there, this site is still under construction. if you would
      like to help with anything, feel
      free to!
      <ul>
        <li><a href="https://github.com/senpy-club/api">api</a></li>
        <li><a href="https://github.com/senpy-club/frontend">frontend</a></li>
      </ul>
    </p>
  </div>
</template>

<script>
import { mixins, Options } from 'vue-class-component';
import APIExtendableLanguage from '../mixins';

@Options({})
export default class Language extends mixins(APIExtendableLanguage) {
  async mounted() { await this.fetchRandom(); }
}
</script>