위시리스트 컴포넌트
Tailwind CSS를 사용하여 다크 모드에서 설계된 반응형 위시리스트 구성 요소입니다. 이미지, 설명 및 사용자 아바타가 있는 항목에 대한 카드 레이아웃을 특징으로 하며 어두운 테마와 반응형 효과를 지원합니다.
HTML 코드
<div class="min-h-screen bg-gray-900 flex items-center justify-center">
<div class="w-full max-w-2xl p-6 bg-gray-800 rounded-lg shadow-lg">
<h2 class="text-2xl font-bold text-white mb-4">My Wishlist</h2>
<div class="space-y-4">
<div class="flex items-center bg-gray-700 rounded-lg p-4">
<img src="https://picsum.photos/80/80" alt="Item Image" class="rounded-full w-16 h-16 mr-4">
<div>
<h3 class="text-xl text-white">Item Title 1</h3>
<p class="text-gray-400">Short description of the item goes here.</p>
</div>
</div>
<div class="flex items-center bg-gray-700 rounded-lg p-4">
<img src="https://picsum.photos/80/80" alt="Item Image" class="rounded-full w-16 h-16 mr-4">
<div>
<h3 class="text-xl text-white">Item Title 2</h3>
<p class="text-gray-400">Short description of the item goes here.</p>
</div>
</div>
<div class="flex items-center bg-gray-700 rounded-lg p-4">
<img src="https://picsum.photos/80/80" alt="Item Image" class="rounded-full w-16 h-16 mr-4">
<div>
<h3 class="text-xl text-white">Item Title 3</h3>
<p class="text-gray-400">Short description of the item goes here.</p>
</div>
</div>
</div>
</div>
</div>