Files
FTCWebsite/app.py
abhiram v b5ca78551f update 1
2024-10-17 22:45:58 +00:00

40 lines
840 B
Python

# TODO
# Fix all text sizes across all pages except competition log
# Fix all top margins (do 20ish vh instead)
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
@app.route('/home')
def home():
return render_template('home.html')
@app.route('/contributors')
def contributors():
return render_template('contributors.html')
@app.route('/robot')
def robot():
return render_template('robot.html')
@app.route('/competitions')
def competitions():
return render_template('competitions.html')
# @app.route('/awards')
# def awards():
# return render_template('awards.html')
@app.route('/contact')
def contact():
return render_template('contact.html')
@app.route('/sponsors')
def sponsors():
return render_template('sponsors.html')
if __name__ == '__main__':
app.run(debug=True)