2020-09-23 12:16:56 -07:00
|
|
|
<template>
|
2021-01-12 11:06:59 -08:00
|
|
|
<ul class="list-unstyled">
|
|
|
|
<li class="mb-2">
|
|
|
|
<Icon v="collective-logo.svg"/>
|
|
|
|
<nuxt-link :to="`/${config.contact.team.route}`">
|
|
|
|
<T>contact.team.name</T>
|
2020-12-29 09:44:06 -08:00
|
|
|
</nuxt-link>
|
2020-09-23 12:16:56 -07:00
|
|
|
</li>
|
2021-02-01 09:51:33 -08:00
|
|
|
<li v-for="author in config.contact.authors || []" class="mb-2">
|
|
|
|
<Icon :v="author.group ? 'users' : 'user'"/>
|
|
|
|
<a :href="author.link" target="_blank" rel="noopener">
|
2021-03-19 12:34:34 -07:00
|
|
|
<Spelling :text="author.name"/>
|
2021-02-01 09:51:33 -08:00
|
|
|
</a>
|
|
|
|
</li>
|
2021-01-12 11:06:59 -08:00
|
|
|
<li v-if="authors === undefined">
|
|
|
|
<Spinner/>
|
|
|
|
</li>
|
|
|
|
<template v-else>
|
|
|
|
<li v-for="author in authors" class="mb-2">
|
|
|
|
<Icon v="user"/>
|
2021-03-19 12:34:34 -07:00
|
|
|
<Spelling :text="author.footerName"/>
|
2021-01-22 14:54:24 -08:00
|
|
|
<nuxt-link :to="`/@${author.username}`" class="badge bg-light text-dark border">
|
2021-01-12 11:06:59 -08:00
|
|
|
@{{author.username}}
|
|
|
|
</nuxt-link>
|
|
|
|
<br/>
|
|
|
|
<small>
|
|
|
|
{{author.footerAreas.replace(/,/g, ', ')}}
|
|
|
|
</small>
|
|
|
|
</li>
|
|
|
|
</template>
|
2020-09-23 12:16:56 -07:00
|
|
|
</ul>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
2021-01-12 11:06:59 -08:00
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
authors: undefined,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
async mounted() {
|
|
|
|
this.authors = await this.$axios.$get(`/admin/list/footer`);
|
2020-09-23 12:16:56 -07:00
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|