new set icon/mapping

This commit is contained in:
Zach Harding
2026-05-26 15:37:19 -04:00
parent a566b82036
commit d43ef99fea
3 changed files with 7 additions and 0 deletions

View File

@@ -125,6 +125,7 @@ import destined_rivals from "/src/svg/set/destined_rivals.svg?raw";
import surging_sparks from "/src/svg/set/surging_sparks.svg?raw";
import team_rocket from "/src/svg/set/team_rocket.svg?raw";
import perfect_order from "/src/svg/set/perfect_order.svg?raw";
import chaos_rising from "/src/svg/set/chaos_rising.svg?raw";
const { set } = Astro.props;
@@ -254,6 +255,7 @@ const setMap = {
"DRI": destined_rivals,
"SSP": surging_sparks,
"ME03": perfect_order,
"ME04": chaos_rising,
};
const svg = setMap[set as keyof typeof setMap] ?? "";