Bring navigation back to home page

This commit is contained in:
Wei Zhu 2018-01-06 12:38:28 +08:00
parent b8608deaed
commit 23c23797ff
2 changed files with 8 additions and 10 deletions

View File

@ -15,22 +15,16 @@ function getStyle() {
}
#header {
box-shadow: none;
max-width: 1200px;
width: 100%;
margin: 20px auto 0;
padding: 0 24px;
}
#header #search-box {
display: none;
}
#header,
#header .ant-select-selection,
#header .ant-menu {
background: transparent;
}
#header #logo {
padding: 0;
}
#header .ant-row > div:last-child, #header .nav-phone-icon{
display: none;
}
footer .footer-wrap{
width: 100%;
padding: 0;

View File

@ -210,7 +210,11 @@ export default class Header extends React.Component {
<Icon type="search" />
<Input ref={ref => this.searchInput = ref} placeholder={searchPlaceholder} />
</div>
{!isMobile && menu}
{!isMobile && (
<div id="header-menu">
{menu}
</div>
)}
</Col>
</Row>
</header>