add more adventurers

This commit is contained in:
2023-03-19 23:48:46 +01:00
parent e1159914c6
commit e85b28866a
9 changed files with 126 additions and 4 deletions
+13
View File
@@ -3,6 +3,7 @@
<section class="title">
<h1>Guild Master</h1>
<h3>Adventurer's guild management game</h3>
<small>v{{version}}</small>
</section>
<section class="coffer">
<p>Coffer: {{guild.gold}} gold</p>
@@ -25,8 +26,15 @@ import {defineComponent} from "vue";
import type {PropType} from "vue";
import type {Guild} from "@/classes/Guild";
import {version} from "../../package.json"
export default defineComponent({
name: "GuildView",
data() {
return {
version: version,
}
},
props: {
guild: {
type: Object as PropType<Guild>,
@@ -55,6 +63,11 @@ export default defineComponent({
margin: 0;
line-height: 0.9;
}
small {
font-size: 0.9rem;
font-weight: bold;
line-height: 0.25;
}
}
.coffer {
text-align: center;