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>
|
||||
©
|
||||
<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 class="text--grayed" v-if="store.vehiclesData">
|
||||
@@ -33,6 +34,10 @@ export default defineComponent({
|
||||
},
|
||||
|
||||
computed: {
|
||||
githubReleaseHref() {
|
||||
return `https://github.com/Spythere/pojazdownik/releases/tag/${this.VERSION}`;
|
||||
},
|
||||
|
||||
vehiclesCounters() {
|
||||
let counters = {
|
||||
all: 0,
|
||||
@@ -60,4 +65,12 @@ footer {
|
||||
text-align: center;
|
||||
padding: 0 0.5em 0.5em 0.5em;
|
||||
}
|
||||
|
||||
.release-link {
|
||||
color: var(--accentColor);
|
||||
|
||||
&:hover {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user