Skip to content

Commit

Permalink
design: 상세페이지 라벨 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
gyeongza committed Jun 11, 2024
1 parent 1c58bc2 commit 4f17710
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ export const ProductDetail = async ({ productId }: { productId: number }) => {

<div className="w-full">
<div>
<Badge label={data.label} />
{data.label === true ? (
<Badge label={'역대 최저가'} />
) : (
<div className="inline-flex py-1 px-2 mt-4 mb-2"></div>
)}
<Text typography="h4">{data.category}</Text>
<Text>{data.title}</Text>
</div>
Expand Down

0 comments on commit 4f17710

Please sign in to comment.