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 @@
@@ -17,14 +17,14 @@
target="_blank"
>
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" && (
)
}
{
- img_src === "/assets/proj-machine-learning-icon.png" && (
+ img_src === "/jcu25.github.io/assets/proj-machine-learning-icon.png" && (
)
}
{
- 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" && (
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 {
@@ -46,7 +46,7 @@ const {
@@ -55,14 +55,14 @@ const {
{
- img_src === "/assets/proj-discord-icon.png" && (
+ img_src === "/jcu25.github.io/assets/proj-discord-icon.png" && (
{
- img_src === "/assets/proj-discord-icon.png" && (
+ img_src === "/jcu25.github.io/public/assets/proj-discord-icon.png" && (
)
}
{
- img_src === "/assets/proj-machine-learning-icon.png" && (
+ img_src === "/jcu25.github.io/public/assets/proj-machine-learning-icon.png" && (
)
}
{
- img_src !== "/assets/proj-discord-icon.png" &&
- img_src !== "/assets/proj-machine-learning-icon.png" && (
+ img_src !== "/jcu25.github.io/public/assets/proj-discord-icon.png" &&
+ img_src !== "/jcu25.github.io/assets/proj-machine-learning-icon.png" && (
)
}
diff --git a/src/components/ProjectHighlightLeftImg.astro b/src/components/ProjectHighlightLeftImg.astro
index b3ca024..d74a7b8 100644
--- a/src/components/ProjectHighlightLeftImg.astro
+++ b/src/components/ProjectHighlightLeftImg.astro
@@ -45,7 +45,7 @@ const {
@@ -98,7 +98,7 @@ const {
@@ -119,7 +119,7 @@ const {
@@ -133,18 +133,18 @@ const {
{
- img_src === "/assets/proj-discord-icon.png" && (
+ img_src === "/jcu25.github.io/assets/proj-discord-icon.png" && (
)
}
{
- img_src === "/assets/proj-machine-learning-icon.png" && (
+ img_src === "/jcu25.github.io/assets/proj-machine-learning-icon.png" && (
)
}
{
- 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" && (
)
}
diff --git a/src/components/ProjectHighlightRightImg.astro b/src/components/ProjectHighlightRightImg.astro
index c9352ae..3696700 100644
--- a/src/components/ProjectHighlightRightImg.astro
+++ b/src/components/ProjectHighlightRightImg.astro
@@ -98,7 +98,7 @@ const {
@@ -119,7 +119,7 @@ const {
diff --git a/src/components/TopNav.astro b/src/components/TopNav.astro
index 8e94ca9..7cd3554 100644
--- a/src/components/TopNav.astro
+++ b/src/components/TopNav.astro
@@ -2,9 +2,9 @@
@@ -24,8 +24,8 @@
// text decoration when "Projects" is selected
if (
- window.location.pathname == "/projects" ||
- window.location.pathname == "/projects/"
+ window.location.pathname == "/jcu25.github.io/projects" ||
+ window.location.pathname == "/jcu25.github.io/projects/"
) {
if (projects) {
projects.style.textDecoration = "underline";
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 2d0cd3d..0d56ad0 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -64,7 +64,7 @@ import ProjectHighlightRightImg from "../components/ProjectHighlightRightImg.ast
target="_blank"
>
@@ -133,7 +133,7 @@ import ProjectHighlightRightImg from "../components/ProjectHighlightRightImg.ast