Skip to content

Commit

Permalink
Revert "Bring navigation back to home page"
Browse files Browse the repository at this point in the history
This reverts commit 23c2379.
  • Loading branch information
yesmeck committed Jan 8, 2018
1 parent 783945c commit 2d40205
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 9 additions & 3 deletions site/theme/template/Home/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,22 @@ function getStyle() {
}
#header {
box-shadow: none;
max-width: 1200px;
width: 100%;
}
#header #search-box {
display: none;
margin: 20px auto 0;
padding: 0 24px;
}
#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;
Expand Down
6 changes: 1 addition & 5 deletions site/theme/template/Layout/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,7 @@ export default class Header extends React.Component {
<Icon type="search" />
<Input ref={ref => this.searchInput = ref} placeholder={searchPlaceholder} />
</div>
{!isMobile && (
<div id="header-menu">
{menu}
</div>
)}
{!isMobile && menu}
</Col>
</Row>
</header>
Expand Down

0 comments on commit 2d40205

Please sign in to comment.