diff --git a/astro.config.mjs b/astro.config.mjs index f8ce97a..fad197c 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -3,5 +3,5 @@ import { defineConfig } from 'astro/config'; // https://astro.build/config export default defineConfig({ site: 'https://jcu25.github.io', - base: "jcu25.github.io/public" + base: "/jcu25.github.io/" }); diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 6e57f6b..e7739b8 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -8,7 +8,7 @@ github @@ -17,14 +17,14 @@ target="_blank" >linkedin gmail diff --git a/src/components/ProjectCard.astro b/src/components/ProjectCard.astro index 0e08214..9411278 100644 --- a/src/components/ProjectCard.astro +++ b/src/components/ProjectCard.astro @@ -23,22 +23,22 @@ const {
{ - img_src === "/assets/proj-discord-icon.png" && ( + img_src === "/jcu25.github.io/assets/proj-discord-icon.png" && ( {project_name} ) } { - img_src === "/assets/proj-machine-learning-icon.png" && ( + img_src === "/jcu25.github.io/assets/proj-machine-learning-icon.png" && ( {project_name} ) } { - img_src !== "/assets/proj-discord-icon.png" && - img_src !== "/assets/proj-machine-learning-icon.png" && ( + img_src !== "/jcu25.github.io/assets/proj-discord-icon.png" && + img_src !== "/jcu25.github.io/assets/proj-machine-learning-icon.png" && ( {project_name} diff --git a/src/components/ProjectCardv2.astro b/src/components/ProjectCardv2.astro index 14abd29..ecbae0d 100644 --- a/src/components/ProjectCardv2.astro +++ b/src/components/ProjectCardv2.astro @@ -35,7 +35,7 @@ const { Github Link @@ -46,7 +46,7 @@ const { Project Link @@ -55,14 +55,14 @@ const {
{ - img_src === "/assets/proj-discord-icon.png" && ( + img_src === "/jcu25.github.io/assets/proj-discord-icon.png" && ( {project_name} ) } { - img_src === "/assets/proj-machine-learning-icon.png" && ( + img_src === "/jcu25.github.io/assets/proj-machine-learning-icon.png" && ( {project_name} @@ -123,7 +123,7 @@ const { Github Link @@ -144,7 +144,7 @@ const { Project Link @@ -158,18 +158,18 @@ const { @@ -133,7 +133,7 @@ import ProjectHighlightRightImg from "../components/ProjectHighlightRightImg.ast