Center div and some formulation in strings

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2024-05-21 18:11:25 +02:00
parent 0dd9cec4bd
commit 71798be854
4 changed files with 49 additions and 47 deletions

View File

@@ -12,23 +12,25 @@ pub fn Impressum() -> Element {
rsx! {
if show_impressum() {
div {
class: "flex flex-col items-center",
button {
onclick: move |_| {
info!("Hide impressum.");
div {
class: "flex flex-col items-center",
button {
onclick: move |_| {
info!("Hide impressum.");
},
H1 { { translate!(i18, "impressum.on") } },
},
H1 { { translate!(i18, "impressum.on") } },
P { "Tuan-Dat Tran" },
P { "c/o AutorenServices.de" },
P { "Birkenallee 24" },
P { "36037 Fulda" },
},
P { "Tuan-Dat Tran" },
P { "c/o AutorenServices.de" },
P { "Birkenallee 24" },
P { "36037 Fulda" },
}
HR {}
div {
class: "flex flex-col items-center",
P { "tuan-dat.tran@tudattr.dev" },
P { "+49 176 83468388" },
HR {}
div {
class: "flex flex-col items-center",
P { "tuan-dat.tran@tudattr.dev" },
P { "+49 176 83468388" },
}
}
} else {
div {

View File

@@ -17,7 +17,7 @@
"name": "Tuan-Dat Tran",
"gender": "",
"l1": "Hallihallo! 👋🏻👋🏼👋🏽👋🏾👋🏿",
"l2": "Willkommen auf meiner kleinen Seite im World Wide Web.",
"l2": "Willkommen auf meiner kleinen Webseite im World Wide Web.",
"l3": "Während du hier bist, schau dir doch meine Projekte auf ",
"l3_1": " an.",
"contact_button": "Get in touch."
@@ -84,7 +84,7 @@
"japanese": "Japanisch (A1)"
},
"interests": {
"title": "Interests",
"title": "Interessen",
"coffee": "Kaffee",
"tech_it": "Tech/IT",
"guitar": "Gitarre",

View File

@@ -139,7 +139,7 @@
"on": "Impressum"
},
"components": {
"under_construction": "This site is currently under construction"
"under_construction": "This page is currently under construction"
},
"footer": {
"year": "© 2024 ",