diff --git a/nora-registry/src/ui/components.rs b/nora-registry/src/ui/components.rs index 244083b..d4daeee 100644 --- a/nora-registry/src/ui/components.rs +++ b/nora-registry/src/ui/components.rs @@ -11,24 +11,46 @@ pub fn layout(title: &str, content: &str, active_page: Option<&str>) -> String {
+ + + {} -
+
{} -
+
{}
+ + "##, html_escape(title), @@ -91,15 +113,22 @@ fn sidebar(active_page: Option<&str>) -> String { format!( r#" -
+