Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-2211: Onboarding - Status Bar #641

Merged
merged 10 commits into from Dec 7, 2020

Reset default view, done with testing

  • Loading branch information
benstrumeyer committed Dec 7, 2020
commit 7c64022d90c9cb911bbf0cf6c4877698cb26730d
@@ -35,6 +35,10 @@ const steps = [
}
];

/** Example of usage:
* <StepProgressBar currentStep={2} steps={steps} />
*/

/**
* A React function component for rendering the Step Progress bar
* @return {JSX} JSX for rendering the Step Progress bar of the ghostery-browser-intro-hub app
@@ -31,7 +31,6 @@ import CreateAccountView from './Views/CreateAccountView';
import ForgotPasswordView from '../shared-components/ForgotPassword/ForgotPasswordContainer';
import LogInView from './Views/LogInView';
import UpgradePlanView from './Views/UpgradePlanView';
import StepProgressBar from './Views/StepProgressBar';

const store = createStore();

@@ -44,7 +43,7 @@ const ah = (QueryString.parse(window.location.search).ah === 'true') || false;
*/
const Hub = () => (
<AppView>
<Route exact path="/" render={() => <StepProgressBar currentStep={2} />} />
<Route exact path="/" render={UpgradePlanView} />
<Route exact path="/home" component={ah ? UpgradePlanView : HomeView} />
<Route path="/setup" component={SetupView} />
<Route path="/tutorial" component={TutorialView} />
ProTip! Use n and p to navigate between commits in a pull request.