fix: clean page transitions and navigation a11y
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
import { getPosts } from '@/lib/posts'
|
||||
import { PostList } from '@/components/blog/PostList'
|
||||
import Template from './template'
|
||||
|
||||
export default async function HomePage() {
|
||||
const posts = await getPosts()
|
||||
|
||||
return (
|
||||
<Template>
|
||||
<main className="mx-auto max-w-5xl px-6 py-10 sm:py-14">
|
||||
<header className="editorial-hero mb-14 rounded-[2rem] border border-border px-6 py-12 shadow-card sm:px-10 sm:py-16">
|
||||
<div className="relative z-10 max-w-3xl">
|
||||
@@ -48,6 +46,5 @@ export default async function HomePage() {
|
||||
)}
|
||||
</section>
|
||||
</main>
|
||||
</Template>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user