Refactored for WEBP images
|
@ -7,7 +7,7 @@ export interface Props {
|
||||||
|
|
||||||
const {mlb, link, name } = Astro.props;
|
const {mlb, link, name } = Astro.props;
|
||||||
|
|
||||||
const ce_img: string = `ce/${link}.png`;
|
const ce_img: string = `ce/${link}.webp`;
|
||||||
let mlb_image: string = "mlbalign";
|
let mlb_image: string = "mlbalign";
|
||||||
|
|
||||||
if(mlb === "false") {
|
if(mlb === "false") {
|
||||||
|
@ -21,7 +21,7 @@ if(mlb === "false") {
|
||||||
<img class="ce-crop" src={ce_img} alt={name}>
|
<img class="ce-crop" src={ce_img} alt={name}>
|
||||||
</div>
|
</div>
|
||||||
<div class={mlb_image}>
|
<div class={mlb_image}>
|
||||||
<img class="mlb" src="ce/mlb.png" alt="Max-limit broken"/>
|
<img class="mlb" src="ce/mlb.webp" alt="Max-limit broken"/>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@ export interface Props {
|
||||||
|
|
||||||
const {bond10, ml, image_bond, image_servant, np, skills, level, name } = Astro.props;
|
const {bond10, ml, image_bond, image_servant, np, skills, level, name } = Astro.props;
|
||||||
|
|
||||||
const servant_img: string = `servant/${image_servant}.png`;
|
const servant_img: string = `servant/${image_servant}.webp`;
|
||||||
const bondce_img: string = `ce/bond-ce/${image_bond}.png`
|
const bondce_img: string = `ce/bond-ce/${image_bond}.webp`
|
||||||
let bondce_css: string = "bond-ce";
|
let bondce_css: string = "bond-ce";
|
||||||
|
|
||||||
if(bond10 === "false") {
|
if(bond10 === "false") {
|
||||||
|
|
|
@ -7,7 +7,7 @@ export interface Props {
|
||||||
|
|
||||||
const { image, link, title } = Astro.props;
|
const { image, link, title } = Astro.props;
|
||||||
|
|
||||||
const icon: string = `background: url('ta_icons/${image}.png')`
|
const icon: string = `background: url('ta_icons/${image}.webp')`
|
||||||
---
|
---
|
||||||
<a href={link} target="_blank" rel="noopener noreferrer" aria-label={title}>
|
<a href={link} target="_blank" rel="noopener noreferrer" aria-label={title}>
|
||||||
<article>
|
<article>
|
||||||
|
|
BIN
static/ce/2030.webp
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
static/ce/500.webp
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
static/ce/bg.webp
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
static/ce/bond-ce/bride.webp
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
static/ce/bond-ce/castoria.webp
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
static/ce/bond-ce/gogh.webp
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
static/ce/bond-ce/ibaraki.webp
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
static/ce/bond-ce/jane.webp
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
static/ce/bond-ce/liz.webp
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
static/ce/bond-ce/merlin.webp
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
static/ce/bond-ce/reines.webp
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
static/ce/bond-ce/santagale.webp
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
static/ce/bond-ce/skadi.webp
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
static/ce/bond-ce/tamamo.webp
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
static/ce/bond-ce/waver.webp
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
static/ce/bond-ce/wu.webp
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
static/ce/db.webp
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
static/ce/kaleidoscope.webp
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
static/ce/maidensteachings.webp
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
static/ce/merciless_one.webp
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
static/ce/mlb.webp
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
static/ce/outrage.webp
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
static/ce/oxdemon.webp
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
static/ce/prisma.webp
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
static/ce/vessel.webp
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
static/servant/bride_03.webp
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
static/servant/castoria_01.webp
Normal file
After Width: | Height: | Size: 36 KiB |
BIN
static/servant/castoria_02.webp
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
static/servant/gogh_01.webp
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
static/servant/ibaraki_02.webp
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
static/servant/jane_03.webp
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
static/servant/liz_01.webp
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
static/servant/merlin_03.webp
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
static/servant/reines_01.webp
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
static/servant/santagale_01.webp
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
static/servant/skadi_01.webp
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
static/servant/skadi_03.webp
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
static/servant/tamamo_03.webp
Normal file
After Width: | Height: | Size: 64 KiB |
BIN
static/servant/waver_02.webp
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
static/servant/wu_01.webp
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
static/ta_icons/db.webp
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
static/ta_icons/dioscuri.webp
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
static/ta_icons/ibuki.webp
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
static/ta_icons/kingprotea.webp
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
static/ta_icons/mhxx.webp
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
static/ta_icons/solomon.webp
Normal file
After Width: | Height: | Size: 23 KiB |