import React, { Component } from 'react' import { connect } from 'react-redux' import actions from 'site/actions' import { history } from "site/store" import { CREDITS_STRINGS } from "../constants" import { LastMuseumLogo } from "../icons" import "./credits.css" class Credits extends Component { constructor(props) { super(props) this.handleClick = this.handleClick.bind(this) this.goHome = this.goHome.bind(this) this.changeLanguage = this.changeLanguage.bind(this) } componentDidMount() { actions.site.interact() } handleClick(e) { e && e.preventDefault() } goHome() { history.push(`/thelastmuseum/home/`) } changeLanguage() { actions.site.changeLanguage(this.props.language === "de" ? "en" : "de") } render() { const { language } = this.props return (