refactors/reformatting.

This commit is contained in:
Daniel Ternyak 2017-04-18 18:36:29 -05:00
parent 8cf7e25efd
commit e8c5ab355d
1 changed files with 30 additions and 21 deletions

View File

@ -1,7 +1,9 @@
import React, {Component} from 'react' import React, {Component} from "react";
import NodeDropdownComponent from './components/NodeDropdownComponent' import NodeDropdownComponent from "./components/NodeDropdownComponent";
import LanguageDropDownComponent from './components/LanguageDropdownComponent' import LanguageDropDownComponent from "./components/LanguageDropdownComponent";
import PropTypes from 'prop-types'; import PropTypes from "prop-types";
import TabsOptions from "./components/TabsOptions";
export default class Header extends Component { export default class Header extends Component {
constructor(props) { constructor(props) {
@ -14,6 +16,7 @@ export default class Header extends Component {
toggleLanguageDropdown: PropTypes.func, toggleLanguageDropdown: PropTypes.func,
languageSelection: PropTypes.number, languageSelection: PropTypes.number,
languageToggle: PropTypes.bool, languageToggle: PropTypes.bool,
// NodeDropdownComponentProps // NodeDropdownComponentProps
changeNode: PropTypes.func, changeNode: PropTypes.func,
toggleNodeDropdown: PropTypes.func, toggleNodeDropdown: PropTypes.func,
@ -37,7 +40,7 @@ export default class Header extends Component {
languageSelection, languageSelection,
changeLanguage, changeLanguage,
toggleLanguageDropdown, toggleLanguageDropdown,
languageToggle, languageToggle
} }
let NodeDropdownComponentProps = { let NodeDropdownComponentProps = {
@ -48,6 +51,7 @@ export default class Header extends Component {
} }
return ( return (
<div>
<section className="bg-gradient header-branding"> <section className="bg-gradient header-branding">
<section className="container"> <section className="container">
<a className="brand" href="/" aria-label="Go to homepage"> <a className="brand" href="/" aria-label="Go to homepage">
@ -68,6 +72,11 @@ export default class Header extends Component {
</div> </div>
</section> </section>
</section> </section>
{/*{TODO - Re-enable for tab options}*/}
{/*<TabsOptions {...{}}/>*/}
</div>
) )
} }
} }