traxxx/assets/components/footer/footer.vue

61 lines
986 B
Vue
Raw Permalink Normal View History

2020-08-15 17:04:33 +00:00
<template>
<footer class="footer">
<span class="segment">© traxxx</span>
<router-link
:to="{ name: 'stats' }"
class="segment footer-link nolink"
>stats</router-link>
2021-04-15 14:11:16 +00:00
<a
v-if="config.discord"
:href="config.discord"
target="_blank"
rel="noopener noreferrer"
class="segment footer-link nolink discord"
><Icon icon="discord" /></a>
2020-08-15 17:04:33 +00:00
</footer>
</template>
<style lang="scss" scoped>
.footer {
2021-04-15 14:11:16 +00:00
display: flex;
justify-content: center;
align-items: center;
background: var(--background-dim);
2020-08-15 17:04:33 +00:00
color: var(--shadow);
font-size: .8rem;
font-weight: bold;
box-shadow: inset -3px 0 3px var(--shadow-hint);
2020-08-15 17:04:33 +00:00
}
.segment {
2021-04-15 14:11:16 +00:00
display: inline-flex;
align-items: center;
2020-08-15 17:04:33 +00:00
padding: .5rem;
&:not(:last-child) {
border-right: solid 1px var(--shadow-hint);
}
}
.footer-link {
text-decoration: underline;
&:hover {
color: var(--primary);
2021-04-15 14:11:16 +00:00
.icon {
fill: var(--primary);
}
}
}
.discord {
.icon {
fill: var(--shadow);
width: 4rem;
}
2020-08-15 17:04:33 +00:00
}
</style>