Skip to content

Commit

Permalink
Use absolute path for loading images/gifs (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
lwronski authored Apr 11, 2022
1 parent bedc91d commit 9a271a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/components/YellowBanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export default function YellowBanner(props){
className="image"
alt={props.image}
sources={{
light: `img/${props.image}`,
dark: `img/dark/${props.image}`,
light: `/img/${props.image}`,
dark: `/img/dark/${props.image}`,
}}
/>
</div>
Expand Down

0 comments on commit 9a271a6

Please sign in to comment.