mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 23:59:08 +03:00
moar
This commit is contained in:
1 parent
1ddb9e3433
commit
1898a52b69
2 files changed
+15
-1
No files matched your search
@@ -3,6 +3,7 @@ import SettingsMenuPanel from './settings-menu-panel'
|
||||
import TopHeader from './top-header'
|
||||
import { motion } from 'framer-motion'
|
||||
import EntranceTransition from './entrance-transition'
|
||||
import ProjectContentTransition from './project-content-transition'
|
||||
|
||||
export default function OrgLayout({
|
||||
children,
|
||||
@@ -15,7 +16,7 @@ export default function OrgLayout({
|
||||
<SettingsMenuPanel />
|
||||
<div className="flex flex-col grow">
|
||||
<TopHeader />
|
||||
{children}
|
||||
<ProjectContentTransition>{children}</ProjectContentTransition>
|
||||
</div>
|
||||
</EntranceTransition>
|
||||
<RedirectCatcher />
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
'use client'
|
||||
|
||||
export default function ProjectContentTransition({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode
|
||||
}>) {
|
||||
return (
|
||||
<>
|
||||
<div className="grow">{children}</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user