mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
chore(profile): improved profile player stats header
This commit is contained in:
@@ -77,8 +77,10 @@
|
||||
|
||||
<div class="player-stats">
|
||||
<div class="stats-driver">
|
||||
<img src="/images/icon-train.svg" width="35" alt="train icon" />
|
||||
<h3>{{ t('profile.stats.header-driver') }}</h3>
|
||||
<h3 class="stats-header">
|
||||
<img src="/images/icon-train.svg" width="30" alt="train icon" />
|
||||
{{ t('profile.stats.header-driver') }}
|
||||
</h3>
|
||||
<hr />
|
||||
|
||||
<div v-if="playerInfo.driverStats.countAll > 0">
|
||||
@@ -142,8 +144,11 @@
|
||||
class="stats-dispatcher"
|
||||
v-if="playerInfo.dispatcherStats && playerInfo.dispatcherStats.services?.count"
|
||||
>
|
||||
<img src="/images/icon-user.svg" width="35" alt="user icon" />
|
||||
<h3>{{ t('profile.stats.header-dispatcher') }}</h3>
|
||||
<h3 class="stats-header">
|
||||
<img src="/images/icon-user.svg" width="30" alt="user icon" />
|
||||
{{ t('profile.stats.header-dispatcher') }}
|
||||
</h3>
|
||||
|
||||
<hr />
|
||||
|
||||
<div>
|
||||
@@ -287,6 +292,13 @@ const activeTrains = computed(() => {
|
||||
}
|
||||
}
|
||||
|
||||
.stats-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5em;
|
||||
}
|
||||
|
||||
.info-activity {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
Reference in New Issue
Block a user