Refactored servant data to hopefully fix astro
This commit is contained in:
parent
a0ff98c6d2
commit
5697857963
2 changed files with 11 additions and 7 deletions
src/components
|
@ -4,15 +4,16 @@ export interface Props {
|
|||
level: string;
|
||||
skills: string;
|
||||
np: string;
|
||||
asc: string;
|
||||
image_servant: string;
|
||||
image_bond: string;
|
||||
ml: string;
|
||||
bond10: string;
|
||||
}
|
||||
|
||||
const {bond10, ml, asc, np, skills, level, name } = Astro.props;
|
||||
const {bond10, ml, image_bond, image_servant, np, skills, level, name } = Astro.props;
|
||||
|
||||
const servant_img: string = `servant/${name}_${asc}.png`;
|
||||
const bondce_img: string = `ce/bond-ce/${name}.png`
|
||||
const servant_img: string = `servant/${image_servant}.png`;
|
||||
const bondce_img: string = `ce/bond-ce/${image_bond}.png`
|
||||
let bondce_css: string = "bond-ce";
|
||||
|
||||
if(bond10 === "false") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue