fix: change icon paths to _static

This commit is contained in:
Michael Zetterberg
2024-04-17 17:29:18 +02:00
parent 0039428c76
commit d2372b4377
30 changed files with 42 additions and 22 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export default function CalendarIcon({ height = 20, width = 20 }: IconProps) {
<Image
alt="Calendar Icon"
height={height}
src="/calendar_month.svg"
src="/_static/icons/calendar_month.svg"
width={width}
/>
)
+1 -1
View File
@@ -10,7 +10,7 @@ export default function ChevronDownIcon({
<Image
alt="Chevron Down Icon"
height={height}
src="/chevron-down.svg"
src="/_static/icons/chevron-down.svg"
width={width}
/>
)
+1 -1
View File
@@ -7,7 +7,7 @@ export default function EmailIcon({ height = 20, width = 20 }: IconProps) {
<Image
alt="Email Icon"
height={height}
src="/alternate_email.svg"
src="/_static/icons/alternate_email.svg"
width={width}
/>
)
+6 -1
View File
@@ -4,6 +4,11 @@ import type { IconProps } from "@/types/components/icon"
export default function HouseIcon({ height = 20, width = 20 }: IconProps) {
return (
<Image alt="House Icon" height={height} src="/home.svg" width={width} />
<Image
alt="House Icon"
height={height}
src="/_static/icons/home.svg"
width={width}
/>
)
}
+6 -1
View File
@@ -4,6 +4,11 @@ import type { IconProps } from "@/types/components/icon"
export default function PhoneIcon({ height = 20, width = 20 }: IconProps) {
return (
<Image alt="Phone Icon" height={height} src="/phone.svg" width={width} />
<Image
alt="Phone Icon"
height={height}
src="/_static/icons/phone.svg"
width={width}
/>
)
}