-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.py
38 lines (30 loc) · 874 Bytes
/
app.py
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
33
34
35
36
37
from flask import Flask, render_template, request, redirect, url_for
# Setup Flask and login
app = Flask(__name__)
@app.route('/')
@app.route('/index')
def home():
"""Show the Home page."""
return render_template('home_page.html')
@app.route('/links')
@app.route('/resources')
def resources():
"""Show the resources page."""
return render_template('resources_page.html')
@app.route('/join')
def join():
"""Show the Join page."""
return render_template('join_page.html')
@app.route('/about')
@app.route('/contact')
def about():
"""Show the About page."""
return render_template('about_page.html')
@app.route('/sponsors')
def sponsors():
"""Show the Sponsors page."""
return render_template('sponsors_page.html')
@app.route('/saftey')
def safety():
"""Show the Safety page."""
return render_template('safety_page.html')