add welcome page and README.md

This commit is contained in:
2026-05-02 00:44:52 +03:30
parent 139b3e26da
commit 63a2aeebbc
19 changed files with 319 additions and 42 deletions

View File

@@ -12,7 +12,7 @@ bp = Blueprint("main", __name__)
def index():
if current_user.is_authenticated:
return redirect(url_for("main.dashboard"))
return redirect(url_for("auth.login"))
return render_template("welcome.html")
@bp.get("/dashboard")