feat: author & lang credits for greetings, flag icons, hero banner styling updates

This commit is contained in:
Benjamin Singleton 2026-02-09 23:39:07 -06:00 committed by Sheldon Cooper
parent 169ef685ce
commit 3c0e46c9ab
8 changed files with 42 additions and 4 deletions

View file

@ -1,15 +1,23 @@
import type { VilanticId } from "./vilantic";
export interface Greeting {
title: string;
subtitle: string;
author: string;
lang: VilanticId;
}
export const GREETINGS = [
{
title: "BRÅTULA VIOSSA.NET MÅDE",
subtitle: "Hadjiplas per lera para Viossa glossa fu vi",
author: "Jez",
lang: "viossa",
},
{
title: "akka po viossa.net!",
subtitle: "kenomasufobo o gen wi tropos o viosox",
author: "Tetro",
lang: "wodox",
},
] as const satisfies Greeting[];

View file

@ -1,5 +1,8 @@
import type { VilanticId } from "./vilantic";
export interface Locale {
localeName: string;
vilanticLangs: VilanticLangs;
navbar: Navbar;
home: HomePage;
resources: ResourcesPage;
@ -11,6 +14,8 @@ export interface Layout<T> {
data: { [K in keyof T]: T[K] };
}
export type VilanticLangs = Record<VilanticId, string>;
export interface Navbar {
whatIsViossa: string;
resources: string;

View file

@ -0,0 +1,9 @@
import viossaFlag from "@/assets/flag_vp.webp";
import wodoxFlag from "@/assets/flag_wp.webp";
export type VilanticId = "viossa" | "wodox";
export const VILANTIC_ID_TO_FLAG = {
viossa: viossaFlag,
wodox: wodoxFlag,
} as const satisfies Record<VilanticId, string>;