From 7257194b4945b7468bb1af9edacd22e3dab925a0 Mon Sep 17 00:00:00 2001 From: Sidney Alcantara Date: Mon, 7 Mar 2022 18:16:40 +1100 Subject: [PATCH] remove deploy page --- src/App.tsx | 6 -- src/constants/routes.ts | 1 - src/pages/Deploy.tsx | 178 ---------------------------------------- 3 files changed, 185 deletions(-) delete mode 100644 src/pages/Deploy.tsx diff --git a/src/App.tsx b/src/App.tsx index 5c1aec54..eb610f7b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -25,7 +25,6 @@ import routes from "@src/constants/routes"; import AuthPage from "@src/pages/Auth"; import SignOutPage from "@src/pages/Auth/SignOut"; import SignUpPage from "@src/pages/Auth/SignUp"; -import DeployPage from "@src/pages/Deploy"; import TestPage from "@src/pages/Test"; import RowyRunTestPage from "@src/pages/RowyRunTest"; import PageNotFound from "@src/pages/PageNotFound"; @@ -99,11 +98,6 @@ export default function App() { path={routes.setup} render={() => } /> - } - /> 0) { - uiConfig.signInSuccessUrl = parsed.redirect; - } - - const isMobile = useMediaQuery((theme: any) => theme.breakpoints.down("md")); - - const [continued, setContinued] = useState(false); - const [confirmProject, setConfirmProject] = useState(false); - const [confirmAuth, setConfirmAuth] = useState(false); - - return ( - - - -
- - Set up Rowy on your Google Cloud or Firebase project with a - one-click deploy button. -
-
- We have no access to your data and it always stays on your - project. - - } - > - - {!continued ? ( - - - - ) : ( - - <> - - - Make sure you have the following: - - - - setConfirmProject(e.target.checked) - } - /> - } - label="A Google Cloud or Firebase project" - /> - setConfirmAuth(e.target.checked)} - /> - } - label="Firebase Authentication with the Google sign-in method enabled" - /> - - - - Don’t have a project? Follow our{" "} - - step-by-step guide - {" "} - to get started. - - -
- {confirmProject && confirmAuth ? ( - - Run on Google Cloud - - ) : ( - Run on Google Cloud - )} -
- - - By setting up Rowy, you agree to our{" "} - - Terms and Conditions - {" "} - and{" "} - - Privacy Policy - - . - - -
- )} -
-
-
-
- ); -}