
- Revamped the flags ui to be consistent with the rest - The expand setting is on by default now. Tweaks to its dialog and header - Added a new kiosk mode that will use the entire screen for the workbench - Got rid of the auto-hiding behaviour of the header which gets annoying quick
24 lines
671 B
JavaScript
24 lines
671 B
JavaScript
// Components
|
|
import { BaseLayout, BaseLayoutLeft, BaseLayoutWide } from 'shared/components/base-layout.mjs'
|
|
import { NavLinks, Breadcrumbs, MainSections } from 'shared/components/navigation/sitenav.mjs'
|
|
|
|
export const ns = []
|
|
|
|
export const DefaultLayout = ({ children = [], pageTitle = false }) => (
|
|
<BaseLayout>
|
|
<BaseLayoutLeft>
|
|
<MainSections />
|
|
<NavLinks />
|
|
</BaseLayoutLeft>
|
|
|
|
<BaseLayoutWide>
|
|
{pageTitle && (
|
|
<div className="xl:pl-4">
|
|
<Breadcrumbs />
|
|
<h1 className="break-words">{pageTitle}</h1>
|
|
</div>
|
|
)}
|
|
<div className="xl:pl-4">{children}</div>
|
|
</BaseLayoutWide>
|
|
</BaseLayout>
|
|
)
|