Table of Contents 구성 요소
다크 모드용으로 설계된 반응형 목차 구성 요소로, 이미지와 아바타에 대한 제목과 자리 표시자가 있는 섹션이 있습니다.
HTML 코드
<div class="bg-gray-900 text-white min-h-screen p-5">
<h1 class="text-3xl font-bold mb-4">Table of Contents</h1>
<ul class="space-y-4">
<li class="bg-gray-800 rounded-lg p-4 shadow hover:shadow-lg transition-shadow duration-200">
<div class="flex items-center">
<img src="https://picsum.photos/50" alt="Placeholder Image" class="rounded-full mr-3">
<h2 class="text-xl font-semibold">Section 1</h2>
</div>
<p class="mt-2 text-gray-400">Description for section 1 goes here. It can contain an overview or an introduction.</p>
</li>
<li class="bg-gray-800 rounded-lg p-4 shadow hover:shadow-lg transition-shadow duration-200">
<div class="flex items-center">
<img src="https://picsum.photos/50" alt="Placeholder Image" class="rounded-full mr-3">
<h2 class="text-xl font-semibold">Section 2</h2>
</div>
<p class="mt-2 text-gray-400">Description for section 2 goes here. It can contain an overview or an introduction.</p>
</li>
<li class="bg-gray-800 rounded-lg p-4 shadow hover:shadow-lg transition-shadow duration-200">
<div class="flex items-center">
<img src="https://picsum.photos/50" alt="Placeholder Image" class="rounded-full mr-3">
<h2 class="text-xl font-semibold">Section 3</h2>
</div>
<p class="mt-2 text-gray-400">Description for section 3 goes here. It can contain an overview or an introduction.</p>
</li>
<li class="bg-gray-800 rounded-lg p-4 shadow hover:shadow-lg transition-shadow duration-200">
<div class="flex items-center">
<img src="https://picsum.photos/50" alt="Placeholder Image" class="rounded-full mr-3">
<h2 class="text-xl font-semibold">Section 4</h2>
</div>
<p class="mt-2 text-gray-400">Description for section 4 goes here. It can contain an overview or an introduction.</p>
</li>
</ul>
</div>
관련 구성 요소
Table of Contents 구성 요소
Tailwind CSS를 사용하여 머티리얼 디자인 원칙에 따라 스타일링된 반응형 목차 구성요소로, 다크 모드를 지원하고 자리표시자 이미지와 아바타를 제공합니다.
Table of Contents 구성 요소
머티리얼 디자인 스타일로 디자인된 반응형 목차 구성 요소로, 비즈니스/기업 웹 사이트에 대한 흙색 및 어두운 테마 지원이 있습니다.
Table of Contents 구성 요소 - 예약/예약
예약/예약 시스템을 위한 간단하고 반응이 빠른 Table of Contents 구성 요소로, 회색조 색상과 미묘한 그라데이션 전환을 특징으로 합니다. 다크 모드 지원이 포함됩니다.