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

509
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -2,25 +2,19 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url> <url>
<loc>https://www.tudattr.dev/</loc> <loc>https://www.tudattr.dev/</loc>
<lastmod>2024-07-25</lastmod> <lastmod>2025-01-12</lastmod>
<changefreq>monthly</changefreq> <changefreq>monthly</changefreq>
<priority>1.0</priority> <priority>1.0</priority>
</url> </url>
<url> <url>
<loc>https://www.tudattr.dev/resume</loc> <loc>https://www.tudattr.dev/resume</loc>
<lastmod>2024-07-25</lastmod> <lastmod>2025-01-12</lastmod>
<changefreq>monthly</changefreq> <changefreq>monthly</changefreq>
<priority>0.8</priority> <priority>0.8</priority>
</url> </url>
<url> <url>
<loc>https://www.tudattr.dev/publications</loc> <loc>https://www.tudattr.dev/publications</loc>
<lastmod>2024-07-25</lastmod> <lastmod>2025-01-12</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://www.tudattr.dev/consulting</loc>
<lastmod>2024-07-25</lastmod>
<changefreq>monthly</changefreq> <changefreq>monthly</changefreq>
<priority>0.8</priority> <priority>0.8</priority>
</url> </url>

View File

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

View File

@@ -6,14 +6,17 @@ headers_about = Impressum
headers_language_buttons_english = 🇬🇧 Englisch headers_language_buttons_english = 🇬🇧 Englisch
headers_language_buttons_german = 🇩🇪 Deutsch headers_language_buttons_german = 🇩🇪 Deutsch
home_card_name = Tuan-Dat Tran home_card_name = Tuan-Dat Tran
home_card_gender = "" home_card_gender = {""}
home_card_text = home_card_text =
Hallihallo! 👋🏻👋🏼👋🏽👋🏾👋🏿 Hallihallo! 👋🏻👋🏼👋🏽👋🏾👋🏿
Willkommen auf meiner kleinen Webseite im World Wide Web. 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. 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. Während du hier bist, schau dir doch meine Projekte auf Gitea an.
home_card_contact_button = Get in touch. 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_title = Berufserfahrung
cv_workexperience_se1_gefeba_title = Software Entwickler @ gefeba Engineering GmbH cv_workexperience_se1_gefeba_title = Software Entwickler @ gefeba Engineering GmbH
cv_workexperience_se1_gefeba_time = 2013 - 2015 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_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_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_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_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_socials_title = Profile
cv_education_title = Bildungsweg 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. 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? While you're here, why don't you check out my projects over on Gitea?
home_card_contact_button = Get in touch. 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_title = Work Experience
cv_workexperience_se1_gefeba_title = Software Engineer @ gefeba Engineering GmbH cv_workexperience_se1_gefeba_title = Software Engineer @ gefeba Engineering GmbH
cv_workexperience_se1_gefeba_time = 2013 - 2015 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_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_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_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_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_socials_title = Socials
cv_education_title = Education cv_education_title = Education

View File

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