Added personal picture and added Author component
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -75,7 +75,7 @@ fn App() -> Element {
|
||||
fn PageNotFound(route: Vec<String>) -> Element {
|
||||
rsx! {
|
||||
div {
|
||||
class: "h-screen flex items-center justify-center",
|
||||
class: "h-screen items-center justify-center",
|
||||
img {
|
||||
class: "size-auto",
|
||||
src: "https://raw.githubusercontent.com/SAWARATSUKI/ServiceLogos/main/404Notfound/NotFound.png"
|
||||
@@ -92,7 +92,7 @@ pub struct BodyProp {
|
||||
pub fn Body(prop: BodyProp) -> Element {
|
||||
rsx! {
|
||||
div {
|
||||
class: "my-4 flex justify-center",
|
||||
class: "flex-grow container mx-auto p-4",
|
||||
{prop.children}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user