Improvement: Enhanced blog layout

This commit is contained in:
Alvin-Zilverstand committed 2026-10-26 23:24:16 +01:00
1 parent d98780d007
commit 3dbcb6b309
4 files changed
+228 -67

No files matched your search

+42 -33
View File
@@ -3,55 +3,64 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Placeholder Blog</title>
<title>Modern Blog - My Name</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Welcome to My Blog</h1>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#posts">Posts</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
<header class="header">
<div class="container">
<h1>My Modern Blog</h1>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#posts">Posts</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</div>
</header>
<main>
<section id="home">
<h2>Latest Posts</h2>
<article class="post">
<h3>First Post Title</h3>
<p>This is placeholder content for the first blog post. We can add more detailed text here later.</p>
<small>Published on: October 26, 2026</small>
</article>
<article class="post">
<h3>Another Placeholder Article</h3>
<p>Placeholder content for a second article. This section will hold more detailed information about the topics we plan to cover.</p>
<small>Published on: October 25, 2026</small>
</article>
<main class="container">
<section id="home" class="hero-section">
<h2>Latest Articles</h2>
<div class="post-grid">
<article class="post-card">
<h3>First Post Title</h3>
<p>Dive into the latest insights and discoveries. This is placeholder content for the most recent article.</p>
<small class="meta">Published on: October 26, 2026</small>
</article>
<article class="post-card">
<h3>Another Placeholder Article</h3>
<p>Explore deeper topics and gain new perspectives. This section holds more detailed information.</p>
<small class="meta">Published on: October 25, 2026</small>
</article>
</div>
</section>
<section id="about">
<section id="about" class="content-section">
<h2>About Me</h2>
<p>This is where I will write about myself, my interests, and what this blog is all about.</p>
<p>Welcome to my corner of the internet! I share thoughts on technology, life, and creative pursuits. Feel free to explore!</p>
</section>
<section id="posts">
<section id="posts" class="content-section">
<h2>All Posts</h2>
<!-- More posts will be listed here -->
<div class="post-list">
<!-- More posts will be listed here -->
<p>No other posts found yet.</p>
</div>
</section>
<section id="contact">
<h2>Contact Me</h2>
<p>You can reach me at your_email@example.com or connect on social media.</p>
<section id="contact" class="content-section">
<h2>Get In Touch</h2>
<p>I'm always open to new ideas. Reach me at <a href="mailto:your_email@example.com">your_email@example.com</a> or connect on social media.</p>
</section>
</main>
<footer>
<p>&copy; 2026 My Placeholder Blog. All rights reserved.</p>
<footer class="footer">
<div class="container">
<p>&copy; 2026 My Modern Blog. All rights reserved.</p>
</div>
</footer>
</body>
</html>