mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 05:18:10 +00:00
chore(footer): added github release link to footer's app version
This commit is contained in:
@@ -3,7 +3,8 @@
|
|||||||
<div>
|
<div>
|
||||||
©
|
©
|
||||||
<a href="https://td2.info.pl/profile/?u=20777" target="_blank">Spythere</a>
|
<a href="https://td2.info.pl/profile/?u=20777" target="_blank">Spythere</a>
|
||||||
{{ new Date().getUTCFullYear() }} | v{{ VERSION }}{{ !isOnProductionHost ? 'dev' : '' }}
|
{{ new Date().getUTCFullYear() }} |
|
||||||
|
<a class="release-link" :href="githubReleaseHref" target="_blank">v{{ VERSION }}{{ !isOnProductionHost ? 'dev' : '' }}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text--grayed" v-if="store.vehiclesData">
|
<div class="text--grayed" v-if="store.vehiclesData">
|
||||||
@@ -33,6 +34,10 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
|
githubReleaseHref() {
|
||||||
|
return `https://github.com/Spythere/pojazdownik/releases/tag/${this.VERSION}`;
|
||||||
|
},
|
||||||
|
|
||||||
vehiclesCounters() {
|
vehiclesCounters() {
|
||||||
let counters = {
|
let counters = {
|
||||||
all: 0,
|
all: 0,
|
||||||
@@ -60,4 +65,12 @@ footer {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0 0.5em 0.5em 0.5em;
|
padding: 0 0.5em 0.5em 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.release-link {
|
||||||
|
color: var(--accentColor);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user