trying workaround
This commit is contained in:
parent
e954be1e08
commit
e1420a15fc
5 changed files with 13 additions and 8 deletions
src/components
|
@ -7,7 +7,8 @@ export interface Props {
|
|||
|
||||
const {mlb, link, name } = Astro.props;
|
||||
|
||||
const ce_img: string = `/ce/${link}.webp`;
|
||||
const ce_img: string = `${Astro.site}/ce/${link}.webp`;
|
||||
const mlb_ce: string = `${Astro.site}/ce/mlb.webp`
|
||||
let mlb_image: string = "mlbalign";
|
||||
|
||||
if(mlb === "false") {
|
||||
|
@ -21,7 +22,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={mlb_ce} alt="Max-limit broken"/>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue