#133 link to other languages in /link and homepage

This commit is contained in:
Andrea Vos 2020-12-21 21:10:31 +01:00
parent 287082e6c3
commit 22922ea146
6 changed files with 22 additions and 0 deletions

View 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>

View File

@ -296,6 +296,7 @@ links:
social: 'Social media' social: 'Social media'
languageVersions: 'Other language versions'
people: ~ people: ~

View File

@ -296,6 +296,7 @@ links:
social: 'Social media' social: 'Social media'
languageVersions: 'Other language versions'
people: ~ people: ~

View File

@ -758,6 +758,8 @@ links:
social: 'Social media' social: 'Social media'
languageVersions: 'Inne wersje językowe'
people: people:
header: 'Znane osoby' header: 'Znane osoby'
headerLong: 'Zaimki znanych osób' headerLong: 'Zaimki znanych osób'

View File

@ -207,6 +207,7 @@
<section> <section>
<Media/> <Media/>
<Socials/> <Socials/>
<LanguageVersions/>
</section> </section>
</div> </div>
</template> </template>

View File

@ -3,6 +3,7 @@
<Links top/> <Links top/>
<Media/> <Media/>
<Socials/> <Socials/>
<LanguageVersions/>
<Recommended/> <Recommended/>
<section> <section>