import React from "react"; import { Link } from "react-scroll"; import { Collapse, Container, Modal, ModalBody, ModalHeader, Navbar, NavbarNav, NavbarToggler, NavItem, NavLink } from "mdbreact"; import { FormattedMessage } from 'react-intl'; // Images import HeaderLogo from '../assets/img/header/logo.png'; /** * The header of the home page. */ class HomeHeader extends React.Component { constructor(props) { super(props); this.state = { showmenu: true }; this.state = { collapse: false }; this.toggleModal = this.toggleModal.bind(this); this.onClick = this.onClick.bind(this); this.handleNavbarClick = this.handleNavbarClick.bind(this); } onClick() { this.setState({ collapse: !this.state.collapse }); } toggleModal() { this.setState({ modal2: !this.state.modal2 }); } handleNavbarClick() { this.setState({ collapse: false }); } render() { return (
Downloads
); } } export default HomeHeader;