mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-15 17:47:09 +00:00
32 lines
912 B
TypeScript
32 lines
912 B
TypeScript
import { Document } from '../utils/mdx-utils'
|
|
import Layout from '../components/Layout'
|
|
import SEO from '../components/SEO'
|
|
import { getSearchIndex, SearchIndex } from '../utils/search'
|
|
import Doggy from '../components/Doggy'
|
|
|
|
interface IndexProps {
|
|
documents: Document[]
|
|
searchIndex: SearchIndex
|
|
}
|
|
|
|
export default function FourOhFour({ searchIndex }: IndexProps) {
|
|
return (
|
|
<Layout searchIndex={searchIndex}>
|
|
<SEO title="Conky" description="Conky documentation" />
|
|
<main className="w-full">
|
|
<div className="flex flex-col items-center">
|
|
<h1 className="text-4xl py-8 font-extrabold">404: Not found 😢</h1>
|
|
<Doggy />
|
|
<h2 className="text-3xl py-4 font-serif">Here’s a doggy 😀</h2>
|
|
</div>
|
|
</main>
|
|
</Layout>
|
|
)
|
|
}
|
|
|
|
export function getStaticProps() {
|
|
const searchIndex = getSearchIndex()
|
|
|
|
return { props: { searchIndex } }
|
|
}
|