Minimalistische Blog-Layout-Komponente
Minimalistische Blog-Layout-Komponente mit monochromatischem Farbschema für den Konsum von Inhalten, reaktionsschnell und mit Unterstützung für dunkle Themen.
HTML-Code
<div class="container mx-auto px-4 py-8 dark:bg-gray-900 dark:text-gray-200">
<header class="text-center mb-12">
<h1 class="text-4xl font-bold text-gray-800 dark:text-white">Blog Title</h1>
<p class="text-gray-600 dark:text-gray-400">A space for thoughts and stories</p>
</header>
<main class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="md:col-span-2">
<article class="bg-white p-6 rounded-lg shadow-md mb-8 dark:bg-gray-800">
<img src="https://picsum.photos/seed/article1/800/400" alt="Article Image" class="rounded-md mb-4">
<h2 class="text-2xl font-semibold text-gray-800 mb-2 dark:text-white">First Article Title</h2>
<p class="text-gray-700 leading-relaxed dark:text-gray-300">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
<button class="mt-4 text-blue-500 hover:underline dark:text-blue-400">Read More</button>
</article>
<article class="bg-white p-6 rounded-lg shadow-md mb-8 dark:bg-gray-800">
<img src="https://picsum.photos/seed/article2/800/400" alt="Article Image" class="rounded-md mb-4">
<h2 class="text-2xl font-semibold text-gray-800 mb-2 dark:text-white">Second Article Title</h2>
<p class="text-gray-700 leading-relaxed dark:text-gray-300">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<button class="mt-4 text-blue-500 hover:underline dark:text-blue-400">Read More</button>
</article>
</div>
<div>
<section class="bg-white p-6 rounded-lg shadow-md mb-8 dark:bg-gray-800">
<h3 class="text-xl font-semibold text-gray-800 mb-4 dark:text-white">Recent Posts</h3>
<ul>
<li class="mb-2"><a href="#" class="text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100">Recent Post 1</a></li>
<li class="mb-2"><a href="#" class="text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100">Recent Post 2</a></li>
<li class="mb-2"><a href="#" class="text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100">Recent Post 3</a></li>
</ul>
</section>
<section class="bg-white p-6 rounded-lg shadow-md dark:bg-gray-800">
<h3 class="text-xl font-semibold text-gray-800 mb-4 dark:text-white">About Me</h3>
<div class="flex items-center mb-4">
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Avatar" class="rounded-full w-12 h-12 mr-4">
<p class="text-gray-700 dark:text-gray-300">A short bio about the author of this blog.</p>
</div>
</section>
</div>
</main>
<footer class="text-center mt-12 text-gray-600 dark:text-gray-400">
<p>© 2023 Blog Title. All rights reserved.</p>
</footer>
</div>
Verwandte Komponenten
Retro-Layout für soziale Medien
Ein einfaches, monochromes Retro-Layout für soziale Medien mit Unterstützung für den Dunkelmodus.
Glassmorphism_Social_Media_Layout_Component
Eine komplexe, reaktionsschnelle Social-Media-Layout-Komponente mit Glasmorphismus-Design mit mattierten, durchscheinenden Elementen, Unschärfeeffekten und einem komplementären Farbschema. Enthält eine Seitenleiste, einen Hauptinhaltsbereich und eine rechte Seitenleiste, alle mit Unterstützung für den Dunkelmodus.
3D-Layout-Komponente
Eine reaktionsschnelle 3D-Design-Layout-Komponente mit ansprechender Grafik, die Tiefe durch Schatten und Ebenen bietet. Es unterstützt den Dunkelmodus und bietet zufällige Bilder und Avatare.