'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports['default'] = undefined;

var _button = require('choerodon-hap-ui/lib/button');

var _button2 = _interopRequireDefault(_button);

var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');

var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);

var _createClass2 = require('babel-runtime/helpers/createClass');

var _createClass3 = _interopRequireDefault(_createClass2);

var _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');

var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);

var _inherits2 = require('babel-runtime/helpers/inherits');

var _inherits3 = _interopRequireDefault(_inherits2);

require('choerodon-hap-ui/lib/button/style');

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _reactRouterDom = require('react-router-dom');

require('./style/404.scss');

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

var NoMatch = function (_Component) {
  (0, _inherits3['default'])(NoMatch, _Component);

  function NoMatch() {
    (0, _classCallCheck3['default'])(this, NoMatch);
    return (0, _possibleConstructorReturn3['default'])(this, (NoMatch.__proto__ || Object.getPrototypeOf(NoMatch)).apply(this, arguments));
  }

  (0, _createClass3['default'])(NoMatch, [{
    key: 'render',
    value: function render() {
      return _react2['default'].createElement(
        'div',
        { className: 'c7n-404-page' },
        _react2['default'].createElement('div', { className: 'c7n-404-page-banner' }),
        _react2['default'].createElement(
          'div',
          { className: 'c7n-404-page-banner-text' },
          _react2['default'].createElement(
            'span',
            null,
            '\u62B1\u6B49 \uFF0C\u60A8\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728\uFF01'
          ),
          _react2['default'].createElement(
            _reactRouterDom.Link,
            { to: '/' },
            _react2['default'].createElement(
              _button2['default'],
              { color: 'blue' },
              '\u8FD4\u56DE\u9996\u9875'
            )
          )
        )
      );
    }
  }]);
  return NoMatch;
}(_react.Component);

exports['default'] = NoMatch;