From 540df57f8ddd75f43de621eed3e691d8c3e54ec9 Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Mon, 18 May 2026 20:46:22 +0300 Subject: [PATCH] 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. --- app/layout.tsx | 2 +- app/not-found.tsx | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 app/not-found.tsx diff --git a/app/layout.tsx b/app/layout.tsx index f3b78ea..80d4e48 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -14,7 +14,7 @@ export const metadata: Metadata = { export default function RootLayout({ children }: { children: React.ReactNode }) { return ( - + {children}