From 27716c5ec0063212a9a09ecca9a671f50fc40fb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asger=20Juul=20Brunsh=C3=B8j?= Date: Sun, 6 Apr 2025 23:27:11 +0200 Subject: [PATCH] save/saved text --- crates/ascend/src/components/outlined_box.rs | 2 +- crates/ascend/src/pages/wall.rs | 17 ++++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/crates/ascend/src/components/outlined_box.rs b/crates/ascend/src/components/outlined_box.rs index 9c01db9..90a75e5 100644 --- a/crates/ascend/src/components/outlined_box.rs +++ b/crates/ascend/src/components/outlined_box.rs @@ -29,7 +29,7 @@ pub fn OutlinedBox(children: Children, color: Gradient, #[prop(optional)] highli Gradient::PurpleBlue => "bg-purple-900", Gradient::Orange => "bg-orange-900", Gradient::Pink => "bg-pink-900", - Gradient::PinkRed => "bg-red-900", + Gradient::PinkRed => "bg-fuchsia-950", }; c.push(' '); diff --git a/crates/ascend/src/pages/wall.rs b/crates/ascend/src/pages/wall.rs index bf09e86..4fa1885 100644 --- a/crates/ascend/src/pages/wall.rs +++ b/crates/ascend/src/pages/wall.rs @@ -225,7 +225,7 @@ fn View() -> impl IntoView { -
+
@@ -241,7 +241,7 @@ fn View() -> impl IntoView {
-
+
@@ -302,6 +302,16 @@ fn Transformations() -> impl IntoView { } } +#[component] +#[tracing::instrument(skip_all)] +fn LikedButton() -> impl IntoView { + crate::tracing::on_enter!(); + + let ctx = use_context::().unwrap(); + + view! {