commit b0906f52f7bd28c9c46b0191a27af962c5fed87b Author: Abhiram Vishnubhotla Date: Sun Jul 21 12:42:47 2024 -0500 Updated base.html diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..7628a50 Binary files /dev/null and b/.DS_Store differ diff --git a/app.py b/app.py new file mode 100644 index 0000000..f953704 --- /dev/null +++ b/app.py @@ -0,0 +1,31 @@ +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') + +if __name__ == '__main__': + app.run(debug=True) \ No newline at end of file diff --git a/static/css/styles.css b/static/css/styles.css new file mode 100644 index 0000000..699a279 --- /dev/null +++ b/static/css/styles.css @@ -0,0 +1,3 @@ +body { + margin: 0; +} diff --git a/static/js/scripts.js b/static/js/scripts.js new file mode 100644 index 0000000..e69de29 diff --git a/templates/awards.html b/templates/awards.html new file mode 100644 index 0000000..c85949e --- /dev/null +++ b/templates/awards.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block title %}Awards{% endblock %} + +{% block content %} + +{% endblock %} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..543f0ae --- /dev/null +++ b/templates/base.html @@ -0,0 +1,34 @@ + + + + + + {% block title %}FTC Robotics{% endblock %} + + + + + + + + + + {% block content %} + {% endblock %} + + diff --git a/templates/competitions.html b/templates/competitions.html new file mode 100644 index 0000000..0968294 --- /dev/null +++ b/templates/competitions.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block title %}Competition Log{% endblock %} + +{% block content %} + + +

competitions

+ + +{% endblock %} \ No newline at end of file diff --git a/templates/contact.html b/templates/contact.html new file mode 100644 index 0000000..c6ac85c --- /dev/null +++ b/templates/contact.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block title %}Communication{% endblock %} + +{% block content %} + + +

contact

+ + +{% endblock %} \ No newline at end of file diff --git a/templates/contributors.html b/templates/contributors.html new file mode 100644 index 0000000..7c3029c --- /dev/null +++ b/templates/contributors.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block title %}Members and Contributors{% endblock %} + +{% block content %} + + +

contributors

+ + +{% endblock %} \ No newline at end of file diff --git a/templates/home.html b/templates/home.html new file mode 100644 index 0000000..a1a0715 --- /dev/null +++ b/templates/home.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block title %}Home{% endblock %} + +{% block content %} + + +

home

+ + +{% endblock %} \ No newline at end of file diff --git a/templates/robot.html b/templates/robot.html new file mode 100644 index 0000000..590378d --- /dev/null +++ b/templates/robot.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block title %}About The Robot{% endblock %} + +{% block content %} + +{% endblock %} \ No newline at end of file