From 9a8728454bcd11c911e82ae88d3a3eb9df958b02 Mon Sep 17 00:00:00 2001 From: DevITWay Date: Mon, 26 Jan 2026 07:38:20 +0000 Subject: [PATCH] feat(ui): add responsive mobile design - Hide sidebar on mobile, show hamburger menu - Add slide-out drawer with overlay - Touch-friendly tap targets - Responsive padding and font sizes - Replace anchor emoji with NORA logo (O as hole) --- nora-registry/src/ui/components.rs | 78 ++++++++++++++++++++++-------- 1 file changed, 58 insertions(+), 20 deletions(-) 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#" -
+