"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __importStar(require("react"));
var Heading_1 = require("../../Heading");
var react_router_dom_1 = require("react-router-dom");
exports.AuthTextFooter = function () { return (
// TODO(jorgelo): For the store front, the text should be:
React.createElement(Heading_1.PageHeadingTextCenteredSmall, null, "By joining Civil, you will get a direct say in running the Civil platform, connect with journalists and fund great journalism projects.")); };
exports.AuthTextEmailSent = function (_a) {
    var emailAddress = _a.emailAddress;
    return (React.createElement(React.Fragment, null,
        React.createElement(Heading_1.PageSubHeadingCentered, null, "Check your email!"),
        React.createElement(Heading_1.PageHeadingTextCenteredLarge, null,
            "We sent you an email to ",
            React.createElement("strong", null, emailAddress),
            " that includes a link to confirm your email address. It expires soon, so please check your email and click on the link. Once confimed, you can continue.")));
};
exports.AuthTextVerifyTokenConfirmed = function () { return (React.createElement(React.Fragment, null,
    React.createElement(Heading_1.PageSubHeadingCentered, null, "Email Address Confirmed!"),
    React.createElement(Heading_1.PageHeadingTextCenteredLarge, null, "Thanks for confirming your email address."))); };
exports.AuthTextVerifyTokenVerifying = function () { return (React.createElement(React.Fragment, null,
    React.createElement(Heading_1.PageSubHeadingCentered, null, "Confirming your email address..."))); };
exports.AuthTextEthAuthNext = function () { return (React.createElement(React.Fragment, null,
    React.createElement(Heading_1.PageHeadingTextCenteredLarge, null, "Next, we'll set up your secure crypto wallet."))); };
// TODO(jorgelo): Jorge made this up, it should probably be nicer.
exports.AuthTextVerifyTokenError = function (_a) {
    var errorMessage = _a.errorMessage;
    return (React.createElement(React.Fragment, null,
        React.createElement(Heading_1.PageSubHeadingCentered, null, "Uh oh."),
        React.createElement(Heading_1.PageHeadingTextCenteredLarge, null,
            React.createElement("strong", null, errorMessage))));
};
exports.AuthTextCreateAccount = function () { return (React.createElement(React.Fragment, null,
    React.createElement(Heading_1.PageHeadingCentered, null, "Create your Civil account"),
    React.createElement(Heading_1.PageHeadingTextCentered, null, "First, please enter your email address. Your email is used to send account related updates from Civil."),
    React.createElement(Heading_1.PageSubHeadingCentered, null, "Let's get started"))); };
exports.AuthTextCheckSpam = function () { return (React.createElement(Heading_1.PageHeadingTextCenteredLarge, null, "Please check your spam folder if you don\u2019t see the email.")); };
exports.AuthTextSigninWithEmail = function () { return (React.createElement(React.Fragment, null,
    React.createElement(Heading_1.PageHeadingCentered, null, "Sign in with email"),
    React.createElement(Heading_1.PageHeadingTextCentered, null, "Enter the address associated with your account, and we'll send a magic link to your inbox."))); };
exports.AuthTextSetHandle = function () { return (React.createElement(React.Fragment, null,
    React.createElement(Heading_1.PageHeadingCentered, null, "Welcome to the Civil community"),
    React.createElement(Heading_1.PageHeadingTextCentered, null, "To help the Civil community identify you, please enter a username."))); };
exports.AuthTextEmailNotFoundError = function (_a) {
    var signupPath = _a.signupPath;
    return (React.createElement(React.Fragment, null,
        "The email address you entered does not exist. Try again? or",
        " ",
        React.createElement(react_router_dom_1.Link, { to: signupPath }, "create a Civil account to continue.")));
};
exports.AuthTextEmailExistsError = function (_a) {
    var loginPath = _a.loginPath;
    return (React.createElement(React.Fragment, null,
        "Your account already exists. ",
        React.createElement(react_router_dom_1.Link, { to: loginPath }, "Login to continue.")));
};
// TODO(jorgelo): Make this text nicer.
exports.AuthTextUnknownError = function () { return (React.createElement(React.Fragment, null, "An internal error has occured, please try again.")); };
//# sourceMappingURL=AuthTextComponents.js.map