flask plus les pages du site melange front et back

This commit is contained in:
Yoan Guerin
2025-12-05 04:42:39 +01:00
parent 3dad610d7c
commit e8142c575c
9 changed files with 1201 additions and 1 deletions

View File

@@ -42,6 +42,22 @@ def show_questions():
questions = json.load(file)
return render_template('quiz.html', questions=questions)
@app.route('/')
def main():
return render_template('index.html')
@app.route('/pokemon')
def poke():
return render_template('pokemon.html')
@app.route('/PAI')
def pai():
return render_template('PAI.html')
@app.route('/outils')
def outils():
return render_template('outils.html')
if __name__ == '__main__':
app.run(debug=True, port=8080)