This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/locale/pl/nouns/NounsNav.vue

32 lines
982 B
Vue
Raw Normal View History

2020-11-16 13:22:04 -08:00
<template>
<section>
<div class="d-none d-md-inline-flex btn-group btn-block mb-2">
<a v-for="(icon, name) in links" :href="'#' + $t(`nouns.${name}.id`)" class="btn btn-outline-primary">
<Icon :v="icon"/>
<T>nouns.{{name}}.header</T>
</a>
</div>
<div class="d-block d-md-none btn-group-vertical btn-block mb-2">
<a v-for="(icon, name) in links" :href="'#' + $t(`nouns.${name}.id`)" class="btn btn-outline-primary">
<Icon :v="icon"/>
<T>nouns.{{name}}.header</T>
</a>
</div>
2020-11-16 13:22:04 -08:00
</section>
</template>
<script>
export default {
data() {
return {
links: {
2020-11-23 14:14:31 -08:00
neuterNouns: 'deer',
dukajNouns: 'ghost',
personNouns: 'user-friends',
// inclusive: 'book-heart',
}
};
},
}
</script>