add footer
This commit is contained in:
parent
3a6a5379d0
commit
2e4a050af0
7 changed files with 636 additions and 29 deletions
25
app/app.vue
25
app/app.vue
|
|
@ -6,7 +6,24 @@ useHead({
|
|||
})
|
||||
</script>
|
||||
<template>
|
||||
<div class="app-viewport">
|
||||
<NuxtPage />
|
||||
</div>
|
||||
</template>
|
||||
<UApp>
|
||||
<div class="app-viewport">
|
||||
<main class="app-content">
|
||||
<NuxtPage />
|
||||
</main>
|
||||
<MainFooter />
|
||||
</div>
|
||||
</UApp>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.app-viewport {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.app-content {
|
||||
flex: 1;
|
||||
}
|
||||
</style>
|
||||
13
app/components/AppLogo.vue
Normal file
13
app/components/AppLogo.vue
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<template>
|
||||
<img
|
||||
src="/spbr-coloured.png"
|
||||
alt="Spacebar Logo"
|
||||
class="h-10 w-auto object-contain"
|
||||
>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
img {
|
||||
height: 40px;
|
||||
}
|
||||
</style>
|
||||
172
app/components/MainFooter.vue
Normal file
172
app/components/MainFooter.vue
Normal file
|
|
@ -0,0 +1,172 @@
|
|||
<template>
|
||||
<footer class="footer-container">
|
||||
<div class="footer-top max-w-7xl">
|
||||
<div class="footer-brand-col">
|
||||
<div class="brand-title-row">
|
||||
<img src="/spbr-coloured.png" alt="Spacebar Logo" class="brand-logo" />
|
||||
<span class="archivo-black brand-title">SPACEBAR</span>
|
||||
</div>
|
||||
|
||||
<div class="brand-meta">
|
||||
<p>Copyright 2026</p>
|
||||
<p>Site maintained by Spacebar Network</p>
|
||||
<p>Developed by our contributors</p>
|
||||
|
||||
<p class="brand-description">
|
||||
Spacebar Network, shortened as "Spacebar", "SPBR", or as our former name "Splatfestival Network", is a Nintendo Network continuation with the goal of providing the best experience possible. Our servers are designed to be: (A) Fast, (B) Stable, (C) Secure, AND MOST IMPORTANTLY:, (D) With functionality as close to Nintendo Network as possible.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer-bottom max-w-7xl">
|
||||
<div class="copyright-text">
|
||||
© {{ new Date().getFullYear() }} Spacebar Network. All rights reserved.
|
||||
</div>
|
||||
|
||||
<div class="social-links">
|
||||
<a
|
||||
href="https://www.patreon.com/splatfestival"
|
||||
target="_blank"
|
||||
class="social-btn"
|
||||
aria-label="Patreon"
|
||||
>
|
||||
<Icon name="simple-icons:patreon" class="social-icon" />
|
||||
</a>
|
||||
<a
|
||||
href="https://discord.gg/grMSxZf"
|
||||
target="_blank"
|
||||
class="social-btn"
|
||||
aria-label="Discord"
|
||||
>
|
||||
<Icon name="simple-icons:discord" class="social-icon" />
|
||||
</a>
|
||||
<a
|
||||
href="https://git.spbr.net/spacebar"
|
||||
target="_blank"
|
||||
class="social-btn"
|
||||
aria-label="Forgejo"
|
||||
>
|
||||
<Icon name="simple-icons:forgejo" class="social-icon" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.footer-container {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||
color: #8b949e;
|
||||
font-size: 0.875rem;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
margin-top: 100vh;
|
||||
}
|
||||
|
||||
.max-w-7xl {
|
||||
max-width: 80rem;
|
||||
margin: 0 auto;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
|
||||
.footer-top {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2.5rem;
|
||||
padding-top: 3rem;
|
||||
padding-bottom: 3rem;
|
||||
}
|
||||
|
||||
.footer-brand-col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
max-width: 480px;
|
||||
}
|
||||
|
||||
.brand-title-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
height: 2.25rem;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.brand-title {
|
||||
color: #ffffff;
|
||||
font-size: 1.5rem;
|
||||
letter-spacing: -0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.archivo-black {
|
||||
font-family: "Archivo Black", sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.brand-meta {
|
||||
color: #8b949e;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.brand-description {
|
||||
margin-top: 1rem;
|
||||
color: #6e7681;
|
||||
font-size: 0.825rem;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.footer-bottom {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding-top: 1.5rem;
|
||||
padding-bottom: 2rem;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.footer-bottom {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
|
||||
.copyright-text {
|
||||
color: #6e7681;
|
||||
font-size: 0.825rem;
|
||||
}
|
||||
|
||||
.social-links {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.social-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 2.25rem;
|
||||
height: 2.25rem;
|
||||
border-radius: 6px;
|
||||
color: #8b949e;
|
||||
transition: all 0.15s ease-in-out;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.social-btn:hover {
|
||||
background-color: rgba(255, 255, 255, 0.08);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.social-icon {
|
||||
width: 1.2rem;
|
||||
height: 1.2rem;
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in a new issue