summary refs log tree commit diff stats
path: root/src/components/recipies.rs
blob: f7903e468f1fb083393b7a436d9138f1fbc1beea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use leptos::{IntoView, component, prelude::ElementChild, view};

use crate::components::{container::Container, icon_p::IconP};

#[component]
pub fn Recipies() -> impl IntoView {
    view! {
        <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>
    }
}