diff --git a/pgml-dashboard/Cargo.lock b/pgml-dashboard/Cargo.lock index 7927a5bbc..c95938436 100644 --- a/pgml-dashboard/Cargo.lock +++ b/pgml-dashboard/Cargo.lock @@ -2375,7 +2375,7 @@ checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "pgml" -version = "0.9.5" +version = "0.9.6" dependencies = [ "anyhow", "async-trait", diff --git a/pgml-dashboard/src/components/navigation/navbar/marketing/template.html b/pgml-dashboard/src/components/navigation/navbar/marketing/template.html index 58f7b0861..eeeb71485 100644 --- a/pgml-dashboard/src/components/navigation/navbar/marketing/template.html +++ b/pgml-dashboard/src/components/navigation/navbar/marketing/template.html @@ -16,17 +16,17 @@ StaticNavLink::new("Contact".to_string(), "/contact".to_string()).icon("alternate_email") ]; - struct mobile_navs { + struct MobileNavs { collapse: String, links: Vec } let mobile_nav_items = vec![ - mobile_navs { + MobileNavs { collapse: "solutions-collapse".to_string(), links: solutions_links.clone() }, - mobile_navs { + MobileNavs { collapse: "company-collapse".to_string(), links: company_links.clone() } diff --git a/pgml-dashboard/src/components/sections/footers/marketing_footer/mod.rs b/pgml-dashboard/src/components/sections/footers/marketing_footer/mod.rs index a3cf9e57d..50f5bd272 100644 --- a/pgml-dashboard/src/components/sections/footers/marketing_footer/mod.rs +++ b/pgml-dashboard/src/components/sections/footers/marketing_footer/mod.rs @@ -1,6 +1,5 @@ use crate::components::static_nav_link::StaticNavLink; use pgml_components::component; -use pgml_components::Component; use sailfish::TemplateOnce; #[derive(TemplateOnce, Default)] diff --git a/pgml-dashboard/src/lib.rs b/pgml-dashboard/src/lib.rs index 59e7ef321..7acb46f0d 100644 --- a/pgml-dashboard/src/lib.rs +++ b/pgml-dashboard/src/lib.rs @@ -21,7 +21,6 @@ pub mod types; pub mod utils; use guards::{Cluster, ConnectedCluster}; -use pgml_components::Component; use responses::{BadRequest, Error, ResponseOk}; use templates::{ components::{NavLink, StaticNav},