Initial Commit

This commit is contained in:
gabatxo1312 2026-01-23 13:56:30 +01:00
commit e8529bdbee
25 changed files with 13519 additions and 0 deletions

16
src/routes/user.rs Normal file
View file

@ -0,0 +1,16 @@
use askama::Template;
use askama_web::WebTemplate;
use crate::error::AppStateError;
#[derive(Template, WebTemplate)]
#[template(path = "users/index.html")]
struct UsersIndexTemplate {}
pub async fn index() -> Result<impl axum::response::IntoResponse, AppStateError> {
if 0 > 1 {
return Err(AppStateError::Error);
}
Ok(UsersIndexTemplate {})
}