-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
32 lines (25 loc) · 677 Bytes
/
Copy pathapp.py
File metadata and controls
32 lines (25 loc) · 677 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"""Import Flask from Flask Lib"""
from flask import Flask, render_template
app = Flask(__name__)
# Landing Page
@app.route('/')
def landing_page():
"""Return Landing Page"""
return render_template('index.html')
# Featues Page
@app.route('/features')
def features_page():
"""Return Features Page"""
return render_template('features.html')
# FAQ Page
@app.route('/faq')
def faq_page():
"""Return FAQ Page"""
return render_template('faq.html')
# About Page
@app.route('/about')
def about_page():
"""Return About Page"""
return render_template('about.html')
if __name__ == "__main__":
app.run(debug=False)