Signup: add a link to the pricing page.

master
Tom Hacohen 4 years ago
parent f142b6081a
commit 1b788acf83

@ -24,6 +24,8 @@ import { startTask, PASSWORD_MIN_LENGTH, enforcePasswordRules } from "./helpers"
import { login } from "./store/actions"; import { login } from "./store/actions";
import { Link } from "react-router-dom"; import { Link } from "react-router-dom";
import * as C from "./constants";
interface FormErrors { interface FormErrors {
username?: string; username?: string;
email?: string; email?: string;
@ -176,6 +178,17 @@ export default function SignupPage() {
<Container style={{ maxWidth: "30rem" }}> <Container style={{ maxWidth: "30rem" }}>
<h2 style={{ marginBottom: "0.1em" }}>Signup</h2> <h2 style={{ marginBottom: "0.1em" }}>Signup</h2>
<div style={{ fontSize: "90%" }}>or <Link to={routeResolver.getRoute("home")}>log in to your account</Link></div> <div style={{ fontSize: "90%" }}>or <Link to={routeResolver.getRoute("home")}>log in to your account</Link></div>
<Alert
style={styles.infoAlert}
severity="info"
>
<a href={C.pricing} style={{ color: "inherit", textDecoration: "inherit", display: "block" }}>
You are signing up for a free trial. Click here for pricing information.
</a>
</Alert>
<form style={styles.form} onSubmit={signup}> <form style={styles.form} onSubmit={signup}>
<TextField <TextField
type="text" type="text"

@ -5,6 +5,7 @@ export const appName = "EteSync";
export const defaultServerUrl = process.env.REACT_APP_DEFAULT_API_PATH ?? "https://api.etebase.com/partner/etesync/"; export const defaultServerUrl = process.env.REACT_APP_DEFAULT_API_PATH ?? "https://api.etebase.com/partner/etesync/";
export const homePage = "https://www.etesync.com/"; export const homePage = "https://www.etesync.com/";
export const faq = homePage + "faq/"; export const faq = homePage + "faq/";
export const pricing = homePage + "pricing/";
export const sourceCode = "https://github.com/etesync/etesync-web"; export const sourceCode = "https://github.com/etesync/etesync-web";
export const reportIssue = sourceCode + "/issues"; export const reportIssue = sourceCode + "/issues";

Loading…
Cancel
Save