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

56 lines
1.5 KiB
Vue
Raw Normal View History

2020-09-23 12:16:56 -07:00
<template>
<div class="container">
<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>
2020-10-10 13:42:16 -07:00
<a v-for="link in [...config.contact.contacts, ...config.links.socials]" :key="link.url"
2020-10-10 13:24:11 -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}}
</a>
2020-09-23 12:16:56 -07:00
</section>
2020-10-10 13:24:11 -07:00
<section>
<h3>
<Icon v="users"/>
<T>contact.authors</T>
</h3>
<Authors expanded/>
</section>
2020-10-10 13:40:40 -07:00
<section>
<h3>
<Icon v="people-carry"/>
<T>support.header</T>
</h3>
<p><T>support.description</T></p>
<p>
2020-10-10 13:42:16 -07:00
<a v-for="link in config.support.links" :key="link.url"
2020-10-10 13:40:40 -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}}
</a>
</p>
</section>
2020-09-23 12:16:56 -07:00
</div>
</template>
<script>
2020-09-23 12:29:55 -07:00
import { head } from "../src/helpers";
2020-10-10 13:24:11 -07:00
import Icon from "../components/Icon";
2020-09-23 12:29:55 -07:00
2020-09-23 12:16:56 -07:00
export default {
2020-10-10 13:24:11 -07:00
components: {Icon},
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>