ui chnages of mobile viwe respo and adding login page logo

This commit is contained in:
2026-01-10 16:49:46 +05:30
parent 5afe8e7096
commit 64fbb91199
8 changed files with 176 additions and 50 deletions

View File

@@ -1,9 +1,11 @@
from flask import Blueprint, render_template
from app.utils.helpers import login_required
from flask import Blueprint, render_template, session, redirect, url_for
dashboard_bp = Blueprint("dashboard", __name__, url_prefix="/dashboard")
@dashboard_bp.route("/")
@login_required
def dashboard():
if not session.get("user_id"):
return redirect(url_for("auth.login"))
return render_template("dashboard.html", title="Dashboard")