prep for git->cloudflare
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
---
|
||||
|
||||
<div class="row card-grid">
|
||||
<div class="row card-grid my-5">
|
||||
<div class="col-md-3 display-sm-none">
|
||||
<div class="h5 d-none">Inventory management placeholder</div>
|
||||
</div>
|
||||
|
||||
@@ -17,6 +17,7 @@ import raresecret from "/src/svg/rarity/rare_secret.svg?raw";
|
||||
import rarebreak from "/src/svg/rarity/rare_break.svg?raw";
|
||||
import artrare from "/src/svg/rarity/art_rare.svg?raw";
|
||||
import specialartrare from "/src/svg/rarity/special_art_rare.svg?raw";
|
||||
import hyperrare from "/src/svg/rarity/hyper_rare.svg?raw";
|
||||
|
||||
const { rarity } = Astro.props;
|
||||
|
||||
@@ -39,6 +40,7 @@ const rarityMap = {
|
||||
"Rare BREAK": rarebreak,
|
||||
"Art Rare": artrare,
|
||||
"Special Art Rare": specialartrare,
|
||||
"Hyper Rare": hyperrare,
|
||||
};
|
||||
|
||||
const svg = rarityMap[rarity as keyof typeof rarityMap] ?? "";
|
||||
|
||||
@@ -122,6 +122,7 @@ import white_flare from "/src/svg/set/white_flare.svg?raw";
|
||||
import mega_evolutions from "/src/svg/set/mega_evolutions.svg?raw";
|
||||
import phantasmal_flames from "/src/svg/set/phantasmal_flames.svg?raw";
|
||||
import destined_rivals from "/src/svg/set/destined_rivals.svg?raw";
|
||||
import surging_sparks from "/src/svg/set/surging_sparks.svg?raw";
|
||||
|
||||
const { set } = Astro.props;
|
||||
|
||||
@@ -249,6 +250,7 @@ const setMap = {
|
||||
"PFL": phantasmal_flames,
|
||||
"ASC": ascended_heroes,
|
||||
"DRI": destined_rivals,
|
||||
"SSP": surging_sparks,
|
||||
};
|
||||
|
||||
const svg = setMap[set as keyof typeof setMap] ?? "";
|
||||
|
||||
Reference in New Issue
Block a user