Updates to client

This commit is contained in:
2025-05-01 22:21:51 -04:00
parent 4f976fb7af
commit e9b914c88b
16 changed files with 205 additions and 22 deletions
+3 -7
View File
@@ -1,4 +1,4 @@
use crate::models::media::Media;
use crate::components::{MediaGrid, Search};
use dioxus::prelude::*;
#[component]
@@ -6,12 +6,8 @@ pub fn Home() -> Element {
rsx! {
div { id: "content",
"This is home"
Search { },
MediaGrid { }
}
}
}
#[component]
fn MediaDisplay(media: Media) -> Element {
rsx! {
div { "{media.id}" }
}
}