Skip to content

Commit

Permalink
image not rendered issue fixed on homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryanneG3 committed Nov 25, 2024
1 parent e0a3287 commit 8ef5a1a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/cars/homepage/Homepage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ export default function Homepage() {
<div className={styles.imageContainer}>
{/* flex row, space btwn - image carousel*/}
<img
src="../../../../public/images/carousel/Toyota-5-seater-SUV.jpg"
src={
process.env.PUBLIC_URL +
"images/carousel/Toyota-5-seater-SUV.jpg"
}
alt="Toyota 5 Seater SUV"
/>
</div>
Expand Down

0 comments on commit 8ef5a1a

Please sign in to comment.