'use strict'; import React from 'react'; import { Link } from 'react-router'; import Glyphicon from 'react-bootstrap/lib/Glyphicon'; import { getLangText } from '../../../../../utils/lang_utils'; const PRHero = React.createClass({ propTypes: { currentUser: React.PropTypes.shape({ email: React.PropTypes.object }).isRequired }, render() { const { currentUser } = this.props; return (

 {getLangText('Congratulations') + (currentUser.email ? ` ${currentUser.email}!` : '!')}

{getLangText('You have successfully submitted to Portfolio Review 2016.')}

Not you? {getLangText('Change account.')}

); } }); export default PRHero;