コンテンツ表示コンポーネント 11
80年代/90年代のノスタルジックなデザインを特徴とするレトロ/ビンテージスタイルのコンテンツ表示コンポーネントで、レスポンシブエフェクトとダークテーマのサポートを備えています。
HTMLコード
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden">
<div class="flex flex-col md:flex-row items-center p-6">
<img class="w-full md:w-1/3 h-auto rounded-lg mb-4 md:mb-0" src="https://picsum.photos/300/200?random=1" alt="Random retro image">
<div class="md:ml-4">
<h2 class="text-2xl font-bold text-gray-800 dark:text-gray-100">Retro/Vintage Title</h2>
<p class="text-gray-600 dark:text-gray-400 mb-2">This is a nostalgic description that evokes the design style of the 80s and 90s, full of vibrant colors and retro aesthetics.</p>
<div class="flex items-center">
<img class="w-10 h-10 rounded-full border-2 border-gray-300 dark:border-gray-700 mr-2" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar">
<span class="text-gray-700 dark:text-gray-300">Posted by <span class="font-bold">User Name</span></span>
</div>
</div>
</div>
<div class="p-6">
<p class="text-gray-700 dark:text-gray-300">Here’s a bit more detail about the content. This section can be used to provide additional context or information.</p>
</div>
<div class="bg-gray-100 dark:bg-gray-700 p-4 text-right">
<button class="bg-blue-500 text-white rounded-md px-4 py-2 hover:bg-blue-600 dark:bg-blue-700 dark:hover:bg-blue-800">Read More</button>
</div>
</div>