website/app/components/MainFooter.vue

79 lines
2.1 KiB
Vue
Raw Normal View History

2026-07-19 08:50:50 +02:00
<script setup lang="ts">
2026-07-19 09:03:11 +02:00
import footerLinks from '~/composables/MainFooter'
2026-07-19 08:50:50 +02:00
const { t } = useLocale()
</script>
2026-05-13 01:04:57 +02:00
<template>
<UFooter>
<template #top>
2026-05-13 03:19:37 +02:00
<UFooterColumns
:links="footerLinks"
class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-12"
>
2026-05-13 01:04:57 +02:00
<template #left>
<div class="flex flex-col gap-4">
<div class="flex items-center gap-3">
<AppLogo class="h-10 w-auto" />
<span class="archivo-black text-2xl text-white tracking-tighter uppercase">
Spacebar
</span>
</div>
<div class="text-sm text-gray-400 space-y-1">
2026-07-19 08:50:50 +02:00
<p>Copyright {{ new Date().getFullYear() }}</p>
<p>{{ t.footer?.siteMaintained }}</p>
<p>{{ t.footer?.developedBy }}</p>
2026-05-13 03:19:37 +02:00
2026-05-13 01:04:57 +02:00
<p class="mt-4 max-w-[320px] leading-snug text-gray-500">
2026-07-19 08:50:50 +02:00
{{ t.footer?.description }}
2026-05-13 01:04:57 +02:00
</p>
</div>
</div>
</template>
</UFooterColumns>
</template>
<template #left>
<span class="text-sm text-gray-500">
2026-07-19 08:50:50 +02:00
© {{ new Date().getFullYear() }} {{ t.footer?.copyright }}
2026-05-13 01:04:57 +02:00
</span>
</template>
<template #right>
<div class="flex gap-2">
2026-05-13 03:19:37 +02:00
<UButton
icon="i-simple-icons-patreon"
color="neutral"
variant="ghost"
to="https://www.patreon.com/splatfestival"
2026-05-13 01:04:57 +02:00
target="_blank"
2026-05-13 03:19:37 +02:00
aria-label="Patreon"
2026-05-13 01:04:57 +02:00
/>
2026-05-13 03:19:37 +02:00
<UButton
icon="i-simple-icons-discord"
color="neutral"
variant="ghost"
to="https://discord.gg/grMSxZf"
2026-05-13 01:04:57 +02:00
target="_blank"
2026-05-13 03:19:37 +02:00
aria-label="Discord"
2026-05-13 01:04:57 +02:00
/>
2026-05-13 03:19:37 +02:00
<UButton
icon="i-simple-icons-gitea"
color="neutral"
variant="ghost"
to="https://git.spbr.net/spacebar"
2026-05-13 01:04:57 +02:00
target="_blank"
2026-05-13 03:19:37 +02:00
aria-label="Forgejo"
2026-05-13 01:04:57 +02:00
/>
</div>
</template>
</UFooter>
</template>
<style scoped>
.archivo-black {
font-family: "Archivo Black", sans-serif;
font-weight: 400;
font-style: normal;
}
2026-05-13 03:19:37 +02:00
</style>