This repository was archived by the owner on Jun 10, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,11 +77,6 @@ class SideNav extends Component {
7777 to = "/join" text = "Join"
7878 onClick = { this . handleCloseClick }
7979 />
80- < NavItem
81- className = "menuItem"
82- to = "/login" text = "Login"
83- onClick = { this . handleCloseClick }
84- />
8580 </ span >
8681 ) ;
8782 }
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ class TopNav extends Component {
4646 < NavItem to = "code-schools" text = "Code Schools" />
4747 < NavItem to = "https://donorbox.org/operationcode" text = "Donate" isExternal />
4848 < NavItem to = "join" text = "Join" />
49- < NavItem to = "login" text = "Login" />
5049 </ Nav >
5150 ) ;
5251 }
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import React, { Component } from 'react';
44import { Route , withRouter } from 'react-router-dom' ;
55import PropTypes from 'prop-types' ;
66import classNames from 'classnames' ;
7- import Login from 'shared/components/login/login' ;
87import * as CookieHelpers from 'shared/utils/cookieHelper' ;
98import familyImage from 'images/Family-2.png' ;
109import SignUp from './signup/signup' ;
@@ -107,13 +106,6 @@ class Home extends Component {
107106 path = "/thanks"
108107 component = { Thanks }
109108 />
110- < Route
111- exact
112- path = "/login"
113- render = { ( ) => (
114- < Login updateRootAuthState = { this . updateRootAuthState } />
115- ) }
116- />
117109 < Route
118110 exact
119111 path = "/"
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ class SignUp extends Component {
126126 onChange = { this . onConfirmPasswordChange } validateFunc = { this . validatePasswordConfirm }
127127 />
128128 { this . state . error && < span > There was an error joining Operation Code™: { this . state . error } </ span > }
129- { this . state . success && < Redirect to = "/login " /> }
129+ { this . state . success && < Redirect to = "/thanks " /> }
130130 < FormButton className = { styles . joinButton } text = "Join" onClick = { this . handleOnClick } theme = "red" />
131131 </ Form >
132132 </ Section >
Original file line number Diff line number Diff line change 11import React , { Component } from 'react' ;
2- import { Link } from 'react-router-dom' ;
32import Section from 'shared/components/section/section' ;
43
54class Thanks extends Component {
65 render ( ) {
76 return (
87 < Section title = "Thanks for joining" >
98 < span > Thanks for joining operation code™. Please check your email for orders.</ span >
10- < Link to = "/home" > Get Started</ Link >
119 </ Section >
1210 ) ;
1311 }
You can’t perform that action at this time.
0 commit comments