import React , { FC } from 'react' ; import { Layout } from 'antd' ; const { Header , Content , Footer } = Layout ; const AdminPage = ( { children } ) => { return ( < Layout > < Header className = "flex justify-center tc" style = { { padding : 0 } } > Espetinho do Lucis < /Header> < Content style = { { margin : '24px 16px 0' } } > { children } < /Content> < Footer style = { { textAlign : 'center' } } > Alt Zap © 2020 Campina Grande - PB < /Footer> < /Layout>); } ; export default AdminPage ;