Services page finished. Ready for deployment

This commit is contained in:
2024-04-28 16:48:16 +01:00
parent 7d4ef4b429
commit 4d2770d003
29 changed files with 213 additions and 135 deletions

6
app.py
View File

@@ -100,7 +100,7 @@ def home():
return render_template('_page_home.html', model=Model_View_Home(db, get_info_user(), app))
@app.route('/contact', methods=['GET', 'POST'])
@app.route('/contact', methods=['GET'])
def contact():
form = Form_Contact()
if form.validate_on_submit():
@@ -115,6 +115,10 @@ def contact():
mail.send(mailItem)
return render_template('_page_contact.html', model=Model_View_Contact(db, get_info_user(), app, form))
@app.route('/services', methods=['GET', 'POST'])
def services():
return render_template('_page_services.html', model=Model_View_Home(db, get_info_user(), app))
# Store
@app.route('/store', methods=['GET', 'POST'])