"use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard"),_interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")),_createClass2=_interopRequireDefault(require("@babel/runtime/helpers/createClass")),_possibleConstructorReturn2=_interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")),_getPrototypeOf2=_interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")),_inherits2=_interopRequireDefault(require("@babel/runtime/helpers/inherits")),_defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty")),_react=_interopRequireWildcard(require("react")),_propTypes=_interopRequireDefault(require("prop-types")),_withStyles=_interopRequireDefault(require("../../hoc/withStyles")),_ErrorBoundary=_interopRequireDefault(require("../../hoc/ErrorBoundary")),_Button=_interopRequireDefault(require("../../bosons/Button")),_styles=_interopRequireDefault(require("./styles")),Jumbotron=/*#__PURE__*/function(_Component){function Jumbotron(){return(0,_classCallCheck2.default)(this,Jumbotron),(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Jumbotron).apply(this,arguments))}return(0,_inherits2.default)(Jumbotron,_Component),(0,_createClass2.default)(Jumbotron,[{key:"render",value:function render(){var _this$props=this.props,classes=_this$props.classes,title=_this$props.title,description=_this$props.description,hrefText=_this$props.hrefText,href=_this$props.href,footerText=_this$props.footerText;return _react.default.createElement(_ErrorBoundary.default,null,_react.default.createElement("div",{className:classes.component},_react.default.createElement("div",{className:classes.title},title),description&&_react.default.createElement("div",{className:classes.description},description),hrefText&&_react.default.createElement(_Button.default,{href:href,maxWidth:400,width:"80%",applyBorderRadius:!0,title:hrefText}),footerText&&_react.default.createElement("div",{className:classes.footerText},footerText)))}}]),Jumbotron}(_react.Component);(0,_defineProperty2.default)(Jumbotron,"propTypes",{href:_propTypes.default.string,hrefText:_propTypes.default.string,title:_propTypes.default.string,description:_propTypes.default.string,footerText:_propTypes.default.string,classes:_propTypes.default.object});var _default=(0,_withStyles.default)(_styles.default)(Jumbotron);exports.default=_default;