From 68b217e64830a4c85229f7b53494237526ee0a71 Mon Sep 17 00:00:00 2001 From: alemi Date: Sun, 29 Dec 2024 01:33:05 +0100 Subject: [PATCH] chore(web): slimmer footer, explore as page --- web/src/app.rs | 4 ++-- web/src/components/navigation.rs | 1 + web/src/page/debug.rs | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/web/src/app.rs b/web/src/app.rs index 7243dbb..9cb0b69 100644 --- a/web/src/app.rs +++ b/web/src/app.rs @@ -192,7 +192,7 @@ pub fn App() -> impl IntoView { } /> - + // TODO can we avoid this? @@ -222,7 +222,7 @@ pub fn App() -> impl IntoView {
- "\u{26fc} woven under moonlight :: ""μpub"" :: FE v"{crate::VERSION}" :: BE v"{be_version}" :: "contact" :: "dev" :: "top + "\u{26fc} woven under moonlight :: ""μpub"" :: FE v"{crate::VERSION}" :: BE v"{be_version}" :: "top
} diff --git a/web/src/components/navigation.rs b/web/src/components/navigation.rs index 7edf9ee..ef78b75 100644 --- a/web/src/components/navigation.rs +++ b/web/src/components/navigation.rs @@ -45,6 +45,7 @@ pub fn Navigator(notifications: ReadSignal) -> impl IntoView { + } } diff --git a/web/src/page/debug.rs b/web/src/page/debug.rs index 32df8af..43a3214 100644 --- a/web/src/page/debug.rs +++ b/web/src/page/debug.rs @@ -43,7 +43,7 @@ pub fn DebugPage() -> impl IntoView {
@@ -138,7 +138,7 @@ fn DocumentNode(obj: serde_json::Value, #[prop(optional)] depth: usize) -> impl serde_json::Value::String(s) => { if s.starts_with("https://") || s.starts_with("http://") { view! { - {s} + {s} }.into_view() } else { let pretty_string = s