Skip to content

Commit 0e6446c

Browse files
committed
Merge branch 'main' of https://github.com/rust-dd/blog
2 parents 1c39faf + 7834909 commit 0e6446c

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

src/app.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ pub fn shell(options: LeptosOptions) -> impl IntoView {
2222
<MetaTags />
2323
<Stylesheet id="leptos" href="/pkg/blog.css" />
2424
<Stylesheet id="katex" href="/katex.min.css" />
25-
<Title text="Tech Diaries - The Official Rust-DD Developer Blog" />
25+
<Title text="Rust-DD Blog – Tech Insights & Consulting" />
2626
<Meta name="hostname" content="rust-dd.com" />
2727
<Meta name="expected-hostname" content="rust-dd.com" />
2828
<Meta
2929
name="description"
30-
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."
30+
content="Explore open-source Rust projects, learn innovative techniques, and connect with a passionate community. Get expert Rust development and consulting services."
3131
/>
3232
<Meta
3333
name="keywords"
@@ -40,15 +40,15 @@ pub fn shell(options: LeptosOptions) -> impl IntoView {
4040
<Meta property="og:type" content="website" />
4141
<Meta
4242
property="og:title"
43-
content="Tech Diaries - The Official Rust-DD Developer Blog"
43+
content="Rust-DD Blog – Tech Insights & Consulting"
4444
/>
4545
<Meta
4646
property="og:site_name"
47-
content="Tech Diaries - The Official Rust-DD Developer Blog"
47+
content="Rust-DD Blog – Tech Insights & Consulting"
4848
/>
4949
<Meta
5050
property="og:description"
51-
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."
51+
content="Explore open-source Rust projects, learn innovative techniques, and connect with a passionate community. Get expert Rust development and consulting services."
5252
/>
5353
<Meta property="og:url" content="https://rust-dd.com/" />
5454
<Meta
@@ -63,19 +63,19 @@ pub fn shell(options: LeptosOptions) -> impl IntoView {
6363
<Meta name="twitter:card" content="summary_large_image" />
6464
<Meta
6565
name="twitter:title"
66-
content="Tech Diaries - The Official Rust-DD Developer Blog"
66+
content="Rust-DD Blog – Tech Insights & Consulting"
6767
/>
6868
<Meta
6969
name="twitter:description"
70-
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."
70+
content="Explore open-source Rust projects, learn innovative techniques, and connect with a passionate community. Get expert Rust development and consulting services."
7171
/>
7272
<Meta name="twitter:site" content="@rust_dd" />
7373
<Meta name="twitter:url" content="https://rust-dd.com/" />
7474
<Meta
7575
name="twitter:image"
7676
content="https://static.rust-dd.com/rust-dd_custom_bg.png"
7777
/>
78-
<Meta name="twitter:image:alt" content="Rust-DD Framework" />
78+
<Meta name="twitter:image:alt" content="Rust-DD logo" />
7979
<Link rel="preconnect" href="https://fonts.googleapis.com" />
8080
<Link rel="preconnect" href="https://fonts.gstatic.com" />
8181
</head>

src/pages/home.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub fn Component() -> impl IntoView {
1818
);
1919

2020
view! {
21-
<Title text="Tech Diaries - The Official Rust-DD Developer Blog" />
21+
<Title text="Rust-DD Blog – Tech Insights & Consulting" />
2222
<Suspense fallback=|| ()>
2323
<div class="gap-4 columns-1 sm:columns-2">
2424
<For

src/ssr/api.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ pub async fn hire_us(data: HireUsRequest) -> Result<(), ServerFnError> {
144144
.build::<Tokio1Executor>();
145145

146146
let email = Message::builder()
147-
.from(data.email.parse()?)
147+
.from(env::var("SMTP_USER")?.parse()?)
148148
.to(env::var("SMTP_USER")?.parse()?)
149-
.subject(data.subject)
149+
.subject(format!("{} - {}", data.email, data.subject))
150150
.header(ContentType::TEXT_HTML)
151151
.body(data.message)
152152
.expect("failed to build email");

src/ssr/server_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pub async fn generate_rss(db: Surreal<Client>) -> leptos::error::Result<String,
9191
let channel = ChannelBuilder::default()
9292
.title("Rust-DD")
9393
.link("https://rust-dd.com")
94-
.description("Tech Diaries - The Official Rust-DD Developer Blog")
94+
.description("Rust-DD Blog – Tech Insights & Consulting")
9595
.items(
9696
posts
9797
.lock()

0 commit comments

Comments
 (0)