Add Footer where it was missing

This commit is contained in:
Bubka
2022-07-21 15:46:55 +02:00
parent d88e477496
commit 6e1d27e08c
9 changed files with 31 additions and 15 deletions

View File

@ -7,8 +7,10 @@
</div>
</div>
</div>
<div v-if="$route.name.startsWith('settings.')" class="content has-text-centered is-size-6">
<a class="has-text-grey" href="https://github.com/Bubka/2FAuth"><b>2FAuth</b> <font-awesome-icon :icon="['fab', 'github-alt']" /></a> - v{{ appVersion }}
<div v-if="$route.meta.showAbout === true" class="content has-text-centered is-size-6">
<router-link :to="{ name: 'about' }" class="has-text-grey">
2FAuth <span class="has-text-weight-bold">v{{ appVersion }}</span>
</router-link>
</div>
<div v-else class="content has-text-centered">
<router-link :to="{ name: 'settings.options' }" class="has-text-grey">{{ $t('settings.settings') }}</router-link>