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

89 lines
4.1 KiB
Vue
Raw Normal View History

2020-07-22 13:19:23 -07:00
<template>
2020-10-28 08:22:29 -07:00
<footer v-if="config.header">
2020-07-22 13:19:23 -07:00
<Separator icon="user-friends"/>
2020-09-18 07:55:15 -07:00
<div class="d-flex flex-column flex-md-row justify-content-around mt-4 mb-5">
<div class="small text-center d-flex flex-column justify-content-center">
2020-09-14 10:23:17 -07:00
<p class="mb-2">
<T>contact.authors</T>:
2020-09-14 10:23:17 -07:00
</p>
2020-09-23 12:16:56 -07:00
<Authors/>
2020-09-25 09:23:02 -07:00
<p>
2021-04-06 06:15:59 -07:00
<T>footer.license</T>
2020-09-14 10:23:17 -07:00
</p>
2020-07-26 08:35:07 -07:00
</div>
2020-09-24 14:08:13 -07:00
<div class="text-center d-flex flex-column justify-content-center">
<div class="my-2">
<p class="small mb-0">
<Icon v="users"/>
<T>footer.links</T>:
</p>
<div class="mb-3" :class="['d-flex', config.links.socials.length > 2 ? 'flex-column' : 'flex-row', 'justify-content-center', 'align-items-center']">
<span>
<SquareButton
v-for="link in [...config.contact.contacts, ...config.links.socials]" :key="link.url"
:link="link.url"
:aria-label="link.icon"
>
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
</SquareButton>
</span>
<span>
<SquareButton link="https://avris.it" aria-label="avris.it">
<img src="~assets/avris.svg" alt="Avris"/>
</SquareButton>
<SquareButton v-for="s in config.support.links" :key="s.url" :link="s.url" :aria-label="s.headline">
<Icon :v="s.icon" :set="s.iconSet || 'l'"/>
</SquareButton>
<SquareButton link="https://gitlab.com/Avris/Zaimki" aria-label="GitLab">
<Icon v="gitlab" set="b"/>
</SquareButton>
</span>
</div>
</div>
<div class="my-2">
<ul v-if="config.user.enabled" class="list-inline small">
<li v-if="config.faq.enabled && config.links.split" class="list-inline-item">
<nuxt-link :to="`/${config.faq.route}`">
<Icon v="map-marker-question"/>
<T>faq.header</T>
</nuxt-link>
</li>
<li class="list-inline-item">
<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>
</ul>
2021-09-08 14:55:36 -07:00
<ul v-if="config.user.enabled" class="list-inline small">
<li class="list-inline-item">
<nuxt-link :to="`/${config.user.termsRoute}`">
<Icon v="gavel"/>
<T>terms.header</T>
</nuxt-link>
</li>
<li class="list-inline-item">
<nuxt-link :to="`/license`">
<Icon v="gavel"/>
OQL 1.0
</nuxt-link>
</li>
</ul>
</div>
<div class="my-2">
<Share/>
</div>
<div class="my-2">
<ModeSwitch/>
2020-09-14 10:23:17 -07:00
</div>
</div>
</div>
2020-07-22 13:19:23 -07:00
</footer>
</template>