import type * as types from '@/lib/types' import { PageHead } from './PageHead' import styles from './styles.module.css' export function Page404({ site, pageId, error }: types.PageProps) { const title = site?.name || 'Notion Page Not Found' return ( <>

Notion Page Not Found

{error ? (

{error.message}

) : ( pageId && (

Make sure that Notion page "{pageId}" is publicly accessible.

) )} 404 Not Found
) }