Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Use shared signup #304

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/app/PublicApp.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import React, { useRef } from 'react';
import PropTypes from 'prop-types';
import { Redirect, Route, Switch } from 'react-router-dom';
import { StandardPublicApp, ResetPasswordContainer, ForgotUsernameContainer } from 'react-components';
import { StandardPublicApp, ResetPasswordContainer, ForgotUsernameContainer, SignupContainer } from 'react-components';

import PublicLayout from './components/layout/PublicLayout';
import LoginContainer from './containers/LoginContainer';
import RedeemContainer from './containers/RedeemContainer';
import PreInviteContainer from './containers/PreInviteContainer';
import SignupContainer from './containers/SignupContainer/SignupContainer';

import locales from './locales';
import PlansTable from './components/sections/plans/PlansTable';

const PublicApp = ({ onLogin }) => {
const hasStopRedirect = useRef(false);
Expand All @@ -30,10 +30,13 @@ const PublicApp = ({ onLogin }) => {
path="/signup/:step?"
render={({ history, match }) => (
<SignupContainer
redirectUrl="/downloads"
homepageUrl={'https://protonvpn.com'}
stopRedirect={stopRedirect}
history={history}
match={match}
onLogin={onLogin}
renderPlansTable={(props) => <PlansTable {...props} />}
/>
)}
/>
Expand Down
156 changes: 0 additions & 156 deletions src/app/containers/SignupContainer/AccountStep/AccountForm.js

This file was deleted.

42 changes: 0 additions & 42 deletions src/app/containers/SignupContainer/AccountStep/AccountStep.js

This file was deleted.

34 changes: 0 additions & 34 deletions src/app/containers/SignupContainer/AccountStep/LoginPromptModal.js

This file was deleted.

18 changes: 0 additions & 18 deletions src/app/containers/SignupContainer/LoginPanel.js

This file was deleted.

This file was deleted.

60 changes: 0 additions & 60 deletions src/app/containers/SignupContainer/PaymentStep/PaymentStep.js

This file was deleted.

24 changes: 0 additions & 24 deletions src/app/containers/SignupContainer/PlanStep/OSIcon.js

This file was deleted.

Loading