Chore/redirects (#113)

* Update _redirects for deploy

* Update signin/signout links

* Redirect non-emailVerified users to www (#108)

* Add HMTL Intro (#109)
This commit is contained in:
Stuart Taylor
2018-05-30 13:45:03 +01:00
committed by Mrugesh Mohapatra
parent 1fbeee14a2
commit 975b306a6e
3 changed files with 5 additions and 3 deletions

View File

@@ -1,8 +1,9 @@
/* global HOME_PATH */
import React from 'react'; import React from 'react';
function Login() { function Login() {
return ( return (
<a href='https://beta.freecodecamp.org/signin' target='_blank'> <a href={HOME_PATH + '/signin'} target='_blank'>
Login Login
</a> </a>
); );

View File

@@ -1,7 +1,8 @@
/* global HOME_PATH */
import React from 'react'; import React from 'react';
function SignedIn() { function SignedIn() {
return <a href='https://beta.freecodecamp.org/settings'>Settings</a>; return <a href={HOME_PATH + '/settings'}>Settings</a>;
} }
SignedIn.displayName = 'SignedIn'; SignedIn.displayName = 'SignedIn';

View File

@@ -1 +1 @@
/external/* https://beta.freecodecamp.org/external/:splat 200 /external/* https://www.freecodecamp.org/external/:splat 200