feat(landing): slim status section, hero, and server-card icon
- Remove the stat-grid from the status section (server card only); prune the now-orphaned site.stats, MOD_COUNT_KEY, statLabels (3 locales), and .stat-grid/.tile CSS. - Empty-roster message -> "Nobody online", now localized (status.empty in en/es/eu) and wired to both ServerCard instances. - Flatten the server-card icon (drop the inset emboss bevel on .sc-icon). - Drop "Solo LAN" (hero metaLan) from the hero meta row; prune metaLan (3 locales). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
b9929da54d
commit
33b9ebc7f6
6 files changed
+9
-56
No files matched your search
@@ -43,7 +43,6 @@ export interface UI {
|
||||
copyIp: string;
|
||||
howToJoin: string;
|
||||
metaModpack: string;
|
||||
metaLan: string;
|
||||
};
|
||||
status: {
|
||||
eyebrow: string;
|
||||
@@ -52,8 +51,8 @@ export interface UI {
|
||||
modded: string;
|
||||
motd: string;
|
||||
upTo: string;
|
||||
empty: string; // shown on the ServerCard when nobody is online
|
||||
};
|
||||
statLabels: [string, string, string, string];
|
||||
members: {
|
||||
eyebrow: string;
|
||||
title: string;
|
||||
@@ -194,7 +193,6 @@ export const ui: Record<Lang, UI> = {
|
||||
copyIp: "Copy IP",
|
||||
howToJoin: "How to Join",
|
||||
metaModpack: "NeoForge modpack",
|
||||
metaLan: "LAN-only",
|
||||
},
|
||||
status: {
|
||||
eyebrow: "Server",
|
||||
@@ -203,8 +201,8 @@ export const ui: Record<Lang, UI> = {
|
||||
modded: "Modded",
|
||||
motd: "NeoForge modpack · Simple Voice Chat · LAN-only",
|
||||
upTo: "up to",
|
||||
empty: "Nobody online",
|
||||
},
|
||||
statLabels: ["Mods", "NeoForge", "Player slots", "World backups"],
|
||||
members: {
|
||||
eyebrow: "El valle",
|
||||
title: "Who's on the server.",
|
||||
@@ -376,7 +374,6 @@ export const ui: Record<Lang, UI> = {
|
||||
copyIp: "Copiar IP",
|
||||
howToJoin: "Cómo entrar",
|
||||
metaModpack: "Pack NeoForge",
|
||||
metaLan: "Solo LAN",
|
||||
},
|
||||
status: {
|
||||
eyebrow: "Servidor",
|
||||
@@ -385,8 +382,8 @@ export const ui: Record<Lang, UI> = {
|
||||
modded: "Con mods",
|
||||
motd: "Pack NeoForge · Simple Voice Chat · Solo LAN",
|
||||
upTo: "hasta",
|
||||
empty: "No hay nadie conectado",
|
||||
},
|
||||
statLabels: ["Mods", "NeoForge", "Plazas", "Copias del mundo"],
|
||||
members: {
|
||||
eyebrow: "El valle",
|
||||
title: "Quién está en el servidor.",
|
||||
@@ -558,7 +555,6 @@ export const ui: Record<Lang, UI> = {
|
||||
copyIp: "Kopiatu IPa",
|
||||
howToJoin: "Nola sartu",
|
||||
metaModpack: "NeoForge packa",
|
||||
metaLan: "LAN soilik",
|
||||
},
|
||||
status: {
|
||||
eyebrow: "Zerbitzaria",
|
||||
@@ -567,8 +563,8 @@ export const ui: Record<Lang, UI> = {
|
||||
modded: "Mod-duna",
|
||||
motd: "NeoForge packa · Simple Voice Chat · LAN soilik",
|
||||
upTo: "gehienez",
|
||||
empty: "Inor ez dago konektatuta",
|
||||
},
|
||||
statLabels: ["Modak", "NeoForge", "Plazak", "Munduaren babeskopiak"],
|
||||
members: {
|
||||
eyebrow: "El valle",
|
||||
title: "Nor dago zerbitzarian.",
|
||||
|
||||
Reference in new issue
Block a user