You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
<template>
|
|
|
|
|
<div class="row" id="status-bar">
|
|
|
|
|
<div class="col-12 pixel-border-static status-bar-inner">
|
|
|
|
|
<div class="float-end time-display">
|
|
|
|
|
{{ $store.state.time.season }}, Week #{{ $store.state.time.week }}<br/>
|
|
|
|
|
{{ $store.state.time.stamp }} | {{ weekday }}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
Money: {{ $store.state.player.money.toLocaleString() }}$
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import Weekdays from "@/data/Weekdays";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "StatusBar",
|
|
|
|
|
computed: {
|
|
|
|
|
weekday() {
|
|
|
|
|
return Weekdays[this.$store.state.time.weekday];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
#status-bar {
|
|
|
|
|
font-family: Pixellari, sans-serif;
|
|
|
|
|
margin: 1em 0.5em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.time-display {
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-bar-inner {
|
|
|
|
|
text-align: left;
|
|
|
|
|
background-color: white;
|
|
|
|
|
border-radius: 25px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|