From 43de8334e27d356ec40126bb2cb735e19176ddc2 Mon Sep 17 00:00:00 2001 From: alemi Date: Fri, 27 Dec 2024 02:04:30 +0100 Subject: [PATCH] feat(web): better follow/following/follows tags still lot to do but better than previous misaligned bs! --- web/src/actors/header.rs | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/web/src/actors/header.rs b/web/src/actors/header.rs index 02ee845..4708d24 100644 --- a/web/src/actors/header.rs +++ b/web/src/actors/header.rs @@ -81,19 +81,37 @@ pub fn ActorHeader() -> impl IntoView {
-
+
{if following_me { - Some(view! { follows you }) + Some(view! { + + + "!" + follows you + + + }) } else { None }} {if followed_by_me { view! { - "following" - + + + x + following + + }.into_view() } else { - view! { }.into_view() + view! { + + + + + follow + + + }.into_view() }}