import React from 'react' import styles from './Main.scss' import { MenuItem, Dropdown } from 'react-bootstrap' import { Link } from 'react-router' import { connect } from 'react-redux' import actions from 'actions' import Tutorial from 'features/tutorial/components/Tutorial' import TutorialHeader from 'features/tutorial/components/TutorialHeader/TutorialHeader' import { Navigation, SecondaryNavigation } from '../' import { withNamespaces } from 'react-i18next' class Main extends React.Component { constructor(props) { super(props) this.state = { tutorialHeight: 0 } this.toggleDropdown = this.toggleDropdown.bind(this) this.setTutorialHeight = this.setTutorialHeight.bind(this) } setTutorialHeight(height) { this.setState({tutorialHeight: height }) } toggleDropdown(event) { event.stopPropagation() this.props.toggleDropdown() } render() { let logo = require('images/logo-bytom-white.svg') const { t, i18n , version } = this.props const changeLanguage = (lng) => { i18n.changeLanguage(lng) } return (