import React, { Component } from 'react';

require('./CopyrightInfo.scss');


export default function CopyrightInfo(props) {
	return (
		<div className="row masthead-row">
			<div className="col-md-6">
				<div className="text-xs-center text-sm-center text-md-left copyright">
					Copyright <a href="http://www.janhrabal.com" target="_janhrabal">Jan Hrabal</a> &copy; { props.since || "2014" }-{ (new Date()).getFullYear() }
				</div>
			</div>
			<div className="col-md-6">
				<div className="text-xs-center text-sm-center text-md-right version">
					{ props.version || window.cfg.version }
				</div>
			</div>
		</div>
	);
}