+
+
+
+ );
+}
diff --git a/apps/guides/app/not-found.tsx b/apps/guides/app/not-found.tsx
index acd51677b9..8dd4e5590a 100644
--- a/apps/guides/app/not-found.tsx
+++ b/apps/guides/app/not-found.tsx
@@ -1,15 +1,39 @@
import { Button } from '@packrat/web-ui/components/button';
+import { Compass, Home } from 'lucide-react';
+import type { Metadata } from 'next';
import Link from 'next/link';
+export const metadata: Metadata = {
+ title: 'Page not found',
+ description:
+ "We couldn't find the guide you were looking for. Head back to all PackRat guides or explore a different topic.",
+ robots: { index: false, follow: false },
+};
+
export default function NotFound() {
return (
-
-
-
404
-
Page not found
-
+
+
+
404
+
Page not found
+
+ The guide you were looking for may have been moved, renamed, or never existed. Try heading
+ back to all guides or browsing by category.
+
+
+
+
+
);
diff --git a/apps/guides/app/opengraph-image.tsx b/apps/guides/app/opengraph-image.tsx
deleted file mode 100644
index 0dbd5a11ae..0000000000
--- a/apps/guides/app/opengraph-image.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import {
- getGuidesOgImageElement,
- OG_IMAGE_CONTENT_TYPE,
- OG_IMAGE_SIZE,
-} from 'guides-app/lib/og-image';
-import { ImageResponse } from 'next/og';
-
-export const dynamic = 'force-static';
-export const size = OG_IMAGE_SIZE;
-export const contentType = OG_IMAGE_CONTENT_TYPE;
-
-export default function Image() {
- return new ImageResponse(getGuidesOgImageElement(), { ...size });
-}
diff --git a/apps/guides/app/twitter-image.tsx b/apps/guides/app/twitter-image.tsx
deleted file mode 100644
index 0dbd5a11ae..0000000000
--- a/apps/guides/app/twitter-image.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import {
- getGuidesOgImageElement,
- OG_IMAGE_CONTENT_TYPE,
- OG_IMAGE_SIZE,
-} from 'guides-app/lib/og-image';
-import { ImageResponse } from 'next/og';
-
-export const dynamic = 'force-static';
-export const size = OG_IMAGE_SIZE;
-export const contentType = OG_IMAGE_CONTENT_TYPE;
-
-export default function Image() {
- return new ImageResponse(getGuidesOgImageElement(), { ...size });
-}
diff --git a/apps/guides/lib/metadata.ts b/apps/guides/lib/metadata.ts
index bd6b6e70d8..056c7f7cbb 100644
--- a/apps/guides/lib/metadata.ts
+++ b/apps/guides/lib/metadata.ts
@@ -29,7 +29,7 @@ export const guidesMetadata: Metadata = {
description: 'Expert hiking and outdoor guides to help you prepare for your next adventure',
images: [
{
- url: new URL('/opengraph-image.png', siteConfig.url).toString(),
+ url: new URL('/og-image.png', siteConfig.url).toString(),
width: 1200,
height: 630,
alt: 'PackRat Guides | Hiking & Outdoor Adventures',
@@ -41,7 +41,7 @@ export const guidesMetadata: Metadata = {
title: 'PackRat Guides | Hiking & Outdoor Adventures',
description: 'Expert hiking and outdoor guides to help you prepare for your next adventure',
creator: '@packratai',
- images: [new URL('/twitter-image.png', siteConfig.url).toString()],
+ images: [new URL('/og-image.png', siteConfig.url).toString()],
},
icons: {
icon: [{ url: '/PackRatGuides.ico', type: 'image/x-icon' }],
diff --git a/apps/guides/pages/404.tsx b/apps/guides/pages/404.tsx
index 753a00d67b..b0511c34c9 100644
--- a/apps/guides/pages/404.tsx
+++ b/apps/guides/pages/404.tsx
@@ -3,68 +3,96 @@
// condition active in the static generation worker, which strips useContext
// and causes the build to fail. See apps/landing/pages/404.tsx for context.
import { Backpack } from 'lucide-react';
+import Head from 'next/head';
export default function Custom404() {
return (
-
-
-
-
-
+ <>
+
+ Page not found | PackRat Guides
+
+
+
+
+
+
+
+
+
-
-
- 404
-
-
- Guide not found
-
-
- Looks like you've wandered off the trail. This guide doesn't exist.
-
+
+
+
+ );
+}
diff --git a/apps/landing/app/not-found.tsx b/apps/landing/app/not-found.tsx
index acd51677b9..de0c5bf5f4 100644
--- a/apps/landing/app/not-found.tsx
+++ b/apps/landing/app/not-found.tsx
@@ -1,16 +1,39 @@
import { Button } from '@packrat/web-ui/components/button';
+import { Compass, Home } from 'lucide-react';
+import type { Metadata } from 'next';
import Link from 'next/link';
+export const metadata: Metadata = {
+ title: 'Page not found',
+ description:
+ "We couldn't find that page on PackRat. Head back home or explore what PackRat can do for your next outdoor adventure.",
+ robots: { index: false, follow: false },
+};
+
export default function NotFound() {
return (
-
-
-
404
-
Page not found
-
+
+
+
404
+
Page not found
+
+ The page you're looking for doesn't exist or has been moved. Let's get you back on trail.
+