From 804f13402078a025924f5a42c479dd418f985112 Mon Sep 17 00:00:00 2001
From: HampusM <hampus@hampusmat.com>
Date: Mon, 23 May 2022 15:30:53 +0200
Subject: feat(master): add display single minion temperature reading

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

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

diff --git a/master/src/views/Home.vue b/master/src/views/Home.vue
new file mode 100644
index 0000000..180383f
--- /dev/null
+++ b/master/src/views/Home.vue
@@ -0,0 +1,41 @@
+<template>
+	<div class="home">
+		<div id="title-container">
+			<span>Gymnasiearbete</span>
+		</div>
+		<div id="minion-list">
+			<Minion
+				name="Skyddsling 1"
+				ip="10.0.1.179"
+			/>
+		</div>
+	</div>
+</template>
+
+<script lang="ts">
+import { Options, Vue } from "vue-class-component";
+import Minion from "@/components/MinionStatus.vue";
+
+@Options({
+	components: {
+		Minion
+	}
+})
+export default class HomeView extends Vue {}
+</script>
+
+<style scoped lang="scss">
+#title-container {
+    display: flex;
+    justify-content: center;
+    margin-top: 2em;
+
+    span {
+        font-size: 2.5rem;
+    }
+}
+
+#minion-list {
+    margin: 3em;
+}
+</style>
-- 
cgit v1.2.3-18-g5258

