Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/rust-dd/blog
Browse files Browse the repository at this point in the history
  • Loading branch information
dancixx committed Dec 30, 2024
2 parents 1c39faf + 7834909 commit 0e6446c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ pub fn shell(options: LeptosOptions) -> impl IntoView {
<MetaTags />
<Stylesheet id="leptos" href="/pkg/blog.css" />
<Stylesheet id="katex" href="/katex.min.css" />
<Title text="Tech Diaries - The Official Rust-DD Developer Blog" />
<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"
Expand All @@ -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
Expand All @@ -63,19 +63,19 @@ 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/" />
<Meta
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>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/home.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/ssr/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion src/ssr/server_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0e6446c

Please sign in to comment.