File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { JSONCrackLogo } from "../JsonCrackLogo";
88
99export const Footer = ( ) => {
1010 return (
11- < Container mt = { 60 } px = { 60 } pb = "xl" bg = "black" fluid >
11+ < Container w = "100%" mt = { 60 } px = { 60 } pb = "xl" bg = "black" fluid >
1212 < Divider color = "gray.3" mb = "xl" mx = { - 60 } />
1313 < Flex justify = "space-between" >
1414 < Stack gap = { 4 } visibleFrom = "sm" >
Original file line number Diff line number Diff line change @@ -12,14 +12,21 @@ const inter = Inter({
1212const StyledLayoutWrapper = styled . div `
1313 background: #fff;
1414 font-family: ${ inter . style . fontFamily } ;
15+ display: flex;
16+ flex-direction: column;
17+ min-height: 100vh;
18+ ` ;
19+
20+ const ContentWrapper = styled . div `
21+ flex: 1;
1522` ;
1623
1724const PageLayout = ( { children } : React . PropsWithChildren ) => {
1825 return (
1926 < ThemeProvider theme = { lightTheme } >
2027 < StyledLayoutWrapper >
2128 < Navbar />
22- { children }
29+ < ContentWrapper > { children } </ ContentWrapper >
2330 < Footer />
2431 </ StyledLayoutWrapper >
2532 </ ThemeProvider >
You can’t perform that action at this time.
0 commit comments