Minimalist Blog Layout Component
Minimalist Blog Layout Component with Monochromatic Color Scheme for content consumption, responsive and with dark theme support.
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>
Related Components
E-commerce Layout Component
A simple, responsive e-commerce layout component with a grayscale Material Design aesthetic, featuring a product grid, a header, and a footer, all with dark mode support. Uses picsum.photos for product images.
Memphis_Grayscale_Photography_Layout
A complex, responsive photography layout component inspired by Memphis Design in grayscale, suitable for photo galleries and portfolios, with dark mode support.
3D Layout Component
A responsive 3D design layout component with engaging visuals, incorporating depth through shadows and layers. It includes dark mode support and features random images and avatars.