コンテンツ表示コンポーネント
インタラクティブな要素を持つポートフォリオコンテンツを表示するためのglassmorphismスタイルのコンポーネントで、ダークモードをサポートします。
HTMLコード
<div class="flex flex-col items-center justify-center p-5 bg-gray-900 min-h-screen">
<div class="bg-white dark:bg-gray-800 backdrop-blur-lg bg-opacity-30 rounded-lg shadow-lg p-6 max-w-md w-full">
<h2 class="text-2xl font-bold text-gray-800 dark:text-gray-200 mb-4">Portfolio Showcase</h2>
<p class="text-gray-600 dark:text-gray-400 mb-6">Explore my recent work and projects in this beautifully designed portfolio section.</p>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="flex flex-col items-center bg-white dark:bg-gray-700 rounded-lg overflow-hidden shadow-md">
<img class="w-full h-40 object-cover" src="https://picsum.photos/400/200?random=1" alt="Project Image">
<div class="p-4">
<h3 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Project Title 1</h3>
<p class="text-gray-600 dark:text-gray-400">A brief description of the project.</p>
<div class="mt-2">
<img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar">
</div>
</div>
</div>
<div class="flex flex-col items-center bg-white dark:bg-gray-700 rounded-lg overflow-hidden shadow-md">
<img class="w-full h-40 object-cover" src="https://picsum.photos/400/200?random=2" alt="Project Image">
<div class="p-4">
<h3 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Project Title 2</h3>
<p class="text-gray-600 dark:text-gray-400">A brief description of the project.</p>
<div class="mt-2">
<img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/women/1.jpg" alt="Avatar">
</div>
</div>
</div>
<div class="flex flex-col items-center bg-white dark:bg-gray-700 rounded-lg overflow-hidden shadow-md">
<img class="w-full h-40 object-cover" src="https://picsum.photos/400/200?random=3" alt="Project Image">
<div class="p-4">
<h3 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Project Title 3</h3>
<p class="text-gray-600 dark:text-gray-400">A brief description of the project.</p>
<div class="mt-2">
<img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/men/2.jpg" alt="Avatar">
</div>
</div>
</div>
<div class="flex flex-col items-center bg-white dark:bg-gray-700 rounded-lg overflow-hidden shadow-md">
<img class="w-full h-40 object-cover" src="https://picsum.photos/400/200?random=4" alt="Project Image">
<div class="p-4">
<h3 class="text-lg font-semibold text-gray-800 dark:text-gray-200">Project Title 4</h3>
<p class="text-gray-600 dark:text-gray-400">A brief description of the project.</p>
<div class="mt-2">
<img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/women/2.jpg" alt="Avatar">
</div>
</div>
</div>
</div>
</div>
</div>
関連コンポーネント
コンテンツ表示コンポーネント
マイクロインタラクション、レスポンシブデザイン、ダークテーマのサポートを備えたシンプルで鮮やかなコンテンツ表示コンポーネントで、ブログやコンテンツの消費に適しています。画像にはpicsum.photosを使用し、アバターには randomuser.me を使用します。
遊び心のあるジュエルトーンの写真コンテンツディスプレイ
写真ポートフォリオやギャラリー向けの複雑で遊び心があり、楽しいコンテンツ表示コンポーネントで、明るい宝石の色調、丸みを帯びた要素、ダークモードをサポートするレスポンシブデザインが特徴です。アイキャッチ画像、グリッドレイアウト、プロファイルセクションなど、複数のインタラクティブ要素を紹介しています。
Memphis_Muted_Consulting_Content_Display
コンサルティング/サービス向けのコンテンツ表示コンポーネントで、落ち着いた色と幾何学模様のメンフィスデザインに触発されています。ダークモードのサポートによるレスポンシブ。