From 2fed1548311f592be190d749c405251c373d595f Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Fri, 6 Sep 2024 11:41:48 +0200 Subject: [PATCH] modified: app.py new file: templates/landing.html --- app.py | 7 +++---- templates/landing.html | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 templates/landing.html diff --git a/app.py b/app.py index 3d81719..143fe0b 100644 --- a/app.py +++ b/app.py @@ -95,10 +95,9 @@ def make_discord_session(token=None, state=None): @app.route("/") -def index(): - if "username" in session: - return render_template("index.html", bot_running=bot_status()) - return redirect(url_for("login")) +def landing_page(): + """Ungeschützte Landing Page""" + return render_template("landing.html") @app.route("/login") def login(): diff --git a/templates/landing.html b/templates/landing.html new file mode 100644 index 0000000..c090841 --- /dev/null +++ b/templates/landing.html @@ -0,0 +1,40 @@ + + +
+ + +Your friendly AI-powered Discord bot, designed by SimolZimol.
+Use this bot to manage your Discord server with ease and integrate advanced AI-powered commands.
+ Login with Discord +