Files
highland_games_website/lib/games.ts
T
Mathew f40bb30029
Deploy / deploy (push) Successful in 59s
Ajoute une image de couverture sur les cards de jeu
- Champ `cover` dans lib/games.ts
- Branché sur la card home, la liste des jeux et le hero page projet
- Fallback placeholder logo si pas d'image

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01 22:41:04 +02:00

33 lines
1.1 KiB
TypeScript

export type Game = {
slug: string;
title: string;
status: "in-development" | "released" | "coming-soon";
tagline: string;
description: string;
genres: string[];
releaseWindow?: string;
steamUrl?: string;
// Image de couverture affichée sur les cards (home, liste, page projet).
// Dépose l'image dans /public/image/Emberwild/ puis renseigne le chemin,
// ex: "/image/Emberwild/cover.jpg". Laisse vide pour un placeholder.
cover?: string;
};
export const games: Game[] = [
{
slug: "emberwild",
title: "Emberwild",
status: "in-development",
tagline: "A survival adventure across shifting horizons.",
description:
"Inspired by Raft and Aloft. Build, explore, and survive across drifting worlds. A new survival adventure currently in early development. The first world from Highland Games Studio.",
genres: ["Survival", "Crafting", "Exploration"],
releaseWindow: "TBA",
// cover: "/image/Emberwild/cover.jpg",
},
];
export function getGame(slug: string): Game | undefined {
return games.find((g) => g.slug === slug);
}