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/routes/contact.vue

84 lines
2.2 KiB
Vue
Raw Normal View History

2020-09-23 12:16:56 -07:00
<template>
<div>
2020-09-23 12:16:56 -07:00
<h2>
<Icon v="comment-alt-smile"/>
<T>contact.header</T>
2020-09-23 12:16:56 -07:00
</h2>
2020-10-10 13:24:11 -07:00
<section>
2021-10-16 09:42:35 -07:00
<nuxt-link v-if="config.faq.enabled" :to="`/${config.faq.route}`"
class="btn btn-outline-primary border m-1"
>
<Icon v="map-marker-question"/>
<T>faq.header</T>
</nuxt-link>
<a v-for="link in links" :key="link.url"
2021-10-16 09:42:35 -07:00
:href="link.url" target="_blank" rel="noopener"
class="btn btn-outline-primary border m-1">
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
{{link.headline}}
2020-10-10 13:24:11 -07:00
</a>
2020-09-23 12:16:56 -07:00
</section>
<section class="small">
2021-10-16 09:38:23 -07:00
<p v-if="$te('contact.faq')">
<Icon v="map-marker-question"/>
<T>contact.faq</T>
</p>
<p v-if="$te('contact.technical')">
<Icon v="cogs"/>
<T>contact.technical</T>
</p>
<p>
<Icon v="language"/>
<T>localise.long</T>
2022-01-26 07:28:08 -08:00
<LocaleLink locale="en" link="/new-version">
<T>localise.longLink</T>
</LocaleLink>
</p>
2021-10-16 09:38:23 -07:00
<p v-if="$te('contact.quote')">
<Icon v="quote-right"/>
<T>contact.quote</T>
</p>
2021-10-16 09:38:23 -07:00
<p v-if="$te('contact.hate')">
<Icon v="hand-middle-finger"/>
<T>contact.hate</T>
</p>
</section>
2020-10-10 13:24:11 -07:00
<section>
2020-11-23 08:41:12 -08:00
<h3 class="mb-3">
2020-10-10 13:24:11 -07:00
<Icon v="users"/>
<T>contact.authors</T>
</h3>
<Authors bigteam/>
2020-10-10 13:24:11 -07:00
</section>
2020-10-10 13:40:40 -07:00
2021-09-05 03:25:52 -07:00
<Support id="support"/>
2021-07-24 05:55:24 -07:00
<Mission/>
2020-09-23 12:16:56 -07:00
</div>
</template>
<script>
2020-09-23 12:29:55 -07:00
import { head } from "../src/helpers";
import {getContactLinks, getSocialLinks} from '../src/contact';
2020-09-23 12:29:55 -07:00
2020-09-23 12:16:56 -07:00
export default {
data() {
return {
links: [...getContactLinks(this.config), ...getSocialLinks(this.config)],
};
},
2020-09-23 12:16:56 -07:00
head() {
2020-09-23 12:29:55 -07:00
return head({
title: this.$t('contact.header'),
2020-09-23 12:29:55 -07:00
});
2020-09-23 12:16:56 -07:00
},
}
</script>