diff --git a/crates/plcom/src/views.rs b/crates/plcom/src/views.rs index 7ea15c1..29f8f0d 100644 --- a/crates/plcom/src/views.rs +++ b/crates/plcom/src/views.rs @@ -8,7 +8,6 @@ pub fn shell(title: &str, children: impl IntoAny) -> AnyView { title.into() }; - let year = jiff::Zoned::now().year(); view! { @@ -36,15 +35,12 @@ pub fn shell(title: &str, children: impl IntoAny) -> AnyView {
{children.into_any()}
- + {footer().into_any()} {stats().into_any()} - }.into_any() + } + .into_any() } pub fn content_page(title: &str, children: impl IntoAny) -> AnyView { @@ -62,7 +58,18 @@ pub fn content_page(title: &str, children: impl IntoAny) -> AnyView { .into_any() } -pub fn stats() -> impl IntoView { +fn footer() -> impl IntoView { + let year = jiff::Zoned::now().year(); + view! { + + } +} + +fn stats() -> impl IntoView { view! {