mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
More refactoring and clean-up.
This commit is contained in:
parent
f062cdbed2
commit
c815e7cd51
16 changed files with 101 additions and 134 deletions
|
|
@ -2,6 +2,7 @@ import { Container } from 'react-basics';
|
|||
import Head from 'next/head';
|
||||
import NavBar from 'components/layout/NavBar';
|
||||
import useRequireLogin from 'hooks/useRequireLogin';
|
||||
import { UI_LAYOUT_BODY } from 'lib/constants';
|
||||
import styles from './AppLayout.module.css';
|
||||
|
||||
export default function AppLayout({ title, children }) {
|
||||
|
|
@ -19,7 +20,7 @@ export default function AppLayout({ title, children }) {
|
|||
<div className={styles.nav}>
|
||||
<NavBar />
|
||||
</div>
|
||||
<div className={styles.body} id="layout-body">
|
||||
<div className={styles.body} id={UI_LAYOUT_BODY}>
|
||||
<Container>
|
||||
<main>{children}</main>
|
||||
</Container>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue