Skip to content

Commit

Permalink
pip freeze requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Helen Chen committed May 21, 2020
1 parent 172cd9d commit d6f2155
Show file tree
Hide file tree
Showing 6 changed files with 23,537 additions and 14 deletions.
12 changes: 6 additions & 6 deletions frontend/bboyapp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions frontend/bboyapp/src/App.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
import React from 'react';
import './App.css';
import 'antd/dist/antd.css';
import CustomLayout from './containers/Layout';

function App() {
return (
<div className="App">
</div>
);
return (
<div className="App">
<CustomLayout>

</CustomLayout>
</div>
);
}

export default App;
33 changes: 29 additions & 4 deletions frontend/bboyapp/src/containers/Layout.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,36 @@
import React from 'react';
import { Layout, Menu, Breadcrumb } from 'antd';

const { Header, Content, Footer } = Layout;

const CustomLayout = (props) => {
return (
// CUSTOM LAYOUT CODE
)
return (

<Layout className="layout">
<Header>
<div className="logo" />
<Menu theme="dark" mode="horizontal" defaultSelectedKeys={['2']}>
<Menu.Item key="1">nav 1</Menu.Item>
<Menu.Item key="2">nav 2</Menu.Item>
<Menu.Item key="3">nav 3</Menu.Item>
</Menu>
</Header>
<Content style={{ padding: '0 50px' }}>
<Breadcrumb style={{ margin: '16px 0' }}>
<Breadcrumb.Item>Home</Breadcrumb.Item>
<Breadcrumb.Item>List</Breadcrumb.Item>
<Breadcrumb.Item>App</Breadcrumb.Item>
</Breadcrumb>
<div className="site-layout-content">
{props.children}
</div>
</Content>
<Footer style={{ textAlign: 'center' }}>Ant Design ©2018 Created by Ant UED</Footer>
</Layout>

);

}

// DELETE DOM THING
export default CustomLayout;

Loading

0 comments on commit d6f2155

Please sign in to comment.