File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
frontend/src/components/blocks Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { observer } from 'mobx-react' ;
2
+ import { Outlet } from 'react-router-dom' ;
3
+
4
+ export const AuthedLayout = observer ( ( ) => {
5
+ return (
6
+ < div id = 'main' className = 'flex h-[calc(100dvh-64px)] w-full flex-col overscroll-contain' >
7
+ < Outlet />
8
+ </ div >
9
+ // <div id='main' className='bg-background flex size-full min-h-screen flex-col'>
10
+ // {/* Body */}
11
+ // <div className='container'>
12
+ // <Outlet />
13
+ // </div>
14
+ // </div>
15
+ ) ;
16
+ } ) ;
Original file line number Diff line number Diff line change
1
+ import { Outlet } from 'react-router-dom' ;
2
+ import NavBar from './nav-bar' ;
3
+
4
+ export function RootLayout ( ) {
5
+ return (
6
+ < div className = 'text-text bg-background flex min-h-screen flex-col overscroll-contain' >
7
+ < NavBar />
8
+ < main className = 'flex flex-1' >
9
+ < Outlet />
10
+ </ main >
11
+ </ div >
12
+ ) ;
13
+ }
You can’t perform that action at this time.
0 commit comments