diff --git a/astro.config.mjs b/astro.config.mjs index 77a62b0..ba01c05 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -3,7 +3,7 @@ import { defineConfig } from 'astro/config'; // https://astro.build/config export default defineConfig({ sitemap: true, - base: '/', + base: '/fgosite', outDir: 'public', publicDir: 'static', site: 'https://firq.pages.neshweb.net/fgosite/' diff --git a/src/components/ceCard.astro b/src/components/ceCard.astro index 9470e2f..84b52ca 100644 --- a/src/components/ceCard.astro +++ b/src/components/ceCard.astro @@ -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") { {name}
- Max-limit broken + Max-limit broken
diff --git a/src/components/favouriteCard.astro b/src/components/favouriteCard.astro index 7f0c518..b05b1eb 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 = `/favourites/${image}.webp`; --- diff --git a/src/components/navbar.astro b/src/components/navbar.astro index ddc8794..041bb70 100644 --- a/src/components/navbar.astro +++ b/src/components/navbar.astro @@ -3,7 +3,7 @@
- +