mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
[header] show all language versions for now
This commit is contained in:
parent
7975d79ed5
commit
5ce2878562
@ -7,6 +7,7 @@
|
||||
<T>title</T>
|
||||
</nuxt-link>
|
||||
</h1>
|
||||
<!--
|
||||
<Dropdown v-if="Object.keys(locales).length > 1" btnClass="btn-outline-secondary btn-sm">
|
||||
<template v-slot:toggle>
|
||||
<Icon v="language"/>
|
||||
@ -21,6 +22,16 @@
|
||||
</li>
|
||||
</template>
|
||||
</Dropdown>
|
||||
-->
|
||||
<div class="btn-group">
|
||||
<a v-for="(options, locale) in locales" :key="locale"
|
||||
:href="options.url"
|
||||
:class="'btn btn-sm ' + (locale === config.locale ? 'btn-secondary disabled' : 'btn-outline-secondary')"
|
||||
:disabled="locale === config.locale"
|
||||
>
|
||||
{{options.name}}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-block d-md-none">
|
||||
<div class="btn-group-vertical btn-block nav-custom mb-2">
|
||||
|
Loading…
x
Reference in New Issue
Block a user