Skip to content

Commit

Permalink
use relative paths instead of absolute paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
Garridot committed Sep 26, 2024
1 parent 89d33d5 commit 534efcc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="icon" href="/media/icon.png">
<title>Tomas Garrido - Python Developer</title>
<script src="https://kit.fontawesome.com/47100a983e.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="/index.css">
<link rel="stylesheet" href="./index.css">
</head>
<body>
<header class="header">
Expand Down Expand Up @@ -110,7 +110,7 @@ <h1 class="header__text">Profile</h1>
<div class="profile__container flex">
<div class="row">
<div class="projects__background flex center">
<img src="/media/9cafaee1-01ba-4f5e-bfad-d0c98c83dd47.png" alt="Project Image" class="profile__image">
<img src="./media/9cafaee1-01ba-4f5e-bfad-d0c98c83dd47.png" alt="Project Image" class="profile__image">
</div>
</div>
<div class="row flex wrap">
Expand Down Expand Up @@ -212,7 +212,7 @@ <h1 class="contact__title marquee__text">Get in Touch</h1>
</div>
</body>
<script src="https://cdn.jsdelivr.net/gh/peterhry/CircleType@2.3.1/dist/circletype.min.js"></script>
<script type="module" src="/app.js"></script>
<script type="module" src="./app.js"></script>
<script>

</script>
Expand Down
12 changes: 6 additions & 6 deletions modules/FetchModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ export const DataFetcher = (() => {

export const backupDataImages = {
"1":[
"/media/project1%231.jpg",
"/media/project1%232.png",
"/media/project1%233.png",
"./media/project1%231.jpg",
"./media/project1%232.png",
"./media/project1%233.png",
],
"2":[
"/media/project2%231.png",
"/media/project2%232.png",
"/media/project2%233.png",
"./media/project2%231.png",
"./media/project2%232.png",
"./media/project2%233.png",
],
}

0 comments on commit 534efcc

Please sign in to comment.