"use strict";
/**
 * @file 404
 * @author fex
 */
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var theme_1 = require("../theme");
var NotFound = /** @class */ (function (_super) {
    tslib_1.__extends(NotFound, _super);
    function NotFound() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    NotFound.prototype.render = function () {
        var _a = this.props, links = _a.links, footerText = _a.footerText, description = _a.description, children = _a.children, code = _a.code;
        return (React.createElement("div", { className: "container w-xxl w-auto-xs" },
            React.createElement("div", { className: "text-center m-b-lg" },
                React.createElement("h1", { className: "text-shadow text-white" }, code || '404'),
                description ? React.createElement("div", { className: "text-danger" }, description) : null),
            children,
            links ? React.createElement("div", { className: "list-group bg-info auto m-b-sm m-b-lg" }, links) : null,
            footerText ? (React.createElement("div", { className: "text-center" },
                React.createElement("p", null,
                    React.createElement("small", { className: "text-muted" }, footerText)))) : null));
    };
    return NotFound;
}(React.Component));
exports.NotFound = NotFound;
exports.default = theme_1.themeable(NotFound);
//# sourceMappingURL=./components/404.js.map
