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-09-29 10:11:46 -07:00
|
|
|
<template>
|
|
|
|
<div class="container">
|
|
|
|
<h2>
|
|
|
|
<Icon v="user-friends"/>
|
|
|
|
<T>people.headerLonger</T>
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<T>people.intro</T>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<ul class="list-group">
|
|
|
|
<li v-for="person in people" class="list-group-item">
|
|
|
|
<h3 class="h4">
|
|
|
|
<strong>
|
|
|
|
{{person.name}}
|
|
|
|
</strong>
|
|
|
|
</h3>
|
|
|
|
<p>
|
|
|
|
{{person.description}}
|
|
|
|
</p>
|
|
|
|
<ul class="mb-2">
|
|
|
|
<li v-for="(pronouns, locale) in person.pronouns">
|
|
|
|
<T>people.languages.{{locale}}</T>:
|
|
|
|
<ul class="list-inline d-inline">
|
|
|
|
<li v-for="pronoun in pronouns" class="list-inline-item">
|
|
|
|
<a :href="`${locales[locale].url}/${pronoun.link}`" target="_blank" rel="noopener">
|
|
|
|
<strong>{{pronoun.display}}</strong>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2020-11-09 11:11:47 -08:00
|
|
|
<SourceList v-if="person.sources.length" :names="person.sources"/>
|
2020-09-29 10:11:46 -07:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ScrollButton/>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { people } from "~/src/data";
|
|
|
|
import { head } from "../src/helpers";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
people,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
head() {
|
|
|
|
return head({
|
2020-09-30 12:59:41 -07:00
|
|
|
title: this.$t('people.headerLonger'),
|
|
|
|
description: this.$t('people.description'),
|
2020-09-29 10:11:46 -07:00
|
|
|
});
|
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|