summaryrefslogtreecommitdiffstats
path: root/src/components/recipies.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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>
}