2024-01-15 12:33:15 +00:00
|
|
|
import { Header } from '@/components/Header'
|
|
|
|
import { Sidebar } from '@/components/Sidebar'
|
|
|
|
import { getDb } from '@/utils/ContentDatabase'
|
|
|
|
|
|
|
|
export default async function NotFound() {
|
|
|
|
const db = await getDb()
|
|
|
|
const sidebar = await db.getSidebarContentList({})
|
|
|
|
|
|
|
|
return (
|
2024-02-29 16:28:45 +00:00
|
|
|
<div className="wrapper">
|
|
|
|
<div className="layout">
|
|
|
|
<Header />
|
|
|
|
<Sidebar {...sidebar} />
|
|
|
|
<main className="main-content article">
|
|
|
|
<div className="page-header">
|
|
|
|
<h1>Not found.</h1>
|
|
|
|
</div>
|
|
|
|
<p>There's nothing here. :(</p>
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-01-15 12:33:15 +00:00
|
|
|
)
|
|
|
|
}
|