import type { Game } from '../types' const GAME_GRADIENTS: Record = { firered: 'from-red-500 to-orange-500', leafgreen: 'from-green-500 to-emerald-500', emerald: 'from-emerald-500 to-teal-500', heartgold: 'from-amber-400 to-yellow-500', soulsilver: 'from-gray-400 to-slate-500', } const DEFAULT_GRADIENT = 'from-blue-500 to-indigo-500' interface GameCardProps { game: Game selected: boolean onSelect: (game: Game) => void } export function GameCard({ game, selected, onSelect }: GameCardProps) { const gradient = GAME_GRADIENTS[game.slug] ?? DEFAULT_GRADIENT return ( ) }