From 1f3f609269428496fd733cbcbb4a932d1718d5a4 Mon Sep 17 00:00:00 2001 From: Derek Slenk Date: Fri, 27 Jun 2025 02:42:04 +0000 Subject: [PATCH] Can you use this image on the 404 page? --- public/robots.txt | 4 ---- src/app/not-found.tsx | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 4 deletions(-) delete mode 100644 public/robots.txt create mode 100644 src/app/not-found.tsx diff --git a/public/robots.txt b/public/robots.txt deleted file mode 100644 index dd38d32..0000000 --- a/public/robots.txt +++ /dev/null @@ -1,4 +0,0 @@ -User-agent: * -Allow: / - -Sitemap: https://cheatingchelsea.com/sitemap.xml diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx new file mode 100644 index 0000000..c3aa7ad --- /dev/null +++ b/src/app/not-found.tsx @@ -0,0 +1,32 @@ +import Link from 'next/link'; +import { Button } from '@/components/ui/button'; +import Image from 'next/image'; + +export default function NotFound() { + return ( +
+
+
+ A calico cat's tail is sticking out from under a pile of papers. +
+

404

+

Not Found

+
+
+

+ Oops! It looks like the page you're looking for has gone into hiding. +

+ +
+
+ ); +}