icg-gh.png, icg-gh.svg, icg.svg, image-11ldby0i.png, image-1hmfchzd.png, image-4z9yhycr.png, image-bg.siteorigin.com-doublelined-overlay.png, image-bg.siteorigin.com-inflicted-overlay.png, logo-icg-gh-org.png, logo-icg-graphmark.png, logo-icg-graphmark.svg, logo.svg, global.css, nodes.css, AppLayoutSidebar.tsx, PublicLayout.tsx, Subpanel.tsx, index.module.css, EntityOptions.tsx, index.tsx, and LandingPage.tsx
27 lines
601 B
TypeScript
Executable File
27 lines
601 B
TypeScript
Executable File
import { Outlet } from 'react-router-dom';
|
|
import { ToastContainer } from 'react-toastify';
|
|
import PublicNavbar from '../components/PublicNavbar';
|
|
|
|
export default function PublicLayout(): React.ReactElement {
|
|
return (
|
|
<>
|
|
<PublicNavbar />
|
|
<main id="main-view">
|
|
<Outlet />
|
|
</main>
|
|
<ToastContainer
|
|
position='bottom-right'
|
|
autoClose={3000}
|
|
hideProgressBar={false}
|
|
newestOnTop={false}
|
|
closeOnClick
|
|
rtl={false}
|
|
pauseOnFocusLoss
|
|
draggable
|
|
pauseOnHover
|
|
theme='light'
|
|
/>
|
|
</>
|
|
);
|
|
}
|