mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-22 10:33:07 +00:00
18 lines
542 B
Text
18 lines
542 B
Text
|
rsx! {
|
||
|
div {
|
||
|
div {
|
||
|
div {
|
||
|
div {
|
||
|
section { class: "body-font overflow-hidden dark:bg-ideblack",
|
||
|
div { class: "container px-6 mx-auto",
|
||
|
div { class: "-my-8 divide-y-2 divide-gray-100",
|
||
|
POSTS.iter().enumerate().map(|(id, post)| rsx! { BlogPostItem { post: post, id: id } })
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|