main
Elias Almqvist 8 months ago
parent 71b9404b63
commit eec7e67627
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 15
      src/app/not-found.tsx

@ -3,6 +3,11 @@ import { cn } from "@/lib/utils";
import ILink from "@/components/ilink"; import ILink from "@/components/ilink";
import Image from "next/image"; 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 = () => ( const NotFound = () => (
<div <div
className={cn( className={cn(
@ -11,10 +16,12 @@ const NotFound = () => (
)} )}
> >
<Image src="/404.jpg" alt="Error 404\nNot Found" width={400} height={400} /> <Image src="/404.jpg" alt="Error 404\nNot Found" width={400} height={400} />
<p className="max-w-md text-foreground/60"> <p className="max-w-md text-foreground/60 space-y-2">
Hello, friend. Hello, friend? That's lame. Maybe I should give you a name. {quote.split("\n").map((line, i) => (
But that's a slippery slope. You're only in my 404 page. We have to <span key={i} className="block">
remember that. {'>'} {line}
</span>
))}
</p> </p>
<div> <div>
<ILink href="#">Stay</ILink> <ILink href="#">Stay</ILink>

Loading…
Cancel
Save