refactor(techdemo): compose page with hemplate views

Move the techdemo page shell and remaining board/inspector/hero boundaries to hemplate-owned views instead of Rust raw HTML or placeholder replacement. Keep rendered HTML assertions DOM-aware with scraper.

req: html_safety/002

req: view/001

req: test/005
This commit is contained in:
slhx agent
2026-05-25 21:09:39 +02:00
parent fee9762069
commit 6f93c7d935
7 changed files with 247 additions and 109 deletions
+12
View File
@@ -143,6 +143,18 @@ impl SafeHtml {
}
}
impl AsRef<str> for SafeHtml {
fn as_ref(&self) -> &str {
self.as_str()
}
}
impl core::fmt::Display for SafeHtml {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
f.write_str(self.as_str())
}
}
/// A generated, checked CSS class token.
///
/// Plain CSS/SCSS owns appearance; slhx only gives Rust a typed reference to