mirror of
https://github.com/kremalicious/umami.git
synced 2024-06-25 18:56:23 +02:00
20 lines
443 B
TypeScript
20 lines
443 B
TypeScript
import App from './App';
|
|
import NavBar from './NavBar';
|
|
import Page from 'components/layout/Page';
|
|
import styles from './layout.module.css';
|
|
|
|
export default function ({ children }) {
|
|
return (
|
|
<App>
|
|
<main className={styles.layout}>
|
|
<nav className={styles.nav}>
|
|
<NavBar />
|
|
</nav>
|
|
<section className={styles.body}>
|
|
<Page>{children}</Page>
|
|
</section>
|
|
</main>
|
|
</App>
|
|
);
|
|
}
|