Skip to content

Commit e25de3d

Browse files
fix: correct all img paths
1 parent 2378800 commit e25de3d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/ProjectCard.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const { title, description, icon, link, awards = [], year } = Astro.props;
3535
{
3636
awards.map((award: AwardProps) => (
3737
<Award
38-
icon={`static/award-icons/${award.icon}`}
38+
icon={`/static/award-icons/${award.icon}`}
3939
description={award.description}
4040
/>
4141
))

src/components/SponsorCard.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const { year, categories } = Astro.props;
1717
<SponsorCategory
1818
tier={category.tier}
1919
icons={category.icons}
20-
path="static/sponsor-icons/"
20+
path="/static/sponsor-icons/"
2121
/>
2222
))
2323
}

src/components/StatsCard.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const props = Astro.props;
99
---
1010

1111
<div class="stats-box">
12-
<img src={`static/icons/${props.icon}.svg`} />
12+
<img src={`/static/icons/${props.icon}.svg`} />
1313
<p>{props.mainContent}</p>
1414
<p>{props.subtitle}</p>
1515
</div>

0 commit comments

Comments
 (0)