From 9d02ae1c6b9d68745d38f708bdebf585bd00371f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asger=20Juul=20Brunsh=C3=B8j?= Date: Mon, 27 Jan 2025 23:17:30 +0100 Subject: [PATCH] header remove fancy --- crates/ascend/src/components/header.rs | 59 +++----------------------- crates/ascend/src/pages/edit_wall.rs | 2 +- 2 files changed, 7 insertions(+), 54 deletions(-) diff --git a/crates/ascend/src/components/header.rs b/crates/ascend/src/components/header.rs index 8db55aa..523d434 100644 --- a/crates/ascend/src/components/header.rs +++ b/crates/ascend/src/components/header.rs @@ -14,59 +14,12 @@ pub struct HeaderItem { /// Header with background color etc. #[component] pub fn StyledHeader(items: HeaderItems) -> impl IntoView { - let fancy = false; - - if fancy { - view! { -
- // Left gradient chunk -
-
-
-
- -
-
-
- - // Right gradient chunk -
-
-
- // Left gradient chunk -
- -
- // Background color gradient -
-
- - // Right gradient chunk -
-
-
-
-
- } - .into_any() - } else { - view! { -
-
-
-
-
- } - .into_any() + view! { +
+ //
+
+ //
+
} } diff --git a/crates/ascend/src/pages/edit_wall.rs b/crates/ascend/src/pages/edit_wall.rs index acdc20d..079ea1f 100644 --- a/crates/ascend/src/pages/edit_wall.rs +++ b/crates/ascend/src/pages/edit_wall.rs @@ -29,7 +29,7 @@ pub fn EditWall() -> impl leptos::IntoView { link: Some("/".to_string()), }], middle: vec![HeaderItem { - text: "EDIT WALL".to_string(), + text: "HOLDS".to_string(), link: None, }], right: vec![],