feat(build): add concise lower helper

Generate lower(html) as the short static/prototype fragment lowering helper while keeping lower_html(html) as the compatibility alias, then move the v0 page assembly to the leaner path.

req: dx/006

req: component/003
This commit is contained in:
slhx agent
2026-06-01 23:22:32 +02:00
parent f7d9f820e2
commit 60eed5f98f
3 changed files with 11 additions and 8 deletions
+5 -5
View File
@@ -181,12 +181,12 @@ fn registry(state: Arc<ExampleState>) -> HandlerRegistry {
fn all_examples() -> String {
[
counter::lower_html(include_str!("../templates/counter.heml")),
todos::lower_html(include_str!("../templates/todos.heml")),
wizard::lower_html(include_str!("../templates/wizard.heml")),
auth::lower_html(include_str!("../templates/auth.heml")),
counter::lower(include_str!("../templates/counter.heml")),
todos::lower(include_str!("../templates/todos.heml")),
wizard::lower(include_str!("../templates/wizard.heml")),
auth::lower(include_str!("../templates/auth.heml")),
render_page_swap("Welcome", "Welcome"),
notifications::lower_html(include_str!("../templates/notifications.heml")),
notifications::lower(include_str!("../templates/notifications.heml")),
]
.join("\n")
}