From 233ea8a02d520681780f77e8dbcf1cb7c499bb7f Mon Sep 17 00:00:00 2001
From: Lauri Koivunen <lauri.koivunen@utu.fi>
Date: Thu, 27 Jun 2024 12:44:49 +0000
Subject: [PATCH] setup relative paths

---
 index.html                          | 2 +-
 src/components/ErrorMessage.jsx     | 2 +-
 src/pages/HomePage/HomePage.jsx     | 2 +-
 src/pages/NotFound/NotFoundPage.jsx | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/index.html b/index.html
index b1da6bc..1add216 100644
--- a/index.html
+++ b/index.html
@@ -2,7 +2,7 @@
 <html lang="en">
   <head>
     <meta charset="UTF-8" />
-    <link rel="icon" type="image/svg+xml" href="/assets/clock.svg" />
+    <link rel="icon" type="image/svg+xml" href="assets/clock.svg" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <link rel="preconnect" href="https://fonts.googleapis.com" />
     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
diff --git a/src/components/ErrorMessage.jsx b/src/components/ErrorMessage.jsx
index aae1df1..bc9c4d6 100644
--- a/src/components/ErrorMessage.jsx
+++ b/src/components/ErrorMessage.jsx
@@ -30,7 +30,7 @@ export const ErrorMessage = () => {
 
         <Box
           component="img"
-          src="/assets/illustrations/notfound.svg"
+          src="assets/illustrations/notfound.svg"
           sx={{
             mx: "auto",
             height: 260,
diff --git a/src/pages/HomePage/HomePage.jsx b/src/pages/HomePage/HomePage.jsx
index 114a617..0aa16fb 100644
--- a/src/pages/HomePage/HomePage.jsx
+++ b/src/pages/HomePage/HomePage.jsx
@@ -91,7 +91,7 @@ export const HomePage = () => {
             <>
               <div className="relative w-full lg:w-[40%] h-[30%] lg:h-full  flex flex-col items-center justify-center px-6 lg:px-8">
                 <img
-                  src="/assets/aistikattila.jpeg"
+                  src="assets/aistikattila.jpeg"
                   className="absolute blur-sm object-cover h-full w-full -z-10"
                 />
                 <Paper className="flex flex-col items-center bg-[#000] opacity-80 p-3 md:p-4 rounded-lg">
diff --git a/src/pages/NotFound/NotFoundPage.jsx b/src/pages/NotFound/NotFoundPage.jsx
index 3fde067..19b8273 100644
--- a/src/pages/NotFound/NotFoundPage.jsx
+++ b/src/pages/NotFound/NotFoundPage.jsx
@@ -40,7 +40,7 @@ export const NotFoundPage = () => {
 
           <Box
             component="img"
-            src="/assets/illustrations/notfound.svg"
+            src="assets/illustrations/notfound.svg"
             sx={{
               mx: "auto",
               height: 260,
-- 
GitLab