global-not-found.tsx

src/app/global-not-found.tsx
import '@/styles/tailwind.css'
import { bodyFont } from '@/fonts/body'
import { headingFont } from '@/fonts/heading'
import { heading2Font } from '@/fonts/heading2'
import { heading3Font } from '@/fonts/heading3'
import { accentFont } from '@/fonts/accent'
import { Section } from '@/components/section'
import { Heading } from '@/components/heading'
import { Button } from '@/components/button'
import { Navbar } from '@/components/navbar'
import { Footer } from '@/components/footer'
import type { Metadata } from 'next'
export const metadata: Metadata = {
title: 'Page Not Found',
description: 'The page you are looking for does not exist.',
}
const rootStyle = {
['--font-body-family' as string]: bodyFont.style.fontFamily,
['--font-heading-family' as string]: headingFont.style.fontFamily,
['--font-heading2-family' as string]: heading2Font.style.fontFamily,
['--font-heading3-family' as string]: heading3Font.style.fontFamily,
['--font-accent-family' as string]: accentFont.style.fontFamily,
}
export default function GlobalNotFound() {
return (
<html
lang="en"
style={rootStyle}
>
<body className="bg-body2 font-body text-lg font-medium leading-normal text-contrast antialiased">
<Navbar />
<Section
innerAlign="content"
className="text-center h-full pt-24 lg:pt-30 mb-24"
>
<Heading as="h1">Page Not Found</Heading>
<Button
variant="outline"
href="/"
native
>
Return Home
</Button>
</Section>
<Footer />
</body>
</html>
)
}

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC