We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a034f8 commit 925cd42Copy full SHA for 925cd42
src/layouts/RootLayout.tsx
@@ -1,17 +1,17 @@
1
-import { Box } from "@chakra-ui/react"
+import { Container } from "@chakra-ui/react"
2
3
import Nav from "@/components/Nav"
4
import Footer from "@/components/Footer"
5
6
+import { lightTheme as oldTheme } from "../theme"
7
+
8
export const RootLayout = ({ children }) => (
- <Box px={20}>
9
+ <Container mx="auto" maxW={oldTheme.variables.maxPageWidth}>
10
{/* TODO: get proper path value after setting i18n */}
11
<Nav path="" />
12
13
{children}
14
- <Box px={2}>
- <Footer />
15
- </Box>
16
+ <Footer />
+ </Container>
17
)
0 commit comments