mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-17 16:40:40 +00:00
19 lines
397 B
TypeScript
19 lines
397 B
TypeScript
import { Container } from '@chakra-ui/react';
|
|
import { FC } from 'react';
|
|
|
|
import { Footer } from './Footer'
|
|
|
|
interface Props {
|
|
children?: React.ReactNode;
|
|
}
|
|
|
|
// TODO: if mobile, getMobileLayout, else getDesktopLayout
|
|
export const Layout: FC<Props> = ({ children }) => {
|
|
return (
|
|
<Container maxW={{ sm: 'container.sm' }} my={7}>
|
|
{children}
|
|
|
|
<Footer />
|
|
</Container>
|
|
);
|
|
};
|