chore: update Layout
This commit is contained in:
parent
e0464a7b26
commit
6ba9dc891e
src/components
|
@ -5,9 +5,10 @@ interface Props {
|
||||||
children?: React.ReactNode;
|
children?: React.ReactNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: if mobile, getMobileLayout, else getDesktopLayout
|
||||||
export const Layout: FC<Props> = ({ children }) => {
|
export const Layout: FC<Props> = ({ children }) => {
|
||||||
return (
|
return (
|
||||||
<Container maxW='container.lg' my={7}>
|
<Container maxW={{ sm: 'container.sm' }} my={7}>
|
||||||
{children}
|
{children}
|
||||||
</Container>
|
</Container>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue