feat: / locales

This commit is contained in:
kittentm 2026-07-19 08:54:03 +02:00
commit ad1c7b89f1
Signed by: kitten
GPG key ID: 394B4EABE4405A83
2 changed files with 54 additions and 15 deletions

View file

@ -11,5 +11,39 @@
"developedBy": "Developed by our contributors",
"description": "Spacebar Network (SPBR) is an extension of Splatfestival Network (SPFN), which aims to be a Nintendo Network recreation primarily for hosting Splatfests. Spacebar is separate from this purpose, though we remain partnered with Splatfestival.",
"copyright": "Spacebar Network. All rights reserved."
},
"home": {
"spotlight": {
"titlePart1": "We do justice to the Wii ",
"titlePart2": "U",
"subtext": "Our service is designed to give the Wii U the treatment it deserves: pure royalty. We are dedicated to providing a stable, secure, and authentic online experience that recaptures the original magic of the Nintendo Network. By prioritizing reliability and nostalgia, we ensure that your favorite console remains a vibrant portal to the games and communities you love.",
"hintText": "Pssst.. our codebase is open source! Check out our Forgejo repository to see how we bring the Wii U back to life, and maybe even contribute yourself: "
},
"featuresSection": {
"title": "Everything you miss about the Wii U online experience",
"description": "Spacebar Network is built from the ground up, and we use everything in our power to make the experience fast.",
"items": {
"stable": {
"title": "Stable Experience",
"description": "Unlike other services, ours aims to be lightweight and efficient, allowing us to support more players than ever seen before."
},
"secure": {
"title": "Safe & Secure",
"description": "Active moderation and robust server architecture keep the community friendly, toxic-free, and safe for all."
},
"openSource": {
"title": "Open Source Spirit",
"description": "Built by fans, for fans. Our server frameworks are transparent, community-reviewed, and open for contributions from fellow developers."
}
}
},
"ctaSection": {
"title": "Dust off your GamePad",
"description": "The Wii U era doesn't have to end. Join Spacebar Network today and help build a thriving, nostalgic community of active players.",
"links": {
"guide": "Setup Guide",
"repo": "Forgejo Repository"
}
}
}
}

View file

@ -1,3 +1,7 @@
<script setup lang="ts">
const { t } = useLocale()
</script>
<template>
<div>
<section class="gamepad-spotlight-container">
@ -11,13 +15,14 @@
</div>
<div class="text-wrapper">
<h1 class="archivo-black title">
We do justice to the Wii <span class="text-wiiu-blue">U</span>.
{{ t.home?.spotlight?.titlePart1 }}<span class="text-wiiu-blue">{{ t.home?.spotlight?.titlePart2 }}</span>.
</h1>
<p class="subtext">
Our service is designed to give the Wii U the treatment it deserves: pure royalty. We are dedicated to providing a stable, secure, and authentic online experience that recaptures the original magic of the Nintendo Network. By prioritizing reliability and nostalgia, we ensure that your favorite console remains a vibrant portl to the games and communities you love.
{{ t.home?.spotlight?.subtext }}
</p>
<p class="hint-text">
Pssst.. our codebase is open source! Check out our Forgejo repository to see how we bring the Wii U back to life, and maybe even contribute yourself: <a
{{ t.home?.spotlight?.hintText }}
<a
href="https://git.spbr.net/spacebar"
target="_blank"
class="text-blue-400 underline"
@ -29,35 +34,35 @@
<UPageSection
id="features"
title="Everything you miss about the Wii U online experience"
description="Spacebar Network is built from the ground up, and we use everything in our power to make the experience fast."
:title="t.home?.featuresSection?.title"
:description="t.home?.featuresSection?.description"
:features="[{
icon: 'i-octicon-cpu-24',
title: 'Stable Experience',
description: 'Unlike other services, ours aims to be lightweight and efficient, allowing us to support more players than ever seen before.'
title: t.home?.featuresSection?.items?.stable?.title,
description: t.home?.featuresSection?.items?.stable?.description
}, {
icon: 'i-octicon-shield-check-24',
title: 'Safe & Secure',
description: 'Active moderation and robust server architecture keep the community friendly, toxic-free, and safe for all.'
title: t.home?.featuresSection?.items?.secure?.title,
description: t.home?.featuresSection?.items?.secure?.description
}, {
icon: 'i-octicon-code-24',
title: 'Open Source Spirit',
description: 'Built by fans, for fans. Our server frameworks are transparent, community-reviewed, and open for contributions from fellow developers.'
title: t.home?.featuresSection?.items?.openSource?.title,
description: t.home?.featuresSection?.items?.openSource?.description
}]"
/>
<UPageSection>
<UPageCTA
title="Dust off your GamePad"
description="The Wii U era doesn't have to end. Join Spacebar Network today and help build a thriving, nostalgic community of active players."
:title="t.home?.ctaSection?.title"
:description="t.home?.ctaSection?.description"
variant="subtle"
:links="[{
label: 'Setup Guide',
label: t.home?.ctaSection?.links?.guide,
to: '/docs/connect',
trailingIcon: 'i-octicon-arrow-right-24',
color: 'neutral'
}, {
label: 'Forgejo Repository',
label: t.home?.ctaSection?.links?.repo,
to: 'https://git.spbr.net/spacebar',
target: '_blank',
icon: 'i-simple-icons-gitea',