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.
2020-11-29 02:03:01 -08:00
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
<h2>
|
|
|
|
<T>pronouns.avoiding.header</T>
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<T>pronouns.avoiding.description</T>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<section v-for="idea in $t('pronouns.avoiding.ideas')">
|
|
|
|
<h3>{{idea.header}}</h3>
|
2020-12-01 10:06:21 -08:00
|
|
|
<p v-if="idea.description">
|
|
|
|
{{idea.description}}
|
|
|
|
</p>
|
2020-11-29 02:03:01 -08:00
|
|
|
<ul>
|
|
|
|
<li v-for="[exampleFrom, exampleTo] in idea.examples">
|
2021-05-12 13:41:01 -07:00
|
|
|
<LinkedText :text="exampleFrom"/> → <strong><LinkedText :text="exampleTo"/></strong>
|
2020-11-29 02:03:01 -08:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</section>
|
2021-05-21 08:25:29 -07:00
|
|
|
|
|
|
|
<section v-if="sources && Object.keys(sources).length">
|
|
|
|
<Literature :sources="sources"/>
|
|
|
|
</section>
|
2020-11-29 02:03:01 -08:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2021-05-21 08:25:29 -07:00
|
|
|
import {SourceLibrary} from "../src/classes";
|
2020-11-29 02:03:01 -08:00
|
|
|
import { head } from "../src/helpers";
|
|
|
|
|
|
|
|
export default {
|
2021-05-21 08:25:29 -07:00
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
sources: undefined,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
async mounted() {
|
|
|
|
this.sources = {
|
|
|
|
'': new SourceLibrary(await this.$axios.$get(`/sources?pronoun=${this.config.pronouns.avoiding}`)).getForPronoun(this.config.pronouns.avoiding),
|
|
|
|
};
|
|
|
|
},
|
2020-11-29 02:03:01 -08:00
|
|
|
head() {
|
|
|
|
return head({
|
|
|
|
title: this.$t('pronouns.avoiding.header'),
|
|
|
|
});
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|