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 ( return (
<Template> <Template>
<main className="max-w-4xl mx-auto px-6 py-16"> <main className="max-w-4xl mx-auto px-6 py-12">
<header className="mb-20 text-center"> <header className="mb-16 text-center">
<h1 className="heading-xl text-ink mb-4">
blog
</h1>
<p className="text-ink-soft text-lg"> <p className="text-ink-soft text-lg">
A sleek static blog with code and math. A sleek static blog with code and math.
</p> </p>
</header> </header>
<section> <section>
<h2 className="heading-md text-ink mb-8"> <h1 className="heading-xl text-ink mb-8">
Latest Posts Latest Posts
</h2> </h1>
<PostList posts={posts} /> <PostList posts={posts} />
</section> </section>
</main> </main>