mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-14 12:20:01 -04:00
Header/Headerless routes
This commit is contained in:
parent
396e1f7233
commit
6c5a0f33ae
5 changed files with 71 additions and 55 deletions
12
src/components/HeaderRoute.tsx
Normal file
12
src/components/HeaderRoute.tsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { Header } from "./Header";
|
||||
|
||||
export function HeaderRoute(props: { children: any }) {
|
||||
return (
|
||||
<div class="flex h-screen flex-col">
|
||||
<Header />
|
||||
<div class="flex-1 bg-primary">
|
||||
<main class="h-full">{props.children}</main>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue