UNPKG

@randy.tarampi/jsx

Version:

Some common JSX components for www.randytarampi.ca

19 lines 972 B
import { DeadBear } from "@randy.tarampi/js"; import { DateTime } from "luxon"; import React from "react"; import { ConnectedBear } from "../../../containers/emoji/bear"; import { EmailLink } from "../../link"; export var ErrorESERVERContentComponent = () => /*#__PURE__*/React.createElement(ConnectedBear, { emoji: DeadBear.fromJS(), id: "error-dead-bear" }, /*#__PURE__*/React.createElement("h2", { className: "error__message--header" }, /*#__PURE__*/React.createElement("span", { className: "text" }, "He's dead, Jim.")), /*#__PURE__*/React.createElement("p", { className: "error__message" }, "You've just tripped something and I've been notified. ", /*#__PURE__*/React.createElement(EmailLink, { useBranding: false, subject: "I broke something at ".concat(DateTime.local().toLocaleString(DateTime.DATETIME_FULL)) }, "Let me know"), " if you're super keen and I can probably walk you through what happened.")); export default ErrorESERVERContentComponent;