From eec7e67627e45c93ec348f2227d39d0df25483f7 Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Fri, 29 Mar 2024 21:27:43 +0100 Subject: [PATCH] Better 404 --- src/app/not-found.tsx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index 03a02df..5543678 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -3,6 +3,11 @@ import { cn } from "@/lib/utils"; import ILink from "@/components/ilink"; import Image from "next/image"; +const quote = `Hello, friend. Hello, friend? +That's lame. Maybe I should give you a name. +But that's a slippery slope. You're only in my 404 page. +We have to remember that.`; + const NotFound = () => (
( )} > Error 404\nNot Found -

- Hello, friend. Hello, friend? That's lame. Maybe I should give you a name. - But that's a slippery slope. You're only in my 404 page. We have to - remember that. +

+ {quote.split("\n").map((line, i) => ( + + {'>'} {line} + + ))}

Stay