2020-09-13 13:15:44 -07:00
|
|
|
<template>
|
2020-11-29 02:03:01 -08:00
|
|
|
<div>
|
2020-09-13 13:15:44 -07:00
|
|
|
<h2>
|
|
|
|
<Icon v="tag"/>
|
2021-12-02 08:18:25 -08:00
|
|
|
<T>pronouns.intro</T><T>quotation.colon</T>
|
2020-09-13 13:15:44 -07:00
|
|
|
</h2>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<div class="alert alert-primary">
|
|
|
|
<h2 class="text-center mb-0">
|
2020-11-10 15:47:44 -08:00
|
|
|
<strong><T>pronouns.any.short</T></strong>
|
2020-09-13 13:15:44 -07:00
|
|
|
</h2>
|
|
|
|
<p class="h6 small text-center mb-0 mt-2">
|
|
|
|
<em>
|
2020-11-10 15:47:44 -08:00
|
|
|
<T>pronouns.any.description</T>
|
|
|
|
(<T>pronouns.any.options</T>)
|
2020-09-13 13:15:44 -07:00
|
|
|
</em>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<h2 class="h4">
|
|
|
|
<Icon v="file-signature"/>
|
2021-12-02 08:18:25 -08:00
|
|
|
<T>pronouns.examples</T><T>quotation.colon</T>
|
2020-09-13 13:15:44 -07:00
|
|
|
</h2>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li v-for="example in examples" class="my-1">
|
2020-11-10 15:47:44 -08:00
|
|
|
<Example :example="example" :pronoun="randomPronoun()" link/>
|
2020-09-13 13:15:44 -07:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
2020-11-10 15:47:44 -08:00
|
|
|
<Share :title="`${$t('pronouns.intro')}: ${$t('pronouns.any.short')}`"/>
|
2020-09-13 13:15:44 -07:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<Separator icon="info"/>
|
|
|
|
<section class="mb-0">
|
|
|
|
<h2 class="h4">
|
|
|
|
<Icon v="info-circle"/>
|
2021-12-02 08:18:25 -08:00
|
|
|
<T>home.whatisit</T><T>quotation.colon</T>
|
2020-09-13 13:15:44 -07:00
|
|
|
</h2>
|
2020-09-28 08:51:26 -07:00
|
|
|
<T>home.about</T>
|
2020-09-13 13:15:44 -07:00
|
|
|
<Homepage align="center"/>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2020-11-10 15:47:44 -08:00
|
|
|
import { examples, pronouns } from "~/src/data";
|
2020-09-23 12:29:55 -07:00
|
|
|
import { head } from "../src/helpers";
|
2020-09-13 13:15:44 -07:00
|
|
|
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
examples: examples,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
head() {
|
2020-09-23 12:29:55 -07:00
|
|
|
return head({
|
2020-11-10 15:47:44 -08:00
|
|
|
title: `${this.$t('pronouns.intro')}: ${this.$t('pronouns.any.short')}`,
|
|
|
|
banner: `api/banner/${this.$t('pronouns.any.short')}.png`,
|
2020-09-23 12:29:55 -07:00
|
|
|
});
|
2020-09-13 13:15:44 -07:00
|
|
|
},
|
|
|
|
methods: {
|
2020-11-10 15:47:44 -08:00
|
|
|
randomPronoun() {
|
|
|
|
const keys = Object.keys(pronouns);
|
|
|
|
return pronouns[keys[keys.length * Math.random() << 0]];
|
2020-09-13 13:15:44 -07:00
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|