wip: heavy refactoring html routers

This commit is contained in:
Per Stark
2025-03-08 15:47:44 +01:00
parent 812bce27d1
commit 89155130e6
50 changed files with 1130 additions and 987 deletions

View File

@@ -6,12 +6,9 @@ use axum_session_auth::AuthSession;
use axum_session_surreal::SessionSurrealPool;
use surrealdb::{engine::any::Any, Surreal};
use common::{
error::HtmlError,
storage::types::{text_content::TextContent, user::User},
};
use common::storage::types::{text_content::TextContent, user::User};
use crate::{html_state::HtmlState, page_data};
use crate::{error::HtmlError, html_state::HtmlState, page_data};
use super::render_template;