diff --git a/src/components/date.rs b/src/components/date.rs index a73d79e..9e57fff 100644 --- a/src/components/date.rs +++ b/src/components/date.rs @@ -21,8 +21,9 @@ pub fn Date( /// The file path or URL of the icon displayed at the top of the button. #[prop(into)] icon: String, - // The status of the event (open, upcoming, deadline...) - //#[prop(into)] status: String, + /// The status of the event (open, upcoming, deadline...) + #[prop(into)] + status: String, ) -> impl IntoView { view! {
icon
-
-

- {title.clone()} -

-

- {date.clone()} -

-

- {description.clone()} -

+
+
+
+

+ {title.clone()} +

+

+ {date.clone()} +

+

+ {description.clone()} +

+
+
+ + {status.clone()} + +
+
}