fix: change icon paths to _static
This commit is contained in:
@@ -14,7 +14,12 @@ export default function CopyButton({
|
||||
|
||||
return (
|
||||
<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>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ export default function MembershipCardButton() {
|
||||
type="button"
|
||||
>
|
||||
<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>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ export default function Friend({ user }: FriendProps) {
|
||||
alt="Good Friend"
|
||||
className={styles.image}
|
||||
height={70}
|
||||
src="/good-friend.svg"
|
||||
src="/_static/icons/good-friend.svg"
|
||||
width={228}
|
||||
/>
|
||||
<h3 className={styles.name}>{user.name}</h3>
|
||||
|
||||
@@ -15,7 +15,7 @@ export default function QualifyingPoints({ user }: QualifyingPointsProps) {
|
||||
<Image
|
||||
alt="Arrow Up Icon"
|
||||
height={24}
|
||||
src="/arrow_upward.svg"
|
||||
src="/_static/icons/arrow_upward.svg"
|
||||
width={24}
|
||||
/>
|
||||
<p className={styles.point}>{user.qualifyingPoints}</p>
|
||||
@@ -25,7 +25,7 @@ export default function QualifyingPoints({ user }: QualifyingPointsProps) {
|
||||
<Image
|
||||
alt="Arrow Up Icon"
|
||||
height={24}
|
||||
src="/arrow_upward.svg"
|
||||
src="/_static/icons/arrow_upward.svg"
|
||||
width={24}
|
||||
/>
|
||||
<p className={styles.point}>{user.nights}</p>
|
||||
|
||||
Reference in New Issue
Block a user