summary refs log tree commit diff stats
path: root/src/components/recipies.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-10-23 02:24:29 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-10-23 02:24:29 +0200
commit427ce16023613536b8176e6dee7c1580a5980c97 (patch)
treeab39dffcf89eacbcb19a251d540c46d9ee5b38d0 /src/components/recipies.rs
parentfeat(buy): Provide basic buy interface (diff)
downloadweb-client-427ce16023613536b8176e6dee7c1580a5980c97.zip
feat(treewide): Make usage more intuitive
Diffstat (limited to 'src/components/recipies.rs')
-rw-r--r--src/components/recipies.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/components/recipies.rs b/src/components/recipies.rs
index 1bd3a0d..f7903e4 100644
--- a/src/components/recipies.rs
+++ b/src/components/recipies.rs
@@ -1,11 +1,17 @@
 use leptos::{IntoView, component, prelude::ElementChild, view};
 
-use crate::components::container::Container;
+use crate::components::{container::Container, icon_p::IconP};
 
 #[component]
 pub fn Recipies() -> impl IntoView {
     view! {
-        <Container header="Recipies" buttons=vec![("Mealplan", "mealplan")]>
+        <Container
+            header="Recipies"
+            buttons=vec![
+                (view! { <IconP icon=icondata_io::IoFastFood text="Recipies" /> }, "recipies"),
+                (view! { <IconP icon=icondata_io::IoCalendarSharp text="Mealplan" /> }, "mealplan"),
+            ]
+        >
             <p>"You have 0 recipies."</p>
         </Container>
     }