diff --git a/app.py b/app.py index 3042201..6547538 100644 --- a/app.py +++ b/app.py @@ -115,21 +115,13 @@ def map_isolator_response_to_flask_response(response): @ app.route("/", methods=["GET"]) -def home(): - return render_template("home.html", name='Try me', script=DEFAULT_SCRIPT, environment_info=DEFAULT_ENVIRONMENT) +def landing_page(): + return render_template("landing_page.html", name='Try me', script=DEFAULT_SCRIPT, environment_info=DEFAULT_ENVIRONMENT) @app.route("/documentation", methods=["GET"]) def documentation(): return render_template("documentation.html") -@ app.route("/dashboard", methods=["GET"]) -@login_required -def dashboard(): - user_id = current_user.id - http_functions = db.get_http_functions_for_user(user_id) - http_functions = create_http_functions_view_model(http_functions) - return render_template("dashboard/http_functions/overview.html", http_functions=http_functions) - @app.route('/execute', methods=['POST']) def execute_code(): try: @@ -307,7 +299,7 @@ def signup(): @login_required def logout(): logout_user() - return redirect(url_for('home')) + return redirect(url_for('landing_page')) diff --git a/templates/home.html b/templates/home.html deleted file mode 100644 index d35af96..0000000 --- a/templates/home.html +++ /dev/null @@ -1,196 +0,0 @@ - - - -
- - - -No DevOps, Git, or command-line - - just your - browser. -
-- Focus on coding; we handle the deployment seamlessly. -
- - - Sign Up - - - View documentation -