-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GGFE-145] 상점 구매페이지 #913
The head ref may contain hidden characters: "GGFE-145-\uC0C1\uC810-\uAD6C\uB9E4\uD398\uC774\uC9C0"
[GGFE-145] 상점 구매페이지 #913
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
상점 화면 예쁘게 잘 보입니다! 아이템들 잘 나오고 스크롤도 잘 됩니다! 나중에 구매하기와 선물하기 모달에 문구 들어갈 공간만 추가되면 되겠네요! 고생하셨습니다!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
나중에 선물받는 유저 검색하는 기능만 추가하면 되겠네요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
카드 디자인은 말씀해주신대로 다같이 한번 고민해봐야 할 것 같아요 ㅎㅎ 👍👍 수고하셨습니다!!!
components/shop/ItemCard.tsx
Outdated
<div className={styles.badge}>{item.discount}%</div> | ||
</div> | ||
<div className={styles.details}> | ||
<div className={styles.itemPriceTag}> | ||
<div className={styles.title}> | ||
<h4>{item.itemName}</h4> | ||
</div> | ||
<div className={styles.priceTags}> | ||
<h5 className={styles.originalPrice}>${item.price}</h5> | ||
<h5 className={styles.discountedPrice}>${item.salePrice}</h5> | ||
</div> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
세일을 하지 않는 경우에는 뱃지를 빼고 가격은 원래 가격만 나오는 것도 좋을 것 같아요!!
price: 1000, | ||
discount: 10, | ||
salePrice: 900, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
세일을 하지 않는 경우에는 응답이 어떻게 오게 되나요???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
discount가 0이면 salePrice랑 Price가 같아지게 될 것 같은데 한번 확인해보겠습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
조건문으로 세일 여부 확인하여 스타일 다르게 적용되도록 수정했습니다~
📌 개요
💻 작업사항