mirror of
https://github.com/kremalicious/umami.git
synced 2024-06-24 10:16:25 +02:00
21 lines
474 B
TypeScript
21 lines
474 B
TypeScript
'use client';
|
|
import Shell from './Shell';
|
|
import NavBar from './NavBar';
|
|
import Page from 'components/layout/Page';
|
|
import styles from './layout.module.css';
|
|
|
|
export default function AppLayout({ children }) {
|
|
return (
|
|
<Shell>
|
|
<main className={styles.layout}>
|
|
<nav className={styles.nav}>
|
|
<NavBar />
|
|
</nav>
|
|
<section className={styles.body}>
|
|
<Page>{children}</Page>
|
|
</section>
|
|
</main>
|
|
</Shell>
|
|
);
|
|
}
|