download news once per hour

This commit is contained in:
2023-06-26 18:02:38 +02:00
parent bdaa3bc029
commit a2b8b40464
2 changed files with 25 additions and 0 deletions
+10
View File
@@ -4,6 +4,7 @@
<h1>Guild Master</h1>
<h3>Adventurer's guild management game</h3>
<small>v{{ version }}</small>
<p class="news">{{ news }}</p>
</section>
<section class="upgrades panel pinned-paper">
<div class="nail top-left">
@@ -56,6 +57,10 @@ export default defineComponent({
}
},
props: {
news: {
type: String,
default: "",
},
guild: {
type: Object as PropType<Guild>,
default: () => new Guild(1, 0) as Guild,
@@ -80,6 +85,11 @@ main {
}
}
.news {
max-width: 75%;
color: #ab0707;
}
.coffer {
text-align: center;