mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
23 lines
662 B
TypeScript
23 lines
662 B
TypeScript
import { type PropsWithChildren } from 'react'
|
|
|
|
import HomePageCover from '~/components/HomePageCover'
|
|
import { LayoutMainContent } from './DefaultLayout'
|
|
import { MainSkeleton } from './MainSkeleton'
|
|
|
|
const HomeLayout = ({ children }: PropsWithChildren) => {
|
|
return (
|
|
<MainSkeleton>
|
|
<article>
|
|
<HomePageCover title="Supabase Documentation" />
|
|
<LayoutMainContent>
|
|
<div className={['relative transition-all ease-out', 'duration-150 '].join(' ')}>
|
|
<div className="prose max-w-none">{children}</div>
|
|
</div>
|
|
</LayoutMainContent>
|
|
</article>
|
|
</MainSkeleton>
|
|
)
|
|
}
|
|
|
|
export default HomeLayout
|