2023-06-28 09:36:38 +00:00
|
|
|
import {createSignal, ParentComponent} from "solid-js";
|
2023-06-14 15:43:21 +00:00
|
|
|
import {Grid} from "@suid/material";
|
|
|
|
import {Sidebar} from "./Sidebar";
|
|
|
|
|
|
|
|
export const MainPage: ParentComponent = (props) => {
|
|
|
|
return (
|
2023-06-28 09:36:38 +00:00
|
|
|
<Grid container spacing={2} wrap={"nowrap"}>
|
2023-06-14 15:43:21 +00:00
|
|
|
<Grid item xs={0} md={3}>
|
|
|
|
<Sidebar/>
|
|
|
|
</Grid>
|
2023-06-28 09:36:38 +00:00
|
|
|
<Grid item xs={12} md={6}>
|
2023-06-14 15:43:21 +00:00
|
|
|
{props.children}
|
|
|
|
</Grid>
|
|
|
|
<Grid item xs={0} md={3}>
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
2023-06-28 09:36:38 +00:00
|
|
|
|
2023-06-14 15:43:21 +00:00
|
|
|
)
|
2023-06-28 09:36:38 +00:00
|
|
|
}
|