mirror of
https://github.com/supabase/supabase.git
synced 2026-05-06 08:56:46 -04:00
41d924b074
New Docs IA, mainly splitting up the miscellaneous bucket that is Platform into multiple sections
23 lines
683 B
TypeScript
23 lines
683 B
TypeScript
import { type PropsWithChildren } from 'react'
|
|
|
|
import HomePageCover from '~/components/HomePageCover'
|
|
import { LayoutMainContent } from './DefaultLayout'
|
|
import { SidebarSkeleton } from './MainSkeleton'
|
|
|
|
const HomeLayout = ({ children }: PropsWithChildren) => {
|
|
return (
|
|
<SidebarSkeleton hideSideNav>
|
|
<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>
|
|
</SidebarSkeleton>
|
|
)
|
|
}
|
|
|
|
export default HomeLayout
|