From 0871e295eeffa295a833db6ff6eda9a304ed8f0c Mon Sep 17 00:00:00 2001 From: Beaumont Mogridge <mogridgeb@cardiff.ac.uk> Date: Wed, 1 Dec 2021 16:42:16 +0000 Subject: [PATCH] Update main.py added contact-us.html and about.html --- main.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main.py b/main.py index 03362b5..14a2dbd 100644 --- a/main.py +++ b/main.py @@ -11,6 +11,15 @@ def home(): workspaces = database.get_workspaces() return render_template("home.html", workspaces = workspaces) +@app.route("/about", methods = ["GET"]) +def about(): + return render_template("about.html") + +@app.route("/contact-us", methods = ["GET"]) +def contact(): + return render_template("contact-us.html") + + @app.route("/map", methods = ["GET"]) def map(): if request.method == "GET": -- GitLab