fix: remove duplicate blog heading and reduce home page spacing

This commit is contained in:
2026-06-01 23:23:27 -05:00
parent 95f515448a
commit 473774d0ca

View File

@@ -7,19 +7,16 @@ export default async function HomePage() {
return (
<Template>
<main className="max-w-4xl mx-auto px-6 py-16">
<header className="mb-20 text-center">
<h1 className="heading-xl text-ink mb-4">
blog
</h1>
<main className="max-w-4xl mx-auto px-6 py-12">
<header className="mb-16 text-center">
<p className="text-ink-soft text-lg">
A sleek static blog with code and math.
</p>
</header>
<section>
<h2 className="heading-md text-ink mb-8">
<h1 className="heading-xl text-ink mb-8">
Latest Posts
</h2>
</h1>
<PostList posts={posts} />
</section>
</main>