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/components/Footer.vue

116 lines
4.4 KiB
Vue
Raw Normal View History

2020-07-22 13:19:23 -07:00
<template>
2021-12-08 08:21:27 -08:00
<footer v-if="config.header" class="bg-light border-top shadow mt-5">
<div class="container-wide py-5">
<div class="row">
<div class="col-12 col-md-6 col-lg-4 small">
<p class="h6 mb-2">
2021-12-02 08:18:25 -08:00
<T>contact.authors</T><T>quotation.colon</T>
2020-09-14 10:23:17 -07:00
</p>
2020-09-23 12:16:56 -07:00
<Authors/>
2021-12-08 08:21:27 -08:00
</div>
<div class="col-12 col-md-6 col-lg-4 small">
<p class="h6 mb-2">
<T>footer.links</T><T>quotation.colon</T>
</p>
<ul class="list-unstyled mb-4">
<li v-if="config.faq.enabled" class="mb-2">
<nuxt-link :to="`/${config.faq.route}`">
<Icon v="map-marker-question"/>
<T>faq.headerLong</T>
</nuxt-link>
</li>
<li v-for="link in [...config.contact.contacts, ...config.links.socials]" :key="link.url" class="mb-2">
<a :href="link.url">
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
{{link.headline}}
</a>
</li>
</ul>
2021-12-08 08:21:27 -08:00
<p class="h6 mb-2">
<T>support.header</T><T>quotation.colon</T>
2020-09-14 10:23:17 -07:00
</p>
2021-12-08 08:21:27 -08:00
<ul class="list-unstyled mb-4">
<li v-for="link in supportLinks()" :key="link.url" class="mb-2">
<a :href="link.url">
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
{{link.headline}}
</a>
</li>
</ul>
2020-07-26 08:35:07 -07:00
</div>
2021-12-08 08:21:27 -08:00
<div class="col-12 col-md-6 col-lg-4 small">
<p class="h6 mb-2">
<T>footer.legal</T><T>quotation.colon</T>
</p>
<ul class="list-unstyled mb-4">
<li class="mb-2">
<nuxt-link :to="`/${config.user.termsRoute}`">
<Icon v="gavel"/>
<T>terms.header</T>
</nuxt-link>
</li>
<li class="mb-2">
<Icon v="gavel"/>
<T>footer.license</T>
</li>
<li class="mb-2">
<Icon v="tools"/>
2021-11-15 12:11:25 -08:00
Using <a href="https://www.gradientmagic.com/" target="_blank" rel="noopener">gradientmagic.com</a>
and <a href="https://twemoji.twitter.com/" target="_blank" rel="noopener">Twemoji</a>
2021-12-08 08:21:27 -08:00
</li>
</ul>
<p class="h6 mb-2">
<T>footer.technical</T><T>quotation.colon</T>
</p>
<ul class="list-unstyled mb-4">
<li class="mb-2">
<nuxt-link v-if="config.api !== null" to="/api">
<Icon v="laptop-code"/>
<T>api.header</T>
</nuxt-link>
<LocaleLink v-else locale="en" link="/api">
<Icon v="laptop-code"/>
<T>api.header</T>
</LocaleLink>
</li>
<li class="mb-2">
<a href="https://gitlab.com/Avris/Zaimki" target="_blank" rel="noopener">
<Icon v="gitlab" set="b"/>
Source code
</a>
</li>
<li class="mb-2">
<a href="https://avris.it" target="_blank" rel="noopener">
<Icon v="avris.svg"/>
avris.it
</a>
</li>
</ul>
<p class="h6 mb-2">
<T>share</T><T>quotation.colon</T>
</p>
<div class="my-2">
2021-12-08 08:21:27 -08:00
<Share nolabel shareApiSeparate/>
</div>
<div class="my-2">
<ModeSwitch/>
2020-09-14 10:23:17 -07:00
</div>
</div>
</div>
2021-12-08 08:21:27 -08:00
<EasterEgg/>
</div>
2020-07-22 13:19:23 -07:00
</footer>
</template>
2021-12-08 08:21:27 -08:00
<script>
import support from '../plugins/support';
export default {
mixins: [support],
}
</script>