mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
33 lines
694 B
Python
33 lines
694 B
Python
from project import app
|
|
from project.views.utils import track_analytics
|
|
from flask import url_for, render_template, request, redirect
|
|
|
|
|
|
@app.route("/")
|
|
def home():
|
|
if "src" in request.args:
|
|
track_analytics("home", "", request.args["src"])
|
|
return redirect(url_for("home"))
|
|
|
|
return render_template("home.html")
|
|
|
|
|
|
@app.route("/example")
|
|
def example():
|
|
return render_template("example.html")
|
|
|
|
|
|
@app.route("/impressum")
|
|
def impressum():
|
|
return render_template("impressum.html")
|
|
|
|
|
|
@app.route("/datenschutz")
|
|
def datenschutz():
|
|
return render_template("datenschutz.html")
|
|
|
|
|
|
@app.route("/developer")
|
|
def developer():
|
|
return render_template("developer/read.html")
|