diff --git a/src/views/blog.rs b/src/views/blog.rs index 94b3d01..d3a00fb 100644 --- a/src/views/blog.rs +++ b/src/views/blog.rs @@ -132,6 +132,7 @@ pub fn Blogs(page_num: u32) -> Element { .await .unwrap_or_else(|_| vec![]) })); + rsx! { document::Stylesheet { href: asset!("/assets/styling/blog.css") } div { id: "blogs", diff --git a/src/views/contact_me.rs b/src/views/contact_me.rs index adafcdc..0646673 100644 --- a/src/views/contact_me.rs +++ b/src/views/contact_me.rs @@ -92,7 +92,7 @@ async fn send_message(name: String, email: String, message: String, mut recived: }); let client = Client::new(); - let res = client.post("https://discord.com/api/webhooks/1374798951475187732/zOL9aD1wWn9rCywjqVAy3oUMnzPu25SVIMCDaLD4N8C_V9OqPK8Hj2Wmm-7Ts5QHTbzN").json(&json_to_send).send().await; + let res = client.post("").json(&json_to_send).send().await; match res { Ok(_) => { recived.set("Sent Sucessfully, I will be in contact with you soon".to_string());