Skip to content

Commit e28c3e7

Browse files
committed
Refactored image and PDF URLs in Footer and Intro components to use relative paths for improved consistency
1 parent 2d703f5 commit e28c3e7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/global/Footer.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
// BASE_URL is always '/aleclevy.com/' from astro.config.mjs
3-
const resumeUrl = `aleclevy.com/resume.pdf`;
3+
const resumeUrl = `resume.pdf`;
44
---
55

66
<footer class="bg-black border-t border-white/10">

src/components/landing/Intro.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
// BASE_URL is always '/aleclevy.com/' from astro.config.mjs
3-
const avatarImage = `aleclevy.com/avatars/1.JPG`;
3+
const avatarImage = `avatars/1.JPG`;
44
---
55

66
<div id="about" class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">

src/components/landing/Work.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
// BASE_URL is always '/aleclevy.com/' from astro.config.mjs
3-
const dirtvizImage = `aleclevy.com/work/dirtviz.png`;
3+
const dirtvizImage = `work/dirtviz.png`;
44
---
55

66
<div

0 commit comments

Comments
 (0)