Skip to content

Commit 9a141ea

Browse files
Prettified & fixed link.
1 parent c5cce56 commit 9a141ea

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

src/app/[...not-found]/page.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ export default async function NotFound() {
77
const data = await getSiteData(domain)
88
return (
99
<div className="z-10 flex items-center sm:items-start ">
10-
<div className="flex w-screen">
11-
<h2>Not Found: {data.name}</h2>
12-
<p>Could not find requested resource</p>
13-
<p>
14-
View <Link href="/blog">all posts</Link>
15-
</p>
10+
<div className="flex w-screen min-h-64 pt-24 items-center">
11+
<div className="flex flex-col items-center w-full">
12+
<h2>Not Found: {data.name}</h2>
13+
<p>Could not find requested resource</p>
14+
<p>
15+
View <Link href="/">all posts</Link>
16+
</p>
17+
</div>
1618
</div>
1719
</div>
1820
)

0 commit comments

Comments
 (0)