use crate::utils::prop_structs::PageChildren;
use dioxus::prelude::*;

pub fn PageBase(props: PageChildren) -> Element {
    rsx! {
        span { hidden: true,
            a { rel: "me", href: "https://yiff.life/@werefox", "Mastodon" }
        }
        div { class: "min-h-screen",
            div { class: "container space-y-4 pt-4 pb-4 max-w-3xl", {props.children} }
        }
    }
}
