Columns Component(대시보드의 구성 요소)는 보색이 있는 3D 디자인을 특징으로 합니다. 여기에는 간단한 레이아웃, 다크 모드 지원이 있는 3개의 반응형 열이 포함되어 있으며 스타일링에 Tailwind CSS를 사용합니다. JavaScript는 포함되어 있지 않습니다.
<div class="flex flex-col md:flex-row md:space-x-4 p-6 bg-gray-900 dark:bg-gray-800 rounded-lg backdrop-blur-lg border border-transparent border-gray-600">
<div class="flex-1 p-4 bg-white bg-opacity-20 rounded-lg shadow-md dark:bg-gray-700">
<h2 class="text-xl font-bold text-white mb-2">Column 1</h2>
<img src="https://picsum.photos/200/100" alt="Image 1" class="w-full rounded-lg mb-2" />
<p class="text-white">This is a description for the first column. Use this space to display key metrics or important information.</p>
</div>
<div class="flex-1 p-4 bg-white bg-opacity-20 rounded-lg shadow-md dark:bg-gray-700">
<h2 class="text-xl font-bold text-white mb-2">Column 2</h2>
<img src="https://picsum.photos/200/100" alt="Image 2" class="w-full rounded-lg mb-2" />
<p class="text-white">This is a description for the second column. Provide insights, visualizations, or controls related to the data here.</p>
</div>
<div class="flex-1 p-4 bg-white bg-opacity-20 rounded-lg shadow-md dark:bg-gray-700">
<h2 class="text-xl font-bold text-white mb-2">Column 3</h2>
<img src="https://picsum.photos/200/100" alt="Image 3" class="w-full rounded-lg mb-2" />
<p class="text-white">This is a description for the third column. Summary or additional data visuals can fit nicely in this space.</p>
</div>
</div>
<div class="bg-white dark:bg-gray-800 p-6 rounded-lg shadow-md">
<h2 class="text-3xl font-bold mb-4 text-gray-800 dark:text-white">Latest Articles</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<div class="bg-gray-100 dark:bg-gray-900 rounded-lg overflow-hidden shadow">
<img class="w-full h-48 object-cover" src="https://picsum.photos/400/300?random=1" alt="Article Image">
<div class="p-4">
<h3 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Article Title 1</h3>
<p class="text-gray-600 dark:text-gray-400">This is a brief description of the article content that provides an overview to the readers. They can read more by clicking the link below.</p>
<a href="#" class="mt-2 inline-block text-blue-600 dark:text-blue-400 hover:underline">Read More</a>
</div>
</div>
<div class="bg-gray-100 dark:bg-gray-900 rounded-lg overflow-hidden shadow">
<img class="w-full h-48 object-cover" src="https://picsum.photos/400/300?random=2" alt="Article Image">
<div class="p-4">
<h3 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Article Title 2</h3>
<p class="text-gray-600 dark:text-gray-400">This is a brief description of the article content that provides an overview to the readers. They can read more by clicking the link below.</p>
<a href="#" class="mt-2 inline-block text-blue-600 dark:text-blue-400 hover:underline">Read More</a>
</div>
</div>
<div class="bg-gray-100 dark:bg-gray-900 rounded-lg overflow-hidden shadow">
<img class="w-full h-48 object-cover" src="https://picsum.photos/400/300?random=3" alt="Article Image">
<div class="p-4">
<h3 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Article Title 3</h3>
<p class="text-gray-600 dark:text-gray-400">This is a brief description of the article content that provides an overview to the readers. They can read more by clicking the link below.</p>
<a href="#" class="mt-2 inline-block text-blue-600 dark:text-blue-400 hover:underline">Read More</a>
</div>
</div>
<div class="bg-gray-100 dark:bg-gray-900 rounded-lg overflow-hidden shadow">
<img class="w-full h-48 object-cover" src="https://picsum.photos/400/300?random=4" alt="Article Image">
<div class="p-4">
<h3 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Article Title 4</h3>
<p class="text-gray-600 dark:text-gray-400">This is a brief description of the article content that provides an overview to the readers. They can read more by clicking the link below.</p>
<a href="#" class="mt-2 inline-block text-blue-600 dark:text-blue-400 hover:underline">Read More</a>
</div>
</div>
<div class="bg-gray-100 dark:bg-gray-900 rounded-lg overflow-hidden shadow">
<img class="w-full h-48 object-cover" src="https://picsum.photos/400/300?random=5" alt="Article Image">
<div class="p-4">
<h3 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Article Title 5</h3>
<p class="text-gray-600 dark:text-gray-400">This is a brief description of the article content that provides an overview to the readers. They can read more by clicking the link below.</p>
<a href="#" class="mt-2 inline-block text-blue-600 dark:text-blue-400 hover:underline">Read More</a>
</div>
</div>
<div class="bg-gray-100 dark:bg-gray-900 rounded-lg overflow-hidden shadow">
<img class="w-full h-48 object-cover" src="https://picsum.photos/400/300?random=6" alt="Article Image">
<div class="p-4">
<h3 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Article Title 6</h3>
<p class="text-gray-600 dark:text-gray-400">This is a brief description of the article content that provides an overview to the readers. They can read more by clicking the link below.</p>
<a href="#" class="mt-2 inline-block text-blue-600 dark:text-blue-400 hover:underline">Read More</a>
</div>
</div>
</div>
</div>