fix: change icon paths to _static
@@ -7,7 +7,7 @@ export default function CalendarIcon({ height = 20, width = 20 }: IconProps) {
|
|||||||
<Image
|
<Image
|
||||||
alt="Calendar Icon"
|
alt="Calendar Icon"
|
||||||
height={height}
|
height={height}
|
||||||
src="/calendar_month.svg"
|
src="/_static/icons/calendar_month.svg"
|
||||||
width={width}
|
width={width}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export default function ChevronDownIcon({
|
|||||||
<Image
|
<Image
|
||||||
alt="Chevron Down Icon"
|
alt="Chevron Down Icon"
|
||||||
height={height}
|
height={height}
|
||||||
src="/chevron-down.svg"
|
src="/_static/icons/chevron-down.svg"
|
||||||
width={width}
|
width={width}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export default function EmailIcon({ height = 20, width = 20 }: IconProps) {
|
|||||||
<Image
|
<Image
|
||||||
alt="Email Icon"
|
alt="Email Icon"
|
||||||
height={height}
|
height={height}
|
||||||
src="/alternate_email.svg"
|
src="/_static/icons/alternate_email.svg"
|
||||||
width={width}
|
width={width}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,6 +4,11 @@ import type { IconProps } from "@/types/components/icon"
|
|||||||
|
|
||||||
export default function HouseIcon({ height = 20, width = 20 }: IconProps) {
|
export default function HouseIcon({ height = 20, width = 20 }: IconProps) {
|
||||||
return (
|
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}
|
||||||
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,11 @@ import type { IconProps } from "@/types/components/icon"
|
|||||||
|
|
||||||
export default function PhoneIcon({ height = 20, width = 20 }: IconProps) {
|
export default function PhoneIcon({ height = 20, width = 20 }: IconProps) {
|
||||||
return (
|
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}
|
||||||
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ export default function Challenges({ journeys, victories }: ChallengesProps) {
|
|||||||
<Image
|
<Image
|
||||||
alt="Checkmark Icon"
|
alt="Checkmark Icon"
|
||||||
height={9}
|
height={9}
|
||||||
src="/check.svg"
|
src="/_static/icons/check.svg"
|
||||||
width={12}
|
width={12}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -14,7 +14,12 @@ export default function CopyButton({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Button onClick={handleCopy} type="button" variant="icon">
|
<Button onClick={handleCopy} type="button" variant="icon">
|
||||||
<Image alt="Copy Icon" height={20} src="/copy.svg" width={20} />
|
<Image
|
||||||
|
alt="Copy Icon"
|
||||||
|
height={20}
|
||||||
|
src="/_static/icons/copy.svg"
|
||||||
|
width={20}
|
||||||
|
/>
|
||||||
</Button>
|
</Button>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export default function MembershipCardButton() {
|
|||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<span>Membership Card</span>
|
<span>Membership Card</span>
|
||||||
<Image alt="QR icon" height={20} src="/qr.svg" width={20} />
|
<Image alt="QR icon" height={20} src="/_static/icons/qr.svg" width={20} />
|
||||||
</Button>
|
</Button>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export default function Friend({ user }: FriendProps) {
|
|||||||
alt="Good Friend"
|
alt="Good Friend"
|
||||||
className={styles.image}
|
className={styles.image}
|
||||||
height={70}
|
height={70}
|
||||||
src="/good-friend.svg"
|
src="/_static/icons/good-friend.svg"
|
||||||
width={228}
|
width={228}
|
||||||
/>
|
/>
|
||||||
<h3 className={styles.name}>{user.name}</h3>
|
<h3 className={styles.name}>{user.name}</h3>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ export default function QualifyingPoints({ user }: QualifyingPointsProps) {
|
|||||||
<Image
|
<Image
|
||||||
alt="Arrow Up Icon"
|
alt="Arrow Up Icon"
|
||||||
height={24}
|
height={24}
|
||||||
src="/arrow_upward.svg"
|
src="/_static/icons/arrow_upward.svg"
|
||||||
width={24}
|
width={24}
|
||||||
/>
|
/>
|
||||||
<p className={styles.point}>{user.qualifyingPoints}</p>
|
<p className={styles.point}>{user.qualifyingPoints}</p>
|
||||||
@@ -25,7 +25,7 @@ export default function QualifyingPoints({ user }: QualifyingPointsProps) {
|
|||||||
<Image
|
<Image
|
||||||
alt="Arrow Up Icon"
|
alt="Arrow Up Icon"
|
||||||
height={24}
|
height={24}
|
||||||
src="/arrow_upward.svg"
|
src="/_static/icons/arrow_upward.svg"
|
||||||
width={24}
|
width={24}
|
||||||
/>
|
/>
|
||||||
<p className={styles.point}>{user.nights}</p>
|
<p className={styles.point}>{user.nights}</p>
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ export default function Shortcuts({
|
|||||||
<Image
|
<Image
|
||||||
alt="Chevron Icon"
|
alt="Chevron Icon"
|
||||||
height={20}
|
height={20}
|
||||||
src="/chevron.svg"
|
src="/_static/icons/chevron.svg"
|
||||||
width={20}
|
width={20}
|
||||||
/>
|
/>
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ export default function Stay({
|
|||||||
<Image
|
<Image
|
||||||
alt="Placeholder image flower"
|
alt="Placeholder image flower"
|
||||||
height={73}
|
height={73}
|
||||||
src="/flower-image.svg"
|
src="/_static/icons/flower-image.svg"
|
||||||
width={73}
|
width={73}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -44,7 +44,7 @@ export default function Stay({
|
|||||||
<Image
|
<Image
|
||||||
alt="Calendar Icon"
|
alt="Calendar Icon"
|
||||||
height={20}
|
height={20}
|
||||||
src="/calendar_month.svg"
|
src="/_static/icons/calendar_month.svg"
|
||||||
width={20}
|
width={20}
|
||||||
/>
|
/>
|
||||||
<p>
|
<p>
|
||||||
@@ -54,7 +54,12 @@ export default function Stay({
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.guests}>
|
<div className={styles.guests}>
|
||||||
<Image alt="Guests Icon" height={20} src="/person.svg" width={20} />
|
<Image
|
||||||
|
alt="Guests Icon"
|
||||||
|
height={20}
|
||||||
|
src="/_static/icons/person.svg"
|
||||||
|
width={20}
|
||||||
|
/>
|
||||||
<span>
|
<span>
|
||||||
{guests} guest{guests > 1 ? "s" : ""}
|
{guests} guest{guests > 1 ? "s" : ""}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -4,7 +4,12 @@ import styles from "./language.module.css"
|
|||||||
export default function LanguageSwitcher() {
|
export default function LanguageSwitcher() {
|
||||||
return (
|
return (
|
||||||
<div className={styles.switcher}>
|
<div className={styles.switcher}>
|
||||||
<Image alt="Swedish flag" height={21} src="/sweden.svg" width={21} />
|
<Image
|
||||||
|
alt="Swedish flag"
|
||||||
|
height={21}
|
||||||
|
src="/_static/icons/sweden.svg"
|
||||||
|
width={21}
|
||||||
|
/>
|
||||||
<span>SV / SEK</span>
|
<span>SV / SEK</span>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ export default function Container({
|
|||||||
<Image
|
<Image
|
||||||
alt="Account Icon"
|
alt="Account Icon"
|
||||||
height={40}
|
height={40}
|
||||||
src="/account_circle.svg"
|
src="/_static/icons/account_circle.svg"
|
||||||
width={40}
|
width={40}
|
||||||
/>
|
/>
|
||||||
<Card.Title uppercase>{user.name}</Card.Title>
|
<Card.Title uppercase>{user.name}</Card.Title>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 467 B After Width: | Height: | Size: 467 B |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 223 B |
|
Before Width: | Height: | Size: 415 B After Width: | Height: | Size: 415 B |
|
Before Width: | Height: | Size: 449 B After Width: | Height: | Size: 449 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 534 B After Width: | Height: | Size: 534 B |
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 15 KiB |