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

143 lines
5.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 links" :key="link.url" class="mb-2">
2021-12-16 04:23:01 -08:00
<a :href="link.url" target="_blank" rel="me">
2021-12-08 08:21:27 -08:00
<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">
2021-12-16 04:23:01 -08:00
<a :href="link.url" target="_blank" rel="me">
2021-12-08 08:21:27 -08:00
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
{{link.headline}}
</a>
</li>
</ul>
2021-12-29 06:04:26 -08:00
<div class="mt-2 mb-4 text-center">
2021-12-29 06:04:26 -08:00
<ModeSwitch/>
</div>
<!--
<p class="h6 mb-2">
<T>share</T><T>quotation.colon</T>
</p>
<div class="my-2">
<Share nolabel/>
</div>
-->
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>
<p v-if="$te('footer.ageLimit')">
<Icon v="exclamation-triangle"/>
<T>footer.ageLimit</T>
</p>
2021-12-08 08:21:27 -08:00
<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>
<li class="mb-2">
<Icon v="money-bill-wave-alt"/>
<Financial/>
</li>
2021-12-08 08:21:27 -08:00
</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>
2021-12-29 06:04:26 -08:00
2021-12-08 08:21:27 -08:00
<p class="h6 mb-2">
2021-12-29 06:04:26 -08:00
<T>footer.sibling</T><T>quotation.colon</T>
2021-12-08 08:21:27 -08:00
</p>
2021-12-29 06:04:26 -08:00
<Siblings/>
2020-09-14 10:23:17 -07:00
</div>
</div>
2021-12-29 06:04:26 -08:00
<EasterEgg/>
2022-05-07 05:26:59 -07:00
<UkraineBanner class="my-3"/>
2021-12-08 08:21:27 -08:00
</div>
2020-07-22 13:19:23 -07:00
</footer>
2021-12-16 04:23:01 -08:00
<div v-else>
2021-12-16 07:08:28 -08:00
<a v-for="link in links" :key="link.url" :href="link.url" target="_blank" rel="me">&nbsp;</a>
2021-12-16 04:23:01 -08:00
<a v-for="link in supportLinks" :key="link.url" :href="link.url" target="_blank" rel="me">&nbsp;</a>
</div>
2020-07-22 13:19:23 -07:00
</template>
2021-12-08 08:21:27 -08:00
<script>
import {getContactLinks, getSocialLinks, getSupportLinks} from '../src/contact';
2021-12-08 08:21:27 -08:00
export default {
data() {
return {
links: [...getContactLinks(this.config), ...getSocialLinks(this.config)],
supportLinks: [...getSupportLinks(this.config)],
};
},
2021-12-08 08:21:27 -08:00
}
</script>