summaryrefslogtreecommitdiff
path: root/master/src/views/Home.vue
blob: 180383ff25a214db4a1801a1a1be5b91eb772f52 (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="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>