Skip to content

Commit ff66405

Browse files
committed
✏️ Fix image paths
1 parent 4d532c1 commit ff66405

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Portfolio.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const projects = i18n.PORTFOLIO_SECTION.PROJECTS;
1818
<div class="project">
1919
<a href={project.urlProduction} target="_blank" aria-label="project-preview">
2020
<picture>
21-
<img src={project.image} alt="project-preview" loading="lazy">
21+
<img src={`/${project.image}`} alt="project-preview" loading="lazy">
2222
</picture>
2323
</a>
2424
<div class="description">
@@ -28,7 +28,7 @@ const projects = i18n.PORTFOLIO_SECTION.PROJECTS;
2828
{
2929
project.technologies.map((technology) => (
3030
<img
31-
src={`images/${technology.image}`}
31+
src={`/images/${technology.image}`}
3232
alt={`${technology.name} tool used in the project`}
3333
loading="lazy">
3434
))

0 commit comments

Comments
 (0)