fix(cv): Fixed random badges to only display on hot-reload

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-01-12 18:34:18 +01:00
parent 67243080b1
commit 541fd5297c
6 changed files with 306 additions and 238 deletions

View File

@@ -104,7 +104,8 @@ fn Skills() -> Element {
P { { t!("cv_skills_devops_ansible") } },
P { { t!("cv_skills_devops_kubernetes") } },
P { { t!("cv_skills_devops_gitops") } },
}Entry {
}
Entry {
title: t!("cv_skills_software_engineering_title"),
P { { t!("cv_skills_software_engineering_rust") } },
P { { t!("cv_skills_software_engineering_python") } },
@@ -198,8 +199,7 @@ fn RandomBadge(text: String) -> Element {
let badge_color = random_badge_color(text.len());
rsx! {
span {
class:"text-xs font-medium me-2 px-2.5 py-0.5 rounded ",
class: "{badge_color}",
class:"text-xs font-medium me-2 px-2.5 py-0.5 rounded {badge_color}",
"{text}"
}
}

View File

@@ -6,14 +6,17 @@ headers_about = Impressum
headers_language_buttons_english = 🇬🇧 Englisch
headers_language_buttons_german = 🇩🇪 Deutsch
home_card_name = Tuan-Dat Tran
home_card_gender = ""
home_card_gender = {""}
home_card_text =
Hallihallo! 👋🏻👋🏼👋🏽👋🏾👋🏿
Willkommen auf meiner kleinen Webseite im World Wide Web.
Mein Name ist Tuan und ich bin Linux-Bastler, IT-Security Nerd und Automatisierer aus Leidenschaft.
Während du hier bist, schau dir doch meine Projekte auf Gitea an.
home_card_contact_button = Get in touch.
cv_introduction_0 = Während meines Bachelorstudiums habe ich viele Erfahrungen in der Industrie und im Studium gesammelt. Meine beruflichen und persönlichen Interessen sind DevOps/IaC, Systems/Software Security und Computer Networking. All diese Interessen vertiefe ich in persönlichen Projekten wie meinem Homelab und CTF-Challenges.
cv_introduction_0 =
Während meines Bachelorstudiums habe ich viele Erfahrungen in der Industrie und im Studium gesammelt.
Meine beruflichen und persönlichen Interessen sind DevOps/IaC, Systems/Software Security und Computer Networking.
All diese Interessen vertiefe ich in persönlichen Projekten wie meinem Homelab und CTF-Challenges.
cv_workexperience_title = Berufserfahrung
cv_workexperience_se1_gefeba_title = Software Entwickler @ gefeba Engineering GmbH
cv_workexperience_se1_gefeba_time = 2013 - 2015
@@ -28,7 +31,7 @@ cv_workexperience_mentoring_ude_title = Mentoring @ UDE
cv_workexperience_mentoring_ude_time = 2021 - 2022
cv_workexperience_mentoring_ude_description = Als Mentor für Studienanfänger im Studiengang Informatik der Universität Duisburg-Essen habe ich zu Beginn jedes Semesters Gruppen von ~20 Studienanfängern in ihr neues akademisches Umfeld eingeführt. Ich bot zusätzliche organisatorische und technische Unterstützung für das erste Jahr an der Universität an.
cv_workexperience_ra_ude_title = Studentische Hilfskraft @ UDE
cv_workexperience_ra_ude_time = 2021 - jetzt
cv_workexperience_ra_ude_time = 2021 - 2024
cv_workexperience_ra_ude_description = Während meiner Tätigkeit als wissenschaftlicher Mitarbeiter in der Network Communication System Research Group an der Universität Duisburg-Essen habe ich an der Forschung rund um Software Defined Networking, 5G, Staukontrollalgorithmen und föderiertes maschinelles Lernen mitgearbeitet. Ich habe die On-Premise- und Cloud-Infrastruktur, das Inventarsystem und die Online-Präsenz der Forschungsgruppe aufgebaut und verwaltet.
cv_socials_title = Profile
cv_education_title = Bildungsweg

View File

@@ -13,7 +13,10 @@ home_card_text =
My name is Tuan and I'm passionate about Linux, system security, automation, network performance tweaking and all things tech.
While you're here, why don't you check out my projects over on Gitea?
home_card_contact_button = Get in touch.
cv_introduction_0 = While studying for my bachelors degree I accumulated a lot of industry and academic experience. My professional and personal intererests are DevOps/IaC, Systems/Software Security and Computer Networking. All of which I deepen in personal projects such as my homelab and CTF challenges.
cv_introduction_0 =
While studying for my bachelors degree I accumulated a lot of industry and academic experience.
My professional and personal intererests are DevOps/IaC, Systems/Software Security and Computer Networking.
All of which I deepen in personal projects such as my homelab and CTF challenges.
cv_workexperience_title = Work Experience
cv_workexperience_se1_gefeba_title = Software Engineer @ gefeba Engineering GmbH
cv_workexperience_se1_gefeba_time = 2013 - 2015
@@ -28,7 +31,7 @@ cv_workexperience_mentoring_ude_title = Mentoring @ UDE
cv_workexperience_mentoring_ude_time = 2021 - 2022
cv_workexperience_mentoring_ude_description = As a mentor for students enrolling into the computer science program of the University Duisburg-Essen I introduced groups of ~20 freshmen to their new academic environment at the beginning of each semester. Offering additional organizational and technical guidance for their first year in university.
cv_workexperience_ra_ude_title = Research Assistant @ UDE
cv_workexperience_ra_ude_time = 2021 - now
cv_workexperience_ra_ude_time = 2021 - 2024
cv_workexperience_ra_ude_description = While working for the Network Communication System Research Group at the University Duisburg-Essen as a research assistant I've assisted in research around software defined networking, 5G, congestion control algorithms and federated machine learning. I've established and managed the research groups on-premise and cloud infractructure, inventory system and online presence.
cv_socials_title = Socials
cv_education_title = Education

View File

@@ -8,7 +8,6 @@ pub fn PublicationsProjects() -> Element {
rsx! {
div {
class: "flex flex-col ",
UnderConstruction { },
div {
H1 { { t!("publications_projects_publications_title") } }
Publications { },