modified: app.py
new file: templates/about.html new file: templates/contact.html new file: templates/faq.html new file: templates/help.html
This commit is contained in:
20
app.py
20
app.py
@@ -108,6 +108,26 @@ def login():
|
||||
session['oauth_state'] = state
|
||||
return redirect(authorization_url)
|
||||
|
||||
@app.route("/about")
|
||||
def about():
|
||||
"""Zeigt eine öffentliche Über uns Seite an."""
|
||||
return render_template("about.html")
|
||||
|
||||
@app.route("/contact")
|
||||
def contact():
|
||||
"""Zeigt eine öffentliche Kontaktseite an."""
|
||||
return render_template("contact.html")
|
||||
|
||||
@app.route("/faq")
|
||||
def faq():
|
||||
"""Zeigt eine öffentliche FAQ Seite an."""
|
||||
return render_template("faq.html")
|
||||
|
||||
@app.route("/help")
|
||||
def help_page():
|
||||
"""Zeigt eine öffentliche Hilfeseite an."""
|
||||
return render_template("help.html")
|
||||
|
||||
@app.route("/callback")
|
||||
def callback():
|
||||
"""Verarbeitet den OAuth2-Rückruf von Discord."""
|
||||
|
||||
22
templates/about.html
Normal file
22
templates/about.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>About Us</title>
|
||||
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||
<a class="navbar-brand" href="/">Multus Bot</a>
|
||||
<ul class="navbar-nav ml-auto">
|
||||
<li class="nav-item"><a class="nav-link" href="{{ url_for('login') }}">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="container mt-5">
|
||||
<h1>About Us</h1>
|
||||
<p>Welcome to Multus Bot, the AI-powered Discord bot created by SimolZimol. We aim to make managing Discord servers easier with AI tools and advanced functionalities.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
22
templates/contact.html
Normal file
22
templates/contact.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Contact Us</title>
|
||||
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||
<a class="navbar-brand" href="/">Multus Bot</a>
|
||||
<ul class="navbar-nav ml-auto">
|
||||
<li class="nav-item"><a class="nav-link" href="{{ url_for('login') }}">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="container mt-5">
|
||||
<h1>Contact Us</h1>
|
||||
<p>If you have any questions or need support, feel free to contact us at <a href="mailto:support@multusbot.com">support@multusbot.com</a>.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
27
templates/faq.html
Normal file
27
templates/faq.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>FAQ</title>
|
||||
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||
<a class="navbar-brand" href="/">Multus Bot</a>
|
||||
<ul class="navbar-nav ml-auto">
|
||||
<li class="nav-item"><a class="nav-link" href="{{ url_for('login') }}">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="container mt-5">
|
||||
<h1>Frequently Asked Questions (FAQ)</h1>
|
||||
<p>Find answers to the most commonly asked questions about the Multus Bot.</p>
|
||||
<ul>
|
||||
<li><strong>What is Multus Bot?</strong> Multus Bot is an AI-powered Discord bot designed for server management and automation.</li>
|
||||
<li><strong>How do I install Multus Bot?</strong> Simply invite Multus Bot to your server using the invite link provided in your dashboard.</li>
|
||||
<li><strong>How do I use AI commands?</strong> Check out our documentation for a full guide on using the bot’s AI functionalities.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
26
templates/help.html
Normal file
26
templates/help.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Help</title>
|
||||
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||
<a class="navbar-brand" href="/">Multus Bot</a>
|
||||
<ul class="navbar-nav ml-auto">
|
||||
<li class="nav-item"><a class="nav-link" href="{{ url_for('login') }}">Login</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<div class="container mt-5">
|
||||
<h1>Help Center</h1>
|
||||
<p>Need help? Here are some resources to get you started with Multus Bot.</p>
|
||||
<ul>
|
||||
<li><a href="/faq">Check our FAQ</a></li>
|
||||
<li><a href="mailto:support@multusbot.com">Contact Support</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user