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

View file

@ -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>

View file

@ -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") {

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

BIN
static/ce/500.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

BIN
static/ce/bg.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
static/ce/bond-ce/gogh.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
static/ce/bond-ce/jane.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
static/ce/bond-ce/liz.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
static/ce/bond-ce/wu.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
static/ce/db.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
static/ce/kaleidoscope.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

BIN
static/ce/mlb.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
static/ce/outrage.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
static/ce/oxdemon.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

BIN
static/ce/prisma.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
static/ce/vessel.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
static/servant/gogh_01.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
static/servant/jane_03.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
static/servant/liz_01.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
static/servant/wu_01.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
static/ta_icons/db.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
static/ta_icons/ibuki.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
static/ta_icons/mhxx.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB