From 625ed6307434ce4343f3ad581536fc1a309c451e Mon Sep 17 00:00:00 2001 From: KishiTheMechanic Date: Tue, 8 Oct 2024 09:52:03 +0200 Subject: [PATCH] go back to home button on 404 --- src/app/not-found.tsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index d140246..5555847 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -18,6 +18,10 @@ export default function NotFound() {

This page could not be found.

+ + + Go back to Home + @@ -57,4 +61,18 @@ const styles = { lineHeight: '49px', margin: 0, }, + + button: { + display: 'inline-block', + marginTop: '20px', + padding: '10px 20px', + backgroundColor: '#18181b', + color: '#fff', + fontSize: '16px', + fontWeight: '500', + borderRadius: '6px', + textDecoration: 'none', + transition: 'background-color 0.2s ease', + cursor: 'pointer', + }, } as const