import React from 'react';
import './certify.less';
import logo from '../../../image/logo.png';

const LoginTop = React.createClass({
    render() {
        return (
            <div className="certify-header">
                <div className="certify-logo clearfix">
                    <div className="logo">
                        <img src={logo} alt="" />
                    </div>
                    <div className="certify-text">
                        <span className="text">实名认证</span>
                        <span className="alink">
                            <a href={globalConfig.context + "/portal/index.html"}>返回首页</a>
                            <a href="./account/index">尊敬的{userData.nickname || userData.number }</a>
                            <a href="./login.html">退出</a>
                        </span>
                    </div>
                </div>
            </div>
        )
    }
});

export default LoginTop;