Initial rebuild of position size calculator #37
@ -9,7 +9,8 @@ use crate::{
|
|||||||
api::{get_month_views, PageViewsMonth, PageViewsMonthResult},
|
api::{get_month_views, PageViewsMonth, PageViewsMonthResult},
|
||||||
auth::{AuthTokenContext, WithAuth},
|
auth::{AuthTokenContext, WithAuth},
|
||||||
},
|
},
|
||||||
components::display::bar_chart::BarChart,
|
components::{display::bar_chart::BarChart, seo::WebPageSeo, title::Title},
|
||||||
|
pages::Route,
|
||||||
};
|
};
|
||||||
|
|
||||||
fn month_view_chart(
|
fn month_view_chart(
|
||||||
@ -242,8 +243,17 @@ fn dashboard_content() -> Html {
|
|||||||
#[function_component(Page)]
|
#[function_component(Page)]
|
||||||
pub fn page() -> Html {
|
pub fn page() -> Html {
|
||||||
html! {
|
html! {
|
||||||
|
<>
|
||||||
|
<Title title={"Analytics Dashboard"} />
|
||||||
|
<WebPageSeo
|
||||||
|
route={Route::Analytics}
|
||||||
|
title={"Analytics Dashboard"}
|
||||||
|
excerpt={Some("Analytics Dashboard")}
|
||||||
|
index={false}
|
||||||
|
follow={false} />
|
||||||
<WithAuth>
|
<WithAuth>
|
||||||
<DashboardContent />
|
<DashboardContent />
|
||||||
</WithAuth>
|
</WithAuth>
|
||||||
|
</>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user