use dioxus::prelude::*;
use crate::app::Route;
#[component]
pub fn AuthLayout() -> Element {
rsx! {
div {
class: "auth-layout",
div {
class: "auth-layout__container",
div {
class: "auth-layout__brand",
h1 {
class: "auth-layout__title",
"Netrix"
}
p {
class: "auth-layout__subtitle",
"Secure, decentralized chat"
}
}
div {
class: "auth-layout__content",
Outlet::<Route> {}
}
}
}
}
}