mirror of https://github.com/usbharu/Hideout.git
21 lines
510 B
TypeScript
21 lines
510 B
TypeScript
import {createSignal, ParentComponent} from "solid-js";
|
|
import {Grid} from "@suid/material";
|
|
import {Sidebar} from "./Sidebar";
|
|
|
|
export const MainPage: ParentComponent = (props) => {
|
|
return (
|
|
<Grid container spacing={2} wrap={"nowrap"}>
|
|
<Grid item xs={0} md={3}>
|
|
<Sidebar/>
|
|
</Grid>
|
|
<Grid item xs={12} md={6}>
|
|
{props.children}
|
|
</Grid>
|
|
<Grid item xs={0} md={3}>
|
|
|
|
</Grid>
|
|
</Grid>
|
|
|
|
)
|
|
}
|