Bump wersji 1.4.7 -> 1.4.8

This commit is contained in:
2021-06-29 19:13:03 +02:00
parent e6f0a16387
commit 3d1de18512
2 changed files with 13 additions and 45 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "stacjownik", "name": "stacjownik",
"version": "1.4.7", "version": "1.4.8",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
+10 -42
View File
@@ -12,25 +12,18 @@
<span class="header_brand"> <span class="header_brand">
<span> <span>
<span>Stacj</span> <span>Stacj</span>
<img <img src="@/assets/trainlogo.png" alt="trainlogo" />
src="@/assets/trainlogo.png"
alt="trainlogo"
/>
<span>wnik</span> <span>wnik</span>
</span> </span>
<span class="brand_lang"> <span class="brand_lang">
<span <span
class="lang pl" class="lang pl"
@click="changeLang('en')" @click="changeLang('en')"
:class="{ current: currentLang == 'pl' }" :class="{ current: currentLang == 'pl' }"
v-if="currentLang == 'pl'" v-if="currentLang == 'pl'"
> >
<img <img :src="iconPL" alt="icon-pl" />
:src="iconPL"
alt="icon-pl"
/>
</span> </span>
<span <span
@@ -39,10 +32,7 @@
:class="{ current: currentLang == 'en' }" :class="{ current: currentLang == 'en' }"
v-if="currentLang == 'en'" v-if="currentLang == 'en'"
> >
<img <img :src="iconEN" alt="icon-en" />
:src="iconEN"
alt="icon-en"
/>
</span> </span>
</span> </span>
</span> </span>
@@ -50,32 +40,19 @@
<span class="header_info"> <span class="header_info">
<Clock /> <Clock />
<div class="info_counter"> <div class="info_counter">
<img <img src="@/assets/icon-dispatcher.svg" alt="icon dispatcher" />
src="@/assets/icon-dispatcher.svg"
alt="icon dispatcher"
/>
<span>{{ data.activeStationCount }}</span> <span>{{ data.activeStationCount }}</span>
<span>{{ data.activeTrainCount }}</span> <span>{{ data.activeTrainCount }}</span>
<img <img src="@/assets/icon-train.svg" alt="icon train" />
src="@/assets/icon-train.svg"
alt="icon train"
/>
</div> </div>
</span> </span>
<span class="header_links"> <span class="header_links">
<router-link <router-link class="route" active-class="route-active" to="/" exact
class="route"
active-class="route-active"
to="/"
exact
>{{ $t("app.sceneries") }} >{{ $t("app.sceneries") }}
</router-link> </router-link>
/ /
<router-link <router-link class="route" active-class="route-active" to="/trains"
class="route"
active-class="route-active"
to="/trains"
>{{ $t("app.trains") }} >{{ $t("app.trains") }}
</router-link> </router-link>
</span> </span>
@@ -83,30 +60,21 @@
</header> </header>
<main class="app_main"> <main class="app_main">
<router-view v-slot="{ Component }"> <router-view v-slot="{ Component }">
<transition <transition name="view-anim" mode="out-in">
name="view-anim"
mode="out-in"
>
<keep-alive> <keep-alive>
<component :is="Component" /> <component :is="Component" />
</keep-alive> </keep-alive>
</transition> </transition>
</router-view> </router-view>
</main> </main>
<footer class="app_footer"> <footer class="app_footer">
&copy; &copy;
<a <a href="https://td2.info.pl/profile/?u=20777" target="_blank">
href="https://td2.info.pl/profile/?u=20777"
target="_blank"
>
Spythere Spythere
</a> </a>
2021 | v{{ VERSION }} 2021 | v{{ VERSION }}
</footer> </footer>
</div> </div>
</div> </div>
@@ -142,7 +110,7 @@ export default defineComponent({
}, },
data: () => ({ data: () => ({
VERSION: "1.4.7", VERSION: "1.4.8",
updateModalVisible: false, updateModalVisible: false,
hasReleaseNotes: false, hasReleaseNotes: false,
currentLang: "pl", currentLang: "pl",