17 lines
424 B
JavaScript
17 lines
424 B
JavaScript
import Link from 'next/link'
|
|
import { headers } from 'next/headers'
|
|
|
|
export default async function NotFound() {
|
|
const headersList = headers()
|
|
const domain = headersList.get('host')
|
|
|
|
return (
|
|
<div className=' flex items-center justify-center flex-col h-96'>
|
|
<h2>Not Found:</h2>
|
|
<p>Could not find requested resource</p>
|
|
<p>
|
|
<Link href="/">Back to home</Link>
|
|
</p>
|
|
</div>
|
|
)
|
|
} |