import { Sidebar } from '@/components/Sidebar' import { SidebarContentList } from '@/types/content-types' import { getSidebarContentList } from '@/utils/getSidebarContentList' import { GetStaticProps } from 'next' import { useTheme } from 'next-themes' import Link from 'next/link' interface Props { sidebar: SidebarContentList } export default function NotFoundpage({ sidebar }: Props) { const theme = useTheme() return (

{`Sorry, we couldn't find the page you were looking for.`}

Back to the start.

) } export const getStaticProps: GetStaticProps = async () => { const sidebar = await getSidebarContentList({}) return { props: { sidebar } } }