HTML 코드
<div class="flex flex-col items-center justify-center p-6 bg-gray-100 dark:bg-gray-800 rounded-lg shadow-lg transform transition-transform hover:scale-105">
<h2 class="text-2xl font-semibold text-gray-800 dark:text-gray-200 mb-4">Wishlist</h2>
<ul class="w-full">
<li class="flex items-center justify-between p-4 bg-white dark:bg-gray-700 rounded-lg shadow-md mb-4 transform transition-all hover:shadow-xl hover:scale-105">
<div class="flex items-center">
<img src="https://picsum.photos/60/60" alt="Item Image" class="w-16 h-16 rounded-full mr-4">
<div>
<h3 class="text-lg font-medium text-gray-800 dark:text-gray-200">Item Title 1</h3>
<p class="text-gray-600 dark:text-gray-400">Description of item 1.</p>
</div>
</div>
<button class="px-4 py-2 bg-blue-500 text-white rounded-lg hover:bg-blue-600 focus:outline-none">Add</button>
</li>
<li class="flex items-center justify-between p-4 bg-white dark:bg-gray-700 rounded-lg shadow-md mb-4 transform transition-all hover:shadow-xl hover:scale-105">
<div class="flex items-center">
<img src="https://picsum.photos/60/60" alt="Item Image" class="w-16 h-16 rounded-full mr-4">
<div>
<h3 class="text-lg font-medium text-gray-800 dark:text-gray-200">Item Title 2</h3>
<p class="text-gray-600 dark:text-gray-400">Description of item 2.</p>
</div>
</div>
<button class="px-4 py-2 bg-blue-500 text-white rounded-lg hover:bg-blue-600 focus:outline-none">Add</button>
</li>
<li class="flex items-center justify-between p-4 bg-white dark:bg-gray-700 rounded-lg shadow-md mb-4 transform transition-all hover:shadow-xl hover:scale-105">
<div class="flex items-center">
<img src="https://picsum.photos/60/60" alt="Item Image" class="w-16 h-16 rounded-full mr-4">
<div>
<h3 class="text-lg font-medium text-gray-800 dark:text-gray-200">Item Title 3</h3>
<p class="text-gray-600 dark:text-gray-400">Description of item 3.</p>
</div>
</div>
<button class="px-4 py-2 bg-blue-500 text-white rounded-lg hover:bg-blue-600 focus:outline-none">Add</button>
</li>
</ul>
</div>
관련 구성 요소
위시리스트 컴포넌트
포트폴리오를 위한 단순하고 브루탈리즘 스타일의 위시리스트 컴포넌트로, 고대비의 유사한 색 구성표를 특징으로 합니다. Tailwind CSS를 사용한 다크 모드 지원으로 반응합니다.
위시리스트 컴포넌트
Tailwind CSS를 사용하여 다크 모드를 지원하는 반응형 위시리스트 컴포넌트. 이미지, 제목, 가격이 있는 항목 목록을 표시하고 버튼을 제거합니다. 생생한 색상의 대시보드를 위해 설계되었습니다.