Skip to content

Commit

Permalink
next/Image broke everything use img instead
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorYeet committed Sep 26, 2024
1 parent 806000a commit 75074ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/components/elements/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Header = ({ categories, show, setShow }: HeaderProps) => (
</a>
))}
</div>
<Image
<img
alt="show navigation"
className={styles.showNav}
src="images/Hamburger_icon.png"
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/views/ServiceCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function ServiceCard({ service }: ServiceCardProps) {
return (
<div className={`${styles.cardClass} card`}>
<p>
<Image
<img
src={src}
className={`${styles.iconClass} marginTop marginLeft marginRight`}
alt={`${service.title}'s icon`}
Expand Down

0 comments on commit 75074ab

Please sign in to comment.