diff --git a/src/app.rs b/src/app.rs index 72e9b08..6efb1e0 100644 --- a/src/app.rs +++ b/src/app.rs @@ -22,12 +22,12 @@ pub fn shell(options: LeptosOptions) -> impl IntoView { - + <Title text="Rust-DD Blog – Tech Insights & Consulting" /> <Meta name="hostname" content="rust-dd.com" /> <Meta name="expected-hostname" content="rust-dd.com" /> <Meta name="description" - content="Discover the Rust-DD framework, enabling the application of domain-driven design (DDD) principles in Rust. Write efficient, safe, and clean code with this modern development tool." + content="Explore open-source Rust projects, learn innovative techniques, and connect with a passionate community. Get expert Rust development and consulting services." /> <Meta name="keywords" @@ -40,15 +40,15 @@ pub fn shell(options: LeptosOptions) -> impl IntoView { <Meta property="og:type" content="website" /> <Meta property="og:title" - content="Tech Diaries - The Official Rust-DD Developer Blog" + content="Rust-DD Blog – Tech Insights & Consulting" /> <Meta property="og:site_name" - content="Tech Diaries - The Official Rust-DD Developer Blog" + content="Rust-DD Blog – Tech Insights & Consulting" /> <Meta property="og:description" - content="Discover the Rust-DD framework, enabling the application of domain-driven design (DDD) principles in Rust. Write efficient, safe, and clean code with this modern development tool." + content="Explore open-source Rust projects, learn innovative techniques, and connect with a passionate community. Get expert Rust development and consulting services." /> <Meta property="og:url" content="https://rust-dd.com/" /> <Meta @@ -63,11 +63,11 @@ pub fn shell(options: LeptosOptions) -> impl IntoView { <Meta name="twitter:card" content="summary_large_image" /> <Meta name="twitter:title" - content="Tech Diaries - The Official Rust-DD Developer Blog" + content="Rust-DD Blog – Tech Insights & Consulting" /> <Meta name="twitter:description" - content="Discover the Rust-DD framework, enabling the application of domain-driven design (DDD) principles in Rust. Write efficient, safe, and clean code with this modern development tool." + content="Explore open-source Rust projects, learn innovative techniques, and connect with a passionate community. Get expert Rust development and consulting services." /> <Meta name="twitter:site" content="@rust_dd" /> <Meta name="twitter:url" content="https://rust-dd.com/" /> @@ -75,7 +75,7 @@ pub fn shell(options: LeptosOptions) -> impl IntoView { name="twitter:image" content="https://static.rust-dd.com/rust-dd_custom_bg.png" /> - <Meta name="twitter:image:alt" content="Rust-DD Framework" /> + <Meta name="twitter:image:alt" content="Rust-DD logo" /> <Link rel="preconnect" href="https://fonts.googleapis.com" /> <Link rel="preconnect" href="https://fonts.gstatic.com" /> </head> diff --git a/src/pages/home.rs b/src/pages/home.rs index 9bd4537..76328c4 100644 --- a/src/pages/home.rs +++ b/src/pages/home.rs @@ -18,7 +18,7 @@ pub fn Component() -> impl IntoView { ); view! { - <Title text="Tech Diaries - The Official Rust-DD Developer Blog" /> + <Title text="Rust-DD Blog – Tech Insights & Consulting" /> <Suspense fallback=|| ()> <div class="gap-4 columns-1 sm:columns-2"> <For diff --git a/src/ssr/api.rs b/src/ssr/api.rs index 4bffe49..df2f47b 100644 --- a/src/ssr/api.rs +++ b/src/ssr/api.rs @@ -144,9 +144,9 @@ pub async fn hire_us(data: HireUsRequest) -> Result<(), ServerFnError> { .build::<Tokio1Executor>(); let email = Message::builder() - .from(data.email.parse()?) + .from(env::var("SMTP_USER")?.parse()?) .to(env::var("SMTP_USER")?.parse()?) - .subject(data.subject) + .subject(format!("{} - {}", data.email, data.subject)) .header(ContentType::TEXT_HTML) .body(data.message) .expect("failed to build email"); diff --git a/src/ssr/server_utils.rs b/src/ssr/server_utils.rs index 0c04d91..7ddd8c0 100644 --- a/src/ssr/server_utils.rs +++ b/src/ssr/server_utils.rs @@ -91,7 +91,7 @@ pub async fn generate_rss(db: Surreal<Client>) -> leptos::error::Result<String, let channel = ChannelBuilder::default() .title("Rust-DD") .link("https://rust-dd.com") - .description("Tech Diaries - The Official Rust-DD Developer Blog") + .description("Rust-DD Blog – Tech Insights & Consulting") .items( posts .lock()