web UI, tailwind, icons, login

This commit is contained in:
2026-03-08 11:31:32 +01:00
parent 149bf43c01
commit e1578af68e
27 changed files with 462 additions and 10 deletions

12
src/web/mod.rs Normal file
View File

@@ -0,0 +1,12 @@
use axum::Router;
use tower_http::services::ServeFile;
mod components;
mod icons;
mod pages;
pub fn web_router() -> Router {
Router::new()
.route_service("/styles.css", ServeFile::new("src/web/styles.css"))
.merge(pages::pages())
}