-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.py
39 lines (26 loc) · 895 Bytes
/
application.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
38
39
from flask import Flask, render_template, request
app = Flask(__name__)
@app.route("/")
def index():
return render_template("index.html")
@app.route("/projects", methods = ["GET", "POST"])
def projects():
return render_template("projects.html")
@app.route("/about", methods = ["GET", "POST"])
def about():
return render_template("about.html")
@app.route("/contact", methods = ["GET", "POST"])
def contact():
return render_template("contact.html")
@app.route("/cpp", methods = ["GET", "POST"])
def cpp():
return render_template("cpp.html")
@app.route("/web-development", methods = ["GET", "POST"])
def webdev():
return render_template("webdev.html")
@app.route("/python", methods = ["GET", "POST"])
def python():
return render_template("python.html")
@app.route("/resume", methods = ["GET", "POST"])
def resume():
return render_template("resume.html")