feat: wire activity feed, users list, and profile page handlers

This commit is contained in:
2026-05-04 19:12:06 +02:00
parent 6bd1ce8c4a
commit 0b6ac2eb77
3 changed files with 113 additions and 1 deletions

View File

@@ -14,7 +14,9 @@ pub fn build_router(state: AppState) -> Router {
fn html_routes() -> Router<AppState> {
Router::new()
.route("/", routing::get(handlers::html::get_index))
.route("/", routing::get(handlers::html::get_activity_feed))
.route("/users", routing::get(handlers::html::get_users_list))
.route("/users/{id}", routing::get(handlers::html::get_user_profile))
.route(
"/login",
routing::get(handlers::html::get_login_page)