import type { CSSProperties } from "react"; import { Link, useParams } from "react-router-dom"; import { Panel } from "../components/ui"; import { getChampionById } from "../features/champions/championLookup"; export function ChampionDetailPage() { const { championId } = useParams(); const champion = getChampionById(championId); if (!champion) { return (
Return to champions
); } return (
{champion.name.charAt(0)}
{champion.role}

{champion.name}

{champion.shortDescription}

{champion.tags.map((tag) => ( {tag} ))}
Difficulty
{champion.difficulty}
Primary Role
{champion.role}
Theme Hint
{champion.accentColor ?? "Default accent"}

Abilities, skins, progression, lore, and build recommendations can be added as independent modules.

Back to overview
); }