refactors/reformatting.
This commit is contained in:
parent
8cf7e25efd
commit
e8c5ab355d
|
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue