feat: add 404 page with centered layout
not-found.tsx renders oversized Fraunces heading with a back link. Body gets flex flex-col min-h-screen so main can flex-1 to fill available height without pushing the footer off screen.
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ export const metadata: Metadata = {
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={`${fraunces.variable} ${publicSans.variable}`}>
|
||||
<body className={`${fraunces.variable} ${publicSans.variable} flex flex-col min-h-screen`}>
|
||||
{children}
|
||||
<Footer />
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user