import React from 'react' import { Link, Router } from 'react-static' import styled, { injectGlobal } from 'styled-components' // import Routes from 'react-static-routes' import { Layout, Menu, Icon } from 'antd' const { Header, Sider, Content, Footer } = Layout injectGlobal` #root { min-width: 100%; min-height: 100%; display: flex; } ` const Logo = styled.div` height: 32px; background: #333; border-radius: 6px; margin: 16px; ` const Trigger = styled(Icon)` font-size: 18px; line-height: 64px; padding: 0 16px; cursor: pointer; transition: color 0.3s; :hover { color: #108ee9; } ` class App extends React.Component { state = { collapsed: false, } toggle = () => { this.setState({ collapsed: !this.state.collapsed, }) } render() { return ( Home Blog About
) } } export default App