From f2e2f88dadf65a8f3ab93549cc2d0c6d67cf9da5 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 18 Oct 2024 11:58:08 +0200 Subject: [PATCH] wip3 --- src/frontend/components/article_nav.rs | 19 ++++++++++++------- src/frontend/components/credentials.rs | 8 ++++---- src/frontend/pages/article/list.rs | 20 ++++++++++++++------ src/frontend/pages/login.rs | 2 +- src/frontend/pages/register.rs | 2 +- 5 files changed, 32 insertions(+), 19 deletions(-) diff --git a/src/frontend/components/article_nav.rs b/src/frontend/components/article_nav.rs index ef68a9a..6ee5523 100644 --- a/src/frontend/components/article_nav.rs +++ b/src/frontend/components/article_nav.rs @@ -88,13 +88,18 @@ pub fn ArticleNav(
-

{title}

- - - "Protected" - - -
+

+ {title} +

+ + + "Protected" + + + } }) }} diff --git a/src/frontend/components/credentials.rs b/src/frontend/components/credentials.rs index cecebec..4912635 100644 --- a/src/frontend/components/credentials.rs +++ b/src/frontend/components/credentials.rs @@ -18,8 +18,8 @@ pub fn CredentialsForm( }); view! { -
-

{title}

+ +

{title}

{move || { error .get() @@ -44,7 +44,7 @@ pub fn CredentialsForm( set_username.update(|v| *v = val); } /> - +