From e1420a15fca748432593fc35636e1a897ba188c2 Mon Sep 17 00:00:00 2001 From: Firq Date: Sat, 4 Mar 2023 22:35:49 +0100 Subject: [PATCH] trying workaround --- src/components/ceCard.astro | 5 +++-- src/components/favouriteCard.astro | 2 +- src/components/navbar.astro | 5 +++-- src/components/navbarEntry.astro | 7 +++++-- src/components/taCard.astro | 2 +- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/components/ceCard.astro b/src/components/ceCard.astro index 84b52ca..ae02a42 100644 --- a/src/components/ceCard.astro +++ b/src/components/ceCard.astro @@ -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") { {name}
- Max-limit broken + Max-limit broken
diff --git a/src/components/favouriteCard.astro b/src/components/favouriteCard.astro index b05b1eb..ae234fb 100644 --- a/src/components/favouriteCard.astro +++ b/src/components/favouriteCard.astro @@ -7,7 +7,7 @@ export interface Props { const {image, origin, name } = Astro.props; -const img: string = `/favourites/${image}.webp`; +const img: string = `${Astro.site}/favourites/${image}.webp`; --- diff --git a/src/components/navbar.astro b/src/components/navbar.astro index 041bb70..9dbeba8 100644 --- a/src/components/navbar.astro +++ b/src/components/navbar.astro @@ -1,9 +1,10 @@ --- +const headerimg = `${Astro.site}/link_192.png` ---
- - + +