Skip to content

Commit

Permalink
add navbar to coming soon page,
Browse files Browse the repository at this point in the history
Relates #148
  • Loading branch information
sima-qian committed Oct 18, 2018
1 parent 8334362 commit 89c62af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
12 changes: 2 additions & 10 deletions src/components/Pages/ComingSoon.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
/* eslint-disable class-methods-use-this */

import React from "react";
import BackButton from "../TopBar/BackButton";
import NavBar from "../Navbar/Navbar";
import comingSoonIcon from "../../assets/icons/coming-soon-icon.svg";
import PropTypes from "prop-types";

export default class ComingSoon extends React.Component {
render() {
return (
<React.Fragment>
<div id="topbar-container">
<BackButton link={this.props.link} />
<h3 id="topbar-title">Coming soon...</h3>
</div>
<div id="icon-wrapper">
<img id="coming-soon-icon" src={comingSoonIcon} />
</div>
<NavBar />
</React.Fragment>
);
}
}

ComingSoon.propTypes = {
link: PropTypes.string
};
1 change: 0 additions & 1 deletion src/components/Pages/Statistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export default class StatisticsPage extends React.Component {
return (
<div>
<ComingSoon />
<Navbar />
</div>
);
}
Expand Down

0 comments on commit 89c62af

Please sign in to comment.