From 39d2fcc94ccd73db489590e1c327a6b34e0e73a3 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Thu, 6 May 2021 20:20:37 +0000
Subject: feat(global): :star:

---
 src/views/Home.vue | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 src/views/Home.vue

(limited to 'src/views/Home.vue')

diff --git a/src/views/Home.vue b/src/views/Home.vue
new file mode 100644
index 0000000..d70e565
--- /dev/null
+++ b/src/views/Home.vue
@@ -0,0 +1,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>
-- 
cgit v1.2.3

