feat: Update to API references look and feel (#343)

Co-authored-by: Vadim Smirnov <smirnou.vadzim@gmail.com>
Co-authored-by: zakariasaad <zakaria.elas@gmail.com>
Co-authored-by: Vilfred Sikker <vilfredsikker@gmail.com>
Co-authored-by: olivermrbl <oliver@mrbltech.com>
This commit is contained in:
Kasper Fabricius Kristensen
2021-08-20 10:26:29 +02:00
committed by GitHub
co-authored by Vadim Smirnov zakariasaad Vilfred Sikker olivermrbl
parent 40400b483c
commit 143f06aa39
85 changed files with 19022 additions and 7116 deletions
+26
View File
@@ -0,0 +1,26 @@
import React from "react"
import { Flex, Box } from "theme-ui"
import Sidebar from "./sidebar"
const Layout = ({ data, api, children }) => {
return (
<Flex sx={{ p: "0", m: "0", overflow: "hidden" }}>
<Flex
sx={{
position: "absolute",
top: 0,
left: 0,
right: 0,
bottom: 0,
fontFamily: "body",
flexGrow: "1",
}}
>
<Sidebar data={data} api={api} />
<Box>{children}</Box>
</Flex>
</Flex>
)
}
export default Layout