Files
supabase/apps/docs/app/not-found/layout.tsx
2024-07-04 11:51:13 +02:00

21 lines
492 B
TypeScript

import { type Metadata } from 'next'
import { type PropsWithChildren } from 'react'
import { LayoutMainContent } from '~/layouts/DefaultLayout'
import { MainSkeleton } from '~/layouts/MainSkeleton'
const metadata: Metadata = {
title: 'Not found',
robots: {
index: false,
},
}
const NotFoundLayout = ({ children }: PropsWithChildren) => (
<MainSkeleton>
<LayoutMainContent>{children}</LayoutMainContent>
</MainSkeleton>
)
export default NotFoundLayout
export { metadata }