Debian Codegraph @

examples/react-spa/frontend/src/Root.js

raw
1 import NavBar from './NavBar'
2 import { Outlet } from 'react-router-dom'
3
4 export default function Root () {
5 return (
6 <>
7 <NavBar />
8 <main className='flex-shrink-0'>
9
10 <div className='container'>
11 <Outlet />
12 </div>
13 </main>
14
15 <footer className='footer mt-auto py-3 bg-body-tertiary'>
16 <div className='container'>
17 <span className='text-body-secondary'>⚠️ This sole purpose of this example React app is to demonstrate the use of headless django-allauth. Please do not mind the looks!</span>
18 </div>
19 </footer>
20
21 </>
22 )
23 }