Initial rebuild of position size calculator #37

Merged
BlakeRain merged 12 commits from trading-tools into main 2023-09-25 16:48:37 +00:00
Showing only changes of commit 5648434634 - Show all commits

View File

@ -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>
</>
} }
} }