feat: test 404 page

This commit is contained in:
karl 2025-03-28 15:30:36 -04:00
parent 05ffc542eb
commit 458391a882
3 changed files with 7 additions and 0 deletions

View File

@ -29,6 +29,7 @@ export default async function Page(props: {
const params = await props.params
const page = await getPage(params.page)
console.log('pagepagepagepage', page)
if (!page) return notFound()
return (

View File

@ -0,0 +1,5 @@
import { notFound } from 'next/navigation'
export default function CatchAllNotFoundPage() {
notFound()
}

View File

@ -1,4 +1,5 @@
import Layout from '@/app/layout'
import { notFound } from 'next/navigation'
import PageHeroGrid from '@/components/pages/PageHeroGrid'
// Assets