Added some SEO and ran cargo update

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2024-08-30 18:11:23 +02:00
parent b7a47ca903
commit 0ff5419c23
5 changed files with 366 additions and 341 deletions

View File

@@ -1,7 +1,7 @@
use dioxus::prelude::*;
mod footer;
mod header;
pub mod footer;
pub mod header;
use crate::{Body, Route};
use footer::Footer;
@@ -9,17 +9,13 @@ use header::Header;
pub fn Layout() -> Element {
rsx! {
meta {
name: "description",
content: "Explore Tuan-Dat Tran's personal website featuring his CV, publications, projects, and consulting services. Get insights into his professional journey and connect for collaboration opportunities.",
}
div {
class: "flex flex-col min-h-screen" ,
class: "flex flex-col min-h-screen",
Header {},
Body {
Outlet::<Route> {},
}
Footer {},
}
}
}
}