use crate::authentication::AuthenticatedUser; use axum::{ Extension, response::{Html, IntoResponse, Response}, }; pub async fn admin_dashboard( Extension(AuthenticatedUser { username, .. }): Extension, ) -> Response { Html(format!(include_str!("html/dashboard.html"), username)).into_response() }