{"size": 623, "ext": "js", "max_stars_repo_path": "src/components/Layout.js", "max_stars_repo_name": "tarekbadrshalaan/terminal.co", "max_stars_repo_stars_event_min_datetime": "2019-01-19T20:30:36.000Z", "max_stars_repo_stars_event_max_datetime": "2019-01-19T20:30:36.000Z", "max_issues_repo_path": "src/components/Layout.js", "max_issues_repo_name": "tarekbadrshalaan/terminal.co", "max_issues_repo_issues_event_min_datetime": "2019-01-19T20:30:27.000Z", "max_issues_repo_issues_event_max_datetime": "2019-05-06T13:21:35.000Z", "max_forks_repo_path": "src/components/Layout.js", "max_forks_repo_name": "tarekbadrshalaan/terminal.co", "max_forks_repo_forks_event_min_datetime": "2020-02-05T14:38:51.000Z", "max_forks_repo_forks_event_max_datetime": "2020-03-18T17:17:50.000Z"}
{"max_stars_count": 1, "max_issues_count": 7, "max_forks_count": 3, "avg_line_length": 20.7666666667, "max_line_length": 60, "alphanum_fraction": 0.5425361156}
import React from 'react'
import { Affix, Layout as AntLayout } from 'antd'

import { Header } from './Header'

const { Content, Footer } = AntLayout
const AntHeader = AntLayout.Header

export class Layout extends React.Component {
  render() {
    const { children } = this.props

    return (
      <AntLayout>
        <Affix>
          <AntHeader>
            <Header {...this.props} />
          </AntHeader>
        </Affix>
        <Content>
          {children}
        </Content>
        {/* <Footer>
          © {new Date().getFullYear()}, Perfects.Engineering
        </Footer> */}
      </AntLayout>
    )
  }
}
