Initial commit
This commit is contained in:
15
src/data/app.py
Normal file
15
src/data/app.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from flask import Flask, render_template
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route("/")
|
||||
def home():
|
||||
return render_template("index.html", title="Accueil")
|
||||
|
||||
@app.route("/projects")
|
||||
def projects():
|
||||
return render_template("projects.html", title="Projets")
|
||||
|
||||
@app.route("/contact")
|
||||
def contact():
|
||||
return render_template("contact.html", title="Contact")
|
||||
Reference in New Issue
Block a user