2023-04-16 21:46:10 -05:00
|
|
|
use crate::utils::prop_structs::PageChildren;
|
|
|
|
use dioxus::prelude::*;
|
|
|
|
|
|
|
|
pub fn PageBase<'a>(cx: Scope<'a, PageChildren<'a>>) -> Element {
|
2023-04-18 19:33:44 -05:00
|
|
|
cx.render(rsx! {
|
2023-05-24 09:15:47 -05:00
|
|
|
span { hidden: true,
|
2023-04-18 20:26:58 -05:00
|
|
|
a { rel: "me", href: "https://yiff.life/@werefox", "Mastodon" }
|
|
|
|
}
|
2023-04-17 12:34:20 -05:00
|
|
|
div { class: "min-h-screen",
|
2023-06-14 15:46:55 -05:00
|
|
|
div { class: "container space-y-4 pt-4 pb-4 max-w-3xl", &cx.props.children }
|
2023-04-16 21:46:10 -05:00
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|