2024-06-06 00:49:49 +00:00
|
|
|
<template>
|
|
|
|
<footer class="footer">
|
|
|
|
<span class="footer-segment">© traxxx</span>
|
|
|
|
|
|
|
|
<a
|
|
|
|
v-if="env.links.discord"
|
|
|
|
:href="env.links.discord"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
class="footer-segment footer-link nolink discord"
|
2024-11-03 05:30:09 +00:00
|
|
|
><Icon icon="discord-full" /></a>
|
2024-06-06 00:49:49 +00:00
|
|
|
|
|
|
|
<a
|
2024-08-17 23:36:37 +00:00
|
|
|
v-if="env.links.content"
|
|
|
|
:href="env.links.content"
|
2024-06-06 00:49:49 +00:00
|
|
|
target="_blank"
|
|
|
|
class="footer-segment footer-link"
|
2024-08-17 23:36:37 +00:00
|
|
|
>Content Removal / DMCA</a>
|
2024-06-06 00:49:49 +00:00
|
|
|
</footer>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
import { inject } from 'vue';
|
|
|
|
|
|
|
|
const pageContext = inject('pageContext');
|
|
|
|
const { env } = pageContext;
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: stretch;
|
|
|
|
background: var(--background-base-20);
|
|
|
|
box-shadow: inset 0 0 3px var(--shadow-weak-30);
|
|
|
|
font-size: .8rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer-segment {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: .5rem 1rem;
|
2024-06-10 01:24:48 +00:00
|
|
|
color: var(--glass);
|
2024-06-06 00:49:49 +00:00
|
|
|
|
|
|
|
&:not(:first-child) {
|
2024-06-10 01:24:48 +00:00
|
|
|
border-left: solid 1px var(--glass-weak-30);
|
2024-06-06 00:49:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer-link:hover {
|
|
|
|
color: var(--primary);
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
fill: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.discord .icon {
|
|
|
|
height: 1.25rem;
|
|
|
|
width: 3.5rem;
|
2024-06-10 01:24:48 +00:00
|
|
|
fill: var(--glass-strong-10);
|
2024-06-06 00:49:49 +00:00
|
|
|
}
|
|
|
|
</style>
|