mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 12:03:25 -04:00
#133 link to other languages in /link and homepage
This commit is contained in:
parent
287082e6c3
commit
22922ea146
16
components/LanguageVersions.vue
Normal file
16
components/LanguageVersions.vue
Normal file
@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<section v-if="Object.keys(locales).length >= 3">
|
||||
<h2 class="mb-3">
|
||||
<Icon v="language"/>
|
||||
<T>links.languageVersions</T>
|
||||
</h2>
|
||||
<ul class="list-unstyled">
|
||||
<li v-for="(options, locale) in locales" :key="locale" v-if="locale !== config.locale">
|
||||
<Icon v="long-arrow-right"/>
|
||||
<a :href="options.url">
|
||||
{{options.name}}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</template>
|
@ -296,6 +296,7 @@ links:
|
||||
|
||||
social: 'Social media'
|
||||
|
||||
languageVersions: 'Other language versions'
|
||||
|
||||
people: ~
|
||||
|
||||
|
@ -296,6 +296,7 @@ links:
|
||||
|
||||
social: 'Social media'
|
||||
|
||||
languageVersions: 'Other language versions'
|
||||
|
||||
people: ~
|
||||
|
||||
|
@ -758,6 +758,8 @@ links:
|
||||
|
||||
social: 'Social media'
|
||||
|
||||
languageVersions: 'Inne wersje językowe'
|
||||
|
||||
people:
|
||||
header: 'Znane osoby'
|
||||
headerLong: 'Zaimki znanych osób'
|
||||
|
@ -207,6 +207,7 @@
|
||||
<section>
|
||||
<Media/>
|
||||
<Socials/>
|
||||
<LanguageVersions/>
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -3,6 +3,7 @@
|
||||
<Links top/>
|
||||
<Media/>
|
||||
<Socials/>
|
||||
<LanguageVersions/>
|
||||
<Recommended/>
|
||||
|
||||
<section>
|
||||
|
Loading…
x
Reference in New Issue
Block a user