26 lines
632 B
Rust
26 lines
632 B
Rust
use dioxus::prelude::*;
|
|
|
|
mod footer;
|
|
mod header;
|
|
|
|
use crate::{Body, Route};
|
|
use footer::Footer;
|
|
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" ,
|
|
Header {},
|
|
Body {
|
|
Outlet::<Route> {},
|
|
}
|
|
Footer {},
|
|
}
|
|
}
|
|
}
|