fix: remove duplicate blog heading and reduce home page spacing
This commit is contained in:
11
app/page.tsx
11
app/page.tsx
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user