Skip to content

Commit 80e025a

Browse files
committed
feat: playground에 ProductItem 추가
1 parent e77fda0 commit 80e025a

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

src/pages/playground.tsx

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { Checkbox } from '@shared/ui/Checkbox/Checkbox';
66
import { FavoriteButton } from '@shared/ui/FavoriteButton';
77
import { Header } from '@shared/ui/Header/Header';
88
import { Modal } from '@shared/ui/Modal/Modal';
9+
import { ProductItem } from '@shared/ui/ProductItem/ProductItem';
910
import { Profile } from '@shared/ui/Profile/Profile';
1011
import { RadioButton } from '@shared/ui/RadioButton/RadioButton';
1112
import { SearchBar } from '@shared/ui/SearchBar';
@@ -297,6 +298,52 @@ export default function Playground() {
297298
</div>
298299
</div>
299300
</section>
301+
{/* Product Item */}
302+
<section className="flex flex-col gap-4">
303+
<h2 className="typo-body-1">ProductItem</h2>
304+
<p className="typo-caption-2 text-gray-600">마이페이지(구매중, 예약중, 구매완료, 찜), 루핏톡(예약중)</p>
305+
306+
<div className="flex flex-col gap-6">
307+
{/* 구매중 */}
308+
<ProductItem
309+
imageUrl="/iphone12.png"
310+
modelName="폰 기종"
311+
price="0,000,000원"
312+
date="2026.00.00"
313+
status="buying"
314+
/>
315+
316+
{/* 예약중 */}
317+
<ProductItem
318+
imageUrl="/galaxys20.png"
319+
modelName="폰 기종"
320+
price="0,000,000원"
321+
date="2026.00.00"
322+
status="reserved"
323+
/>
324+
325+
{/* 구매완료 */}
326+
<ProductItem
327+
imageUrl="/iphone11.png"
328+
modelName="폰 기종"
329+
price="0,000,000원"
330+
date="2026.00.00"
331+
status="completed"
332+
/>
333+
334+
{/* 찜한 상품 */}
335+
336+
<ProductItem
337+
imageUrl="/galaxyfold.png"
338+
modelName="폰 기종"
339+
price="0,000,000원"
340+
date="2026.00.00"
341+
status="favorite"
342+
favoriteActive
343+
onToggleFavorite={() => {}}
344+
/>
345+
</div>
346+
</section>
300347
</div>
301348
);
302349
}

0 commit comments

Comments
 (0)