chore(footer): added github release link to footer's app version

This commit is contained in:
2026-04-06 00:44:08 +02:00
parent 8b6e38d18c
commit 4afff41230
+14 -1
View File
@@ -3,7 +3,8 @@
<div> <div>
&copy; &copy;
<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>