Hopefully fixes image links

This commit is contained in:
Firq 2023-03-04 21:57:55 +01:00
parent 045dae84b9
commit e954be1e08
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
6 changed files with 8 additions and 8 deletions
src/components

View file

@ -7,7 +7,7 @@ export interface Props {
const {mlb, link, name } = Astro.props;
const ce_img: string = `ce/${link}.webp`;
const ce_img: string = `/ce/${link}.webp`;
let mlb_image: string = "mlbalign";
if(mlb === "false") {
@ -21,7 +21,7 @@ if(mlb === "false") {
<img class="ce-crop" src={ce_img} alt={name}>
</div>
<div class={mlb_image}>
<img class="mlb" src="ce/mlb.webp" alt="Max-limit broken"/>
<img class="mlb" src="/ce/mlb.webp" alt="Max-limit broken"/>
</div>
</article>