diff --git a/packages/fakeyou/src/common/FrontendUrlConfig.ts b/packages/fakeyou/src/common/FrontendUrlConfig.ts index 21d6d3fd06..34225a2ccd 100644 --- a/packages/fakeyou/src/common/FrontendUrlConfig.ts +++ b/packages/fakeyou/src/common/FrontendUrlConfig.ts @@ -8,6 +8,12 @@ class FrontendUrlConfig { return '/'; } + // Login and signup flow + + static signupPage() : string { + return '/signup'; + } + // Standalone pages static aboutUsPage() : string { diff --git a/packages/fakeyou/src/v2/view/NewTopNavFc.tsx b/packages/fakeyou/src/v2/view/NewTopNavFc.tsx index 18c92555b4..8636ffb371 100644 --- a/packages/fakeyou/src/v2/view/NewTopNavFc.tsx +++ b/packages/fakeyou/src/v2/view/NewTopNavFc.tsx @@ -260,9 +260,10 @@ function NewTopNavFc(props: Props) {
  • + {/* TODO(echelon): Fix the build warnings about href not being accessible. */}
  • + {/* TODO(echelon): Fix the build warnings about href not being accessible. */}
  • - + {/* TODO(echelon): Fix the build warnings about href not being accessible. */} + Developers
  • diff --git a/packages/fakeyou/src/v2/view/login/LoginPage.tsx b/packages/fakeyou/src/v2/view/login/LoginPage.tsx index bb52f03c50..1fe4dce70d 100644 --- a/packages/fakeyou/src/v2/view/login/LoginPage.tsx +++ b/packages/fakeyou/src/v2/view/login/LoginPage.tsx @@ -1,6 +1,7 @@ import React, { useState } from "react"; +import { FrontendUrlConfig } from "../../../common/FrontendUrlConfig"; import { SessionWrapper } from "@storyteller/components/src/session/SessionWrapper"; -import { useHistory } from "react-router-dom"; +import { Link, useHistory } from "react-router-dom"; import { CreateSession, CreateSessionIsError, @@ -177,7 +178,13 @@ function LoginPage(props: Props) {

    Don’t have an account? - Create an account now. +   + + Create an account now. +