Refactored for WEBP images

This commit is contained in:
Firq 2023-01-27 23:12:43 +01:00
parent 0443303c5a
commit 7ed2e6c2dc
Signed by: Firq
GPG key ID: 4DE1059A4666E89F
49 changed files with 5 additions and 5 deletions
src/components

View file

@ -12,8 +12,8 @@ export interface Props {
const {bond10, ml, image_bond, image_servant, np, skills, level, name } = Astro.props;
const servant_img: string = `servant/${image_servant}.png`;
const bondce_img: string = `ce/bond-ce/${image_bond}.png`
const servant_img: string = `servant/${image_servant}.webp`;
const bondce_img: string = `ce/bond-ce/${image_bond}.webp`
let bondce_css: string = "bond-ce";
if(bond10 === "false") {