14 Commits

Author SHA1 Message Date
Tuan-Dat Tran
8f00360ff8 feat(version): bumped to version 0.5.1
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2025-02-11 19:24:55 +01:00
Tuan-Dat Tran
16e04980b5 feat(dark-mode): removed dark mode, made it default
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2025-02-11 19:24:10 +01:00
Tuan-Dat Tran
b878c7db55 fix(typo): Fixed company name typo
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2025-02-07 08:29:58 +01:00
Tuan-Dat Tran
9fdf88555a fix(docker): fixed docker reg push script
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2025-02-07 01:41:15 +01:00
Tuan-Dat Tran
b7678f0ff8 Merge branch 'dev' 2025-02-07 01:38:54 +01:00
Tuan-Dat Tran
6704cc944d feat(text): Removed git-refernces and improved text
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2025-02-07 01:38:24 +01:00
Tuan-Dat Tran
414678befd Merge branch 'dev' 2025-02-07 00:44:54 +01:00
Tuan-Dat Tran
7fa831ca13 hopefully fixed dark mode now
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2025-02-07 00:43:17 +01:00
Tuan-Dat Tran
8f8c724f5f refactor(athome): Removed comments and did cargo fix
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2025-02-07 00:39:25 +01:00
Tuan-Dat Tran
01c3ceb76d feat(deploy): Set Dockerfile according to official dioxus docs
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2025-02-07 00:28:29 +01:00
Tuan-Dat Tran
5ce21498e5 feat(build): Updated build to version 0.4.0
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
2025-02-07 00:18:01 +01:00
a54d1f3c3b Merge pull request 'dev' (#12) from dev into master
Reviewed-on: #12
2024-07-25 12:12:25 +02:00
Tuan-Dat Tran
081229d66a Merge branch 'dev' 2024-05-21 23:32:53 +02:00
837e19e111 Merge pull request 'Closes #2 and #5' (#7) from dev into master
Reviewed-on: #7
2024-05-21 23:00:22 +02:00
19 changed files with 578 additions and 379 deletions

6
.dockerignore Normal file
View File

@@ -0,0 +1,6 @@
**/target
**/dist
LICENSES
LICENSE
temp
README.md

374
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
[package]
name = "athome"
version = "0.4.0"
version = "0.4.1"
authors = ["Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>"]
edition = "2021"

View File

@@ -1,21 +1,33 @@
FROM rust:1.84.0 AS dioxus
RUN cargo install dioxus-cli@^0.6
FROM rust:1 AS chef
RUN cargo install cargo-chef
WORKDIR /app
FROM dioxus AS builder
WORKDIR /athome/
RUN apt-get update && apt install libwebkit2gtk-4.1-dev build-essential curl npm \
wget file libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev -y\
&& rm -rf /var/lib/apt/lists/*
RUN npm install -D tailwindcss
COPY ./Cargo.toml ./Cargo.toml
COPY ./Dioxus.toml ./Dioxus.toml
COPY ./input.css ./input.css
COPY ./tailwind.config.js ./tailwind.config.js
COPY ./src/ ./src/
COPY ./assets/ ./assets/
FROM chef AS planner
COPY . .
RUN cargo chef prepare --recipe-path recipe.json
FROM chef AS builder
COPY --from=planner /app/recipe.json recipe.json
RUN cargo chef cook --release --recipe-path recipe.json
COPY . .
# Install `dx`
RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
RUN cargo binstall dioxus-cli --root /.cargo -y --force
ENV PATH="/.cargo/bin:$PATH"
# Create the final bundle folder. Bundle always executes in release mode with optimizations enabled
RUN dx bundle --platform web
FROM dioxus AS runner
WORKDIR /app/
COPY --from=builder /athome/target/dx/athome/release/web/ ./
CMD [ "./server" ]
FROM chef AS runtime
COPY --from=builder /app/target/dx/athome/release/web/ /usr/local/app
# set our port and make sure to listen for all connections
ENV PORT=8080
ENV IP=0.0.0.0
# expose the port 8080
EXPOSE 8080
WORKDIR /usr/local/app
ENTRYPOINT [ "/usr/local/app/server" ]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -797,11 +797,6 @@ video {
border-radius: 0.375rem;
}
.rounded-e-lg {
border-start-end-radius: 0.5rem;
border-end-end-radius: 0.5rem;
}
.rounded-s-lg {
border-start-start-radius: 0.5rem;
border-end-start-radius: 0.5rem;
@@ -828,11 +823,26 @@ video {
border-color: rgb(229 231 235 / var(--tw-border-opacity));
}
.border-gray-600 {
--tw-border-opacity: 1;
border-color: rgb(75 85 99 / var(--tw-border-opacity));
}
.border-gray-700 {
--tw-border-opacity: 1;
border-color: rgb(55 65 81 / var(--tw-border-opacity));
}
.border-white {
--tw-border-opacity: 1;
border-color: rgb(255 255 255 / var(--tw-border-opacity));
}
.border-gray-900 {
--tw-border-opacity: 1;
border-color: rgb(17 24 39 / var(--tw-border-opacity));
}
.bg-blue-100 {
--tw-bg-opacity: 1;
background-color: rgb(219 234 254 / var(--tw-bg-opacity));
@@ -848,9 +858,14 @@ video {
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
}
.bg-gray-50 {
.bg-gray-700 {
--tw-bg-opacity: 1;
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
}
.bg-gray-800 {
--tw-bg-opacity: 1;
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}
.bg-green-100 {
@@ -888,6 +903,46 @@ video {
background-color: rgb(254 249 195 / var(--tw-bg-opacity));
}
.bg-gray-900 {
--tw-bg-opacity: 1;
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}
.bg-blue-900 {
--tw-bg-opacity: 1;
background-color: rgb(30 58 138 / var(--tw-bg-opacity));
}
.bg-green-900 {
--tw-bg-opacity: 1;
background-color: rgb(20 83 45 / var(--tw-bg-opacity));
}
.bg-indigo-900 {
--tw-bg-opacity: 1;
background-color: rgb(49 46 129 / var(--tw-bg-opacity));
}
.bg-pink-900 {
--tw-bg-opacity: 1;
background-color: rgb(131 24 67 / var(--tw-bg-opacity));
}
.bg-purple-900 {
--tw-bg-opacity: 1;
background-color: rgb(88 28 135 / var(--tw-bg-opacity));
}
.bg-red-900 {
--tw-bg-opacity: 1;
background-color: rgb(127 29 29 / var(--tw-bg-opacity));
}
.bg-yellow-900 {
--tw-bg-opacity: 1;
background-color: rgb(113 63 18 / var(--tw-bg-opacity));
}
.bg-gradient-to-br {
background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
@@ -1068,9 +1123,9 @@ video {
color: rgb(30 64 175 / var(--tw-text-opacity));
}
.text-cyan-600 {
.text-cyan-400 {
--tw-text-opacity: 1;
color: rgb(8 145 178 / var(--tw-text-opacity));
color: rgb(34 211 238 / var(--tw-text-opacity));
}
.text-gray-400 {
@@ -1137,6 +1192,46 @@ video {
color: rgb(133 77 14 / var(--tw-text-opacity));
}
.text-blue-300 {
--tw-text-opacity: 1;
color: rgb(147 197 253 / var(--tw-text-opacity));
}
.text-gray-300 {
--tw-text-opacity: 1;
color: rgb(209 213 219 / var(--tw-text-opacity));
}
.text-green-300 {
--tw-text-opacity: 1;
color: rgb(134 239 172 / var(--tw-text-opacity));
}
.text-indigo-300 {
--tw-text-opacity: 1;
color: rgb(165 180 252 / var(--tw-text-opacity));
}
.text-pink-300 {
--tw-text-opacity: 1;
color: rgb(249 168 212 / var(--tw-text-opacity));
}
.text-purple-300 {
--tw-text-opacity: 1;
color: rgb(216 180 254 / var(--tw-text-opacity));
}
.text-red-300 {
--tw-text-opacity: 1;
color: rgb(252 165 165 / var(--tw-text-opacity));
}
.text-yellow-300 {
--tw-text-opacity: 1;
color: rgb(253 224 71 / var(--tw-text-opacity));
}
.shadow {
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
@@ -1174,20 +1269,17 @@ video {
transition-duration: 300ms;
}
.hover\:bg-gray-100:hover {
@custom-variant dark (&:where(.dark, .dark *));
.hover\:bg-gray-700:hover {
--tw-bg-opacity: 1;
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
}
.hover\:bg-gradient-to-br:hover {
background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.hover\:text-blue-700:hover {
--tw-text-opacity: 1;
color: rgb(29 78 216 / var(--tw-text-opacity));
}
.hover\:text-white:hover {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
@@ -1206,9 +1298,9 @@ video {
z-index: 10;
}
.focus\:text-blue-700:focus {
.focus\:text-white:focus {
--tw-text-opacity: 1;
color: rgb(29 78 216 / var(--tw-text-opacity));
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.focus\:outline-none:focus {
@@ -1228,14 +1320,14 @@ video {
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-blue-700:focus {
.focus\:ring-blue-500:focus {
--tw-ring-opacity: 1;
--tw-ring-color: rgb(29 78 216 / var(--tw-ring-opacity));
--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
}
.focus\:ring-cyan-300:focus {
.focus\:ring-cyan-800:focus {
--tw-ring-opacity: 1;
--tw-ring-color: rgb(103 232 249 / var(--tw-ring-opacity));
--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity));
}
.group:hover .group-hover\:from-green-400 {
@@ -1288,9 +1380,9 @@ video {
line-height: 1;
}
.md\:text-blue-700 {
.md\:text-blue-500 {
--tw-text-opacity: 1;
color: rgb(29 78 216 / var(--tw-text-opacity));
color: rgb(59 130 246 / var(--tw-text-opacity));
}
}
@@ -1302,11 +1394,6 @@ video {
}
@media (prefers-color-scheme: dark) {
.dark\:border-gray-600 {
--tw-border-opacity: 1;
border-color: rgb(75 85 99 / var(--tw-border-opacity));
}
.dark\:border-gray-700 {
--tw-border-opacity: 1;
border-color: rgb(55 65 81 / var(--tw-border-opacity));
@@ -1327,11 +1414,6 @@ video {
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
}
.dark\:bg-gray-800 {
--tw-bg-opacity: 1;
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}
.dark\:bg-gray-900 {
--tw-bg-opacity: 1;
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
@@ -1372,11 +1454,6 @@ video {
color: rgb(147 197 253 / var(--tw-text-opacity));
}
.dark\:text-cyan-400 {
--tw-text-opacity: 1;
color: rgb(34 211 238 / var(--tw-text-opacity));
}
.dark\:text-gray-300 {
--tw-text-opacity: 1;
color: rgb(209 213 219 / var(--tw-text-opacity));
@@ -1426,38 +1503,5 @@ video {
--tw-text-opacity: 1;
color: rgb(253 224 71 / var(--tw-text-opacity));
}
.dark\:hover\:bg-gray-700:hover {
--tw-bg-opacity: 1;
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
}
.dark\:hover\:text-white:hover {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.dark\:focus\:text-white:focus {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.dark\:focus\:ring-blue-500:focus {
--tw-ring-opacity: 1;
--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
}
.dark\:focus\:ring-cyan-800:focus {
--tw-ring-opacity: 1;
--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity));
}
}
@media (min-width: 768px) {
@media (prefers-color-scheme: dark) {
.md\:dark\:text-blue-500 {
--tw-text-opacity: 1;
color: rgb(59 130 246 / var(--tw-text-opacity));
}
}
}

View File

@@ -1,3 +1,6 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind utilities;
@custom-variant dark (&:where(.dark, .dark *));

View File

@@ -1,6 +1,6 @@
#!/bin/sh
TAG=$(git tag)
TAG=$(git describe --exact-match --tags)
LOCAL_IMAGE="athome"
REGISTRY="mos4"
REMOTE_IMAGE="athome"

View File

@@ -14,7 +14,7 @@ pub fn P(props: PProps) -> Element {
div {
class: "{props.class}",
p {
class: "mb-2 font-normal text-gray-900 dark:text-white",
class: "mb-2 font-normal text-white",
{props.children}
},
}
@@ -27,7 +27,7 @@ pub fn Title(props: PProps) -> Element {
div {
class: "{props.class}",
h1 {
class: "mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white",
class: "mb-2 text-2xl font-bold tracking-tight text-white",
{props.children}
}
}
@@ -40,7 +40,7 @@ pub fn H1(props: PProps) -> Element {
div {
class: "{props.class}",
h1 {
class: "mb-4 text-3xl font-extrabold text-gray-900 dark:text-white md:text-5xl lg:text-6xl",
class: "mb-4 text-3xl font-extrabold text-white md:text-5xl lg:text-6xl",
span {
class: "text-transparent bg-clip-text bg-gradient-to-r to-emerald-600 from-sky-400",
{props.children}
@@ -56,7 +56,7 @@ pub fn H4(props: PProps) -> Element {
class: "{props.class}",
class: "mb-4",
h3 {
class: "text-lg uppercase text-cyan-600 dark:text-cyan-400 tracking-widest mb-4 font-bold",
class: "text-lg uppercase text-cyan-400 tracking-widest mb-4 font-bold",
{props.children}
}
}
@@ -69,7 +69,7 @@ pub fn H5(props: PProps) -> Element {
div {
class: "{props.class}",
h5 {
class: "mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white",
class: "mb-2 text-2xl font-bold tracking-tight text-white",
{props.children}
}
}
@@ -89,7 +89,7 @@ pub struct CardProp {
pub fn Card(prop: CardProp) -> Element {
rsx! {
div {
class: "flex flex-col py-10 items-center min-w-fit text-white bg-gradient-to-r from-purple-500 to-blue-500 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-cyan-300 dark:focus:ring-cyan-800 rounded-lg px-5 py-2.5 min-w-fit max-w-8",
class: "flex flex-col py-10 items-center min-w-fit text-white bg-gradient-to-r from-purple-500 to-blue-500 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-cyan-800 rounded-lg px-5 py-2.5 min-w-fit max-w-8",
div {
class: "pb-4",
div {
@@ -97,7 +97,7 @@ pub fn Card(prop: CardProp) -> Element {
Picture {src: "{prop.picture}"},
}
}
Title { "{prop.name}", span { class: "text-grey-600 dark:text-grey-500 text-lg", " {prop.gender}" } },
Title { "{prop.name}", span { class: "text-grey-500 text-lg", " {prop.gender}" } },
{ prop.children }
}
}
@@ -123,11 +123,11 @@ fn Picture(prop: PictureProp) -> Element {
pub fn UnderConstruction() -> Element {
rsx! {
div {
class:"rounded justify-between w-full p-4 border-b border-gray-200 bg-gray-50 dark:bg-gray-700 dark:border-gray-600 my-8",
class:"rounded justify-between w-full p-4 border-b bg-gray-700 border-gray-600 my-8",
div {
class:"items-center mx-auto",
p {
class:"items-center text-sm font-normal text-gray-500 dark:text-gray-400",
class:"items-center text-sm font-normal text-gray-400",
span { { t!("component_under_construction") } }
}
}
@@ -137,7 +137,7 @@ pub fn UnderConstruction() -> Element {
pub fn HR() -> Element {
rsx! {
hr { class:"h-px my-8 bg-gray-200 border-0 dark:bg-gray-700"}
hr { class:"h-px my-8 border-0 bg-gray-700"}
}
}

View File

@@ -45,9 +45,9 @@ fn WorkExperience() -> Element {
class: "ms-8 max-w-3/4",
H4 { { t!("cv_workexperience_title") } },
ol {
class:"relative border-s border-gray-200 dark:border-gray-700",
class:"relative border-s border-gray-700",
CVEntry {time: t!("cv_workexperience_dd_devops_time"), title: t!("cv_workexperience_dd_devops_title"),
technologies: vec!["Kubenertes".to_string(), "Ansible".to_string(), "Jenkins".to_string(), "Azure".to_string(), "Networking".to_string()],
technologies: vec!["Kubenertes".to_string(), "ArgoCD".to_string(), "Ansible".to_string(), "Azure".to_string(), "Docker".to_string(), "ELK".to_string()],
description: t!("cv_workexperience_dd_devops_description")
},
CVEntry {time: t!("cv_workexperience_ra_ude_time"), title: t!("cv_workexperience_ra_ude_title"),
@@ -93,7 +93,7 @@ fn Education() -> Element {
H4 { { t!("cv_education_title") } },
Entry {
title: t!("cv_education_bachelor_title"),
time { class:"mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500", { t!("cv_education_bachelor_time") } },
time { class:"mb-1 text-sm font-normal leading-none text-gray-500", { t!("cv_education_bachelor_time") } },
},
}
}
@@ -160,7 +160,7 @@ fn Entry(props: EntryProps) -> Element {
rsx! {
div {
class: "{props.class}",
h6 { class: "font-semibold text-gray-900 dark:text-white", "{props.title}"}
h6 { class: "font-semibold text-white", "{props.title}"}
{props.children},
}
}
@@ -183,16 +183,16 @@ fn CVEntry(props: CVEntryProps) -> Element {
li {
class: "max-w-xl",
class: "{props.class}",
div { class:"absolute w-3 h-3 bg-gray-200 rounded-full mt-1.5 -start-1.5 border border-white dark:border-gray-900 dark:bg-gray-700"},
time { class:"mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500", "{props.time}"},
h6 { class: "text-lg font-semibold text-gray-900 dark:text-white", "{props.title}"}
div { class:"absolute w-3 h-3 rounded-full mt-1.5 -start-1.5 border border-gray-900 bg-gray-700"},
time { class:"mb-1 text-sm font-normal leading-none text-gray-500", "{props.time}"},
h6 { class: "text-lg font-semibold text-white", "{props.title}"}
ul {
class: "flex flex-wrap gap-2",
for (index, value) in props.technologies.iter().enumerate() {
li { key: "{index}", RandomBadge { text: "{value}"} }
}
}
p { class:"text-base font-normal text-gray-500 dark:text-gray-400", "{props.description}"},
p { class:"text-base font-normal text-gray-400", "{props.description}"},
{props.children}
}
}
@@ -211,14 +211,14 @@ fn RandomBadge(text: String) -> Element {
fn random_badge_color(seed: usize) -> String {
let colors = [
"bg-blue-100 text-blue-800 dark:bg-blue-900 dark:text-blue-300",
"bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300",
"bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-300",
"bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-300",
"bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-300",
"bg-indigo-100 text-indigo-800 dark:bg-indigo-900 dark:text-indigo-300",
"bg-purple-100 text-purple-800 dark:bg-purple-900 dark:text-purple-300",
"bg-pink-100 text-pink-800 dark:bg-pink-900 dark:text-pink-300",
"bg-blue-900 text-blue-300",
"bg-gray-700 text-gray-300",
"bg-red-900 text-red-300",
"bg-green-900 text-green-300",
"bg-yellow-900 text-yellow-300",
"bg-indigo-900 text-indigo-300",
"bg-purple-900 text-purple-300",
"bg-pink-900 text-pink-300",
];
colors[seed % colors.len()].to_string()
@@ -232,7 +232,6 @@ fn Socials() -> Element {
div {
class: "flex justify-center items-center space-x-4",
P { Link { to:"https://www.linkedin.com/in/tudattr/", class:"hover:underline", new_tab: true, img { class: "h-8", src:asset!("./assets/pictures/LI-Bug.svg.original.svg"), alt:"LinkedIn Logo" } }},
P { Link { to:"https://git.tudattr.dev/tudattr", class:"hover:underline", new_tab: true, img { class: "h-8", src: asset!("./assets/pictures/Gitea_Logo.svg"), alt:"Gitea Logo" } }},
}
}
}
@@ -242,7 +241,7 @@ fn Socials() -> Element {
fn P(children: Element) -> Element {
rsx! {
p {
class: "text-base font-normal text-gray-500 dark:text-gray-400",
class: "text-base font-normal text-gray-400",
{children},
}
}

View File

@@ -1,4 +1,4 @@
use crate::components::{Card, Urling, P};
use crate::components::{Card, P};
use dioxus::prelude::*;
use dioxus_i18n::t;
@@ -16,14 +16,7 @@ pub fn Home() -> Element {
div {
class: "mb-2",
for line in t!("home_card_text").split("\n").into_iter() {
P {
Urling {
class: "items-center font-medium hover:underline",
text: line,
patterns: vec!["Gitea".to_string()],
url: "https://git.tudattr.dev/explore/repos"
}
}
P {{line}}
}
},
},

View File

@@ -53,7 +53,7 @@ async fn get_impressum() -> Result<Vec<String>, ServerFnError> {
async fn get_contact() -> Result<Vec<String>, ServerFnError> {
Ok(vec![
"tuan-dat.tran@tudattr.dev".to_string(),
"+49 176 83468388".to_string(),
"tuan-dat.tran(at)tudattr(dot)dev".to_string(),
"+49 17(six) 83(four)683(eight)8".to_string(),
])
}

View File

@@ -10,32 +10,64 @@ 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.
Mein Name ist Tuan und ich bin Linux-Bastler, IT-Security Enthusiast und IT-Automatisierer aus Leidenschaft.
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 =
DevOps-Engineer und Softwareentwickler mit starkem akademischen Hintergrund
in Netzwerktechnologien und Softwareentwicklung. Spezialisiert auf Kubernetes,
Ansible, Azure und moderne Cloud-Technologien. Praxisnahe
Forschungserfahrung in Software-Defined Networking, 5G und Maschinellem Lernen.
Leidenschaft für effiziente IT-Infrastrukturen, Automatisierung und
innovative Softwarelösungen.
cv_workexperience_title = Berufserfahrung
cv_workexperience_se1_gefeba_title = Software Entwickler @ gefeba Engineering GmbH
cv_workexperience_se1_gefeba_time = 2013 - 2015
cv_workexperience_se1_gefeba_description = Nach einem Schulpraktikum wurde mir eine Stelle als Software Entwickler angeboten. Ich arbeitete hauptsächlich an internen ERP-Projekten, entwickelte ein Tool, das bei der Verwaltung des projektbezogenen E-Mail-Verkehrs half, und arbeitete an dem internen Stammdatenmanagement-Tool.
cv_workexperience_student_fse_title = Fachschaftsratsmitglied @ UDE
cv_workexperience_se1_gefeba_description = Nach einem Schulpraktikum wurde mir
eine Stelle als Software Entwickler angeboten. Ich arbeitete hauptsächlich
an internen ERP-Projekten, entwickelte ein Tool, das bei der Verwaltung des
projektbezogenen E-Mail-Verkehrs half, und arbeitete an dem internen
Stammdatenmanagement-Tool.
cv_workexperience_student_fse_title = Fachschaftsratsmitglied @ UDE (Ehrenamt)
cv_workexperience_student_fse_time = 2016 - 2019
cv_workexperience_student_fse_description = Als Fachschaftsratsmitglied wirkte ich in Fakultätsausschüssen mit und organisierte soziale Veranstaltungen. Meine Hauptaufgaben als Mitglied waren die Verwaltung der IT-Infrastruktur und die Unterstützung der Studierenden, sei es organisatorisch oder fachspezifisch.
cv_workexperience_student_fse_description = Als Fachschaftsratsmitglied wirkte
ich in Fakultätsausschüssen mit und organisierte soziale Veranstaltungen.
Meine Hauptaufgaben als Mitglied waren die Verwaltung der IT-Infrastruktur
und die Unterstützung der Studierenden bei organisatorischen und
fachspezifischen Themen.
cv_workexperience_se2_gefeba_title = Software Entwickler @ gefeba Engineering GmbH
cv_workexperience_se2_gefeba_time = 2018 - 2020
cv_workexperience_se2_gefeba_description = Als Software Entwickler bei gefeba Engineering arbeitete ich an dem Hauptprodukt des Unternehmens, einem Frame-basierten Datenaustauschsystem zur Überwachung von Industriemaschinen mit C# und Entity Framework. Ein weiteres Projekt, an dem ich gearbeitet habe, war eine Echtzeit-Anwendung zur Visualisierung von Protokollen für dieselben Maschinen.
cv_workexperience_se2_gefeba_description = Als Software Entwickler bei gefeba
Engineering arbeitete ich an dem Hauptprodukt des Unternehmens, einem
Frame-basierten Datenaustauschsystem zur Überwachung von Industriemaschinen
mit C# und Entity Framework. Ein weiteres Projekt, an dem ich gearbeitet habe,
war eine Echtzeit-Anwendung zur Visualisierung von Protokollen für dieselben
Maschinen.
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_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 - 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_dd_devops_title = Junior DevOps Engineer @ DextraData
cv_workexperience_ra_ude_description = Während meiner Tätigkeit bei 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_dd_devops_title = DevOps Engineer @ DextraData
cv_workexperience_dd_devops_time = 2025 - Jetzt
cv_workexperience_dd_devops_description = Bei Dextra Data, einem führenden SaaS-Anbieter im Bereich Governance, Risk und Compliance (GRC), sorge ich für die Verfügbarkeit und Gesundheit der Software Deployments für unsere Kunden. Im zentralen DevOps-Team manage ich Deployments über alle Produkte hinweg mit Tools wie Azure, Ansible, Docker, Kubernetes, Jenkins und Bitbucket. In enger Zusammenarbeit mit Entwicklern und dem Management über die Atlassian Suite betreue ich alle Umgebungen von der Vorentwicklung bis zur Produktion. Mein Ziel ist es, meine technischen Fähigkeiten weiter auszubauen, relevante Zertifizierungen zu erwerben und mein berufliches Netzwerk zu erweitern, um unsere DevOps-Prozesse kontinuierlich zu verbessern.
cv_workexperience_dd_devops_description = Bei DextraData, einem führenden
SaaS-Anbieter im Bereich Governance, Risk und Compliance (GRC), stelle ich
die Verfügbarkeit und Stabilität von Software-Deployments für unsere Kunden
sowie für interne Entwicklungsteams über mehrere Produkte hinweg sicher. In
Zusammenarbeit mit Customer-Success-Teams und Softwareentwicklern
gewährleisten wir einen reibungslosen Betrieb unserer Multi-Tenant- und Single
-Tenant-Instanzen von der Vorentwicklung bis hin zu den
Produktionsumgebungen.
cv_socials_title = Profile
cv_education_title = Bildungsweg
cv_education_bachelor_title = BSc Angewandte Informatik - Systems Engineering
@@ -65,32 +97,61 @@ publications_projects_publications_rpm_title = RPM: Reverse Path Congestion Mark
publications_projects_publications_rpm_authors = N. Baganal-Krishna, T.-D. Tran, R. Kundel and A. Rizk
publications_projects_publications_rpm_conference = IEEE LCN 2023
publications_projects_publications_rpm_url = https://doi.org/10.48550/arXiv.2307.09639
publications_projects_publications_rpm_description = In diesem Artikel stellen wir Reverse Path Congestion Marking (RPM) vor, um die Reaktion auf Netzwerküberlastungen zu beschleunigen, ohne den End-Host-Stack zu verändern. RPM entkoppelt das Stausignal vom nachgelagerten Pfad nach dem Engpass, während die Stabilität der Staukontrollschleife erhalten bleibt. Wir zeigen, dass RPM die Durchsatzfairness für RTT bei heterogenen TCP-Flüssen sowie die Flussabwicklungszeit verbessert, insbesondere für kleine Data Center TCP (DCTCP)-Flows um P4 programmierbare ASIC-Switches.
publications_projects_publications_rpm_description = In diesem Artikel stellen
wir Reverse Path Congestion Marking (RPM) vor, um die Reaktion auf
Netzwerküberlastungen zu beschleunigen, ohne den End-Host-Stack zu verändern.
RPM entkoppelt das Stausignal vom nachgelagerten Pfad nach dem Engpass,
während die Stabilität der Staukontrollschleife erhalten bleibt. Wir zeigen,
dass RPM die Durchsatzfairness für RTT bei heterogenen TCP-Flüssen sowie die
Flussabwicklungszeit verbessert, insbesondere für kleine Data Center TCP
(DCTCP)-Flows um P4 programmierbare ASIC-Switches.
publications_projects_publications_iot_fuzzers_title = Overview of IoT Fuzzing Techniques
publications_projects_publications_iot_fuzzers_authors = Tuan-Dat Tran
publications_projects_publications_iot_fuzzers_conference = Seminar
publications_projects_publications_iot_fuzzers_url = https://git.tudattr.dev/AISE/seminar/src/branch/main/paper.pdf
publications_projects_publications_iot_fuzzers_description = In dieser Arbeit vergleichen wir Methoden, die speziell von IoT Fuzzern genutzt werden um die von IoT Geräten stammenden Herausforderungen und Einschränkungen zu umgehen.
publications_projects_publications_iot_fuzzers_description = In dieser Arbeit
vergleichen wir Methoden, die speziell von IoT Fuzzern genutzt werden um die
von IoT Geräten stammenden Herausforderungen und Einschränkungen zu umgehen.
publications_projects_projects_title = Projekte
publications_projects_projects_bpba_title = Unbenannter Ethereum Smart Contract Fuzzer
publications_projects_projects_bpba_authors = Tuan-Dat Tran
publications_projects_projects_bpba_kind = Bachelorprojekt/Bachelorarbeit
publications_projects_projects_bpba_url = https://git.ude-syssec.de/uni-due-syssec/students/2022_tuan-dat_tran_libAFLEVMFuzzer/ethfuzz/
publications_projects_projects_bpba_description = In diesem aktuell laufendem Projekt entwickle ich einen Ethereum Smart Contract Fuzzer. Mehr Infos folgen...
publications_projects_projects_bpba_description = In diesem aktuell laufendem
Projekt entwickle ich einen Ethereum Smart Contract Fuzzer. Mehr Infos folgen...
publications_projects_projects_dotfiles_title = .dotfiles
publications_projects_projects_dotfiles_authors = Tuan-Dat Tran
publications_projects_projects_dotfiles_kind = Personal
publications_projects_projects_dotfiles_url = https://git.tudattr.dev/tudattr/dotfiles
publications_projects_projects_dotfiles_description = dotfiles ist ein umgangssprachlicher Begriff, der normalerweise für Konfigurationsdateien in Linux-basierten Systemen verwendet wird. Meine Dotfiles enthalten Konfigurationen für Tools, die ich häufig verwende, sowie eine Dokumentation zur Einrichtung meines täglich genutzten Notebooks. Sie bieten eine Grundlage für jedes persönliche Linux-System, das ich einrichte, und ermöglichen Wiederholbarkeit, was den Prozess der Einrichtung eines ArchLinux-basierten Systems vereinfacht.
publications_projects_projects_dotfiles_description = dotfiles ist ein
umgangssprachlicher Begriff, der normalerweise für Konfigurationsdateien in
Linux-basierten Systemen verwendet wird. Meine Dotfiles enthalten
Konfigurationen für Tools, die ich häufig verwende, sowie eine Dokumentation
zur Einrichtung meines täglich genutzten Notebooks. Sie bieten eine Grundlage
für jedes persönliche Linux-System, das ich einrichte, und ermöglichen
Wiederholbarkeit, was den Prozess der Einrichtung eines Linux-basierten
Systems vereinfacht.
publications_projects_projects_homelab_title = Homelab
publications_projects_projects_homelab_authors = Tuan-Dat Tran
publications_projects_projects_homelab_kind = Personal
publications_projects_projects_homelab_url = https://git.tudattr.dev/tudattr/ansible
publications_projects_projects_homelab_description = Ansible ist eine Automatisierungs-Engine, die eine automatische Bereitstellung, Konfigurationsverwaltung und Anwendungsbereitstellung ermöglicht. Ich verwende Ansible, um mein Homelab einzurichten, das mir als Plattform zum Ausprobieren und Lernen neuer Technologien dient.
publications_projects_projects_homelab_description = Ansible ist ein
Automatisierungs-Werkzeug, die eine automatische Maschinenbereitstellung,
Konfigurationsverwaltung und Anwendungsbereitstellung ermöglicht. Ich
verwende Ansible, um mein Homelab einzurichten, das mir als Plattform zum
Ausprobieren und Lernen neuer Technologien dient.
publications_projects_projects_athome_title = Diese Website
publications_projects_projects_athome_authors = Tuan-Dat Tran
publications_projects_projects_athome_kind = Personal
publications_projects_projects_athome_url = /#
publications_projects_projects_athome_description = Diese Website ist eine mit
dem auf Rust basiertem Dioxus Framwork und TailwindCSS gebaute Full Stack
WASM Website, die sowohl zum Auffrischen von Web Themen, sowie als Rust
Hobbyprojekt dient.
impressum_off = Impressum anzeigen
impressum_on = Impressum
component_under_construction = Diese Seite befindet sich gerade im Aufbau
footer_year = © 2024
footer_year = © 2025
footer_name = Tuan-Dat Tran
footer_rights = . All Rights Reserved.
footer_contact = Kontakt

View File

@@ -10,32 +10,59 @@ home_card_gender = (He/Him)
home_card_text =
Hey there! 👋🏻👋🏼👋🏽👋🏾👋🏿
Welcome to my little place on the internet
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?
My name is Tuan and I'm passionate about Linux, system security, automation, performance tweaking and all things tech.
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 =
DevOps Engineer and Software Developer with a strong academic background in
networking technologies and software development. Specialized in Kubernetes,
Ansible, Azure, and modern cloud technologies. Hands-on research experience
in Software-Defined Networking, 5G, and Machine Learning. Passionate about
efficient IT infrastructures, automation, and innovative software
solutions.
cv_workexperience_title = Work Experience
cv_workexperience_se1_gefeba_title = Software Engineer @ gefeba Engineering GmbH
cv_workexperience_se1_gefeba_time = 2013 - 2015
cv_workexperience_se1_gefeba_description = After a school internship I got offered a job as a Software Engineer. I mostly worked on internal ERP projects, designed a tool which aided in managing project related mail traffic and worked on the internal master data management tool.
cv_workexperience_student_fse_title = Student Council Member @ UDE
cv_workexperience_se1_gefeba_description = After a school internship I got
offered a job as a Software Engineer. I mostly worked on internal ERP
projects, designed a tool which aided in managing project related mail
traffic and worked on the internal master data management tool.
cv_workexperience_student_fse_title = Student Council Member @ UDE (Volunteer)
cv_workexperience_student_fse_time = 2016 - 2019
cv_workexperience_student_fse_description = As a student council member I participated in faculty committees and organized social events. My main responsibilities as a member were the management of the IT infrastructure and supporting students, be it organizationally or subject-specific.
cv_workexperience_student_fse_description = As a student council member I
participated in faculty committees and organized social events. My main
responsibilities as a member were the management of the IT infrastructure and
supporting students, be it organizationally or subject-specific.
cv_workexperience_se2_gefeba_title = Software Engineer @ gefeba Engineering GmbH
cv_workexperience_se2_gefeba_time = 2018 - 2020
cv_workexperience_se2_gefeba_description = As a software engineer at gefeba Engineering I worked on the companies main software product, which was a frame-based data exchange system to monitor industry machinery using C# and Entity Framework. Another project I worked on was a real time log visualization application for the same machinery.
cv_workexperience_se2_gefeba_description = As a software engineer at gefeba
Engineering I worked on the companies main software product, which was a
frame-based data exchange system to monitor industry machinery using C# and
Entity Framework. Another project I worked on was a real time log
visualization application for the same machinery.
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_mentoring_ude_description = As a mentor for students
enrolling into the computer science program of the University Duisburg-Essen I
regularly 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 - 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_dd_devops_title = Junior DevOps Engineer @ UDE
cv_workexperience_ra_ude_description = While working at 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_dd_devops_title = DevOps Engineer @ DextraData
cv_workexperience_dd_devops_time = 2025 - now
cv_workexperience_dd_devops_description = At Dextra Data, a leading SaaS provider in the Governance, Risk, and Compliance (GRC) sector, I ensure the availability and health of software deployments for our customers. Within the central DevOps team, I manage deployments across all products using tools such as Azure, Ansible, Docker, Kubernetes, Jenkins, and Bitbucket. In close cooperation with developers and management through the Atlassian Suite, I oversee all environments from pre-development to production. My goal is to further develop my technical skills, obtain relevant certifications, and expand my professional network to continuously improve our DevOps processes.
cv_workexperience_dd_devops_description = At DextraData, a leading SaaS
provider in the Governance, Risk, and Compliance (GRC) sector, I ensure the
availability and health of software deployments for our customers and
internal development teams across multiple products. Collaborating with
Customer Success and Software Engineers alike we ensure smooth operations on
our multi-tenant as well as single tenant instances from pre-dev to
production environments.
cv_socials_title = Socials
cv_education_title = Education
cv_education_bachelor_title = BSc Systems Engineering
@@ -65,12 +92,22 @@ publications_projects_publications_rpm_title = RPM: Reverse Path Congestion Mark
publications_projects_publications_rpm_authors = N. Baganal-Krishna, T.-D. Tran, R. Kundel and A. Rizk
publications_projects_publications_rpm_conference = IEEE LCN 2023
publications_projects_publications_rpm_url = https://doi.org/10.48550/arXiv.2307.09639
publications_projects_publications_rpm_description = In this paper, we present Reverse Path Congestion Marking (RPM) to accelerate the reaction to network congestion events without changing the end-host stack. RPM decouples the congestion signal from the downstream path after the bottleneck while maintaining the stability of the congestion control loop. We show that RPM improves throughput fairness for RTT on heterogeneous TCP flows as well as the flow completion time, especially for small Data Center TCP (DCTCP) flows around P4 programmable ASIC switches.
publications_projects_publications_rpm_description = In this paper, we present
Reverse Path Congestion Marking (RPM) to accelerate the reaction to network
congestion events without changing the end-host stack. RPM decouples the
congestion signal from the downstream path after the bottleneck while
maintaining the stability of the congestion control loop. We show that RPM
improves throughput fairness for RTT on heterogeneous TCP flows as well as
the flow completion time, especially for small Data Center TCP (DCTCP) flows
around P4 programmable ASIC switches.
publications_projects_publications_iot_fuzzers_title = Overview of IoT Fuzzing Techniques
publications_projects_publications_iot_fuzzers_authors = Tuan-Dat Tran
publications_projects_publications_iot_fuzzers_conference = Seminar
publications_projects_publications_iot_fuzzers_url = https://git.tudattr.dev/AISE/seminar/src/branch/main/paper.pdf
publications_projects_publications_iot_fuzzers_description = In this paper, we are comparing techniques used by IoT fuzzers to circumvent the challenges presented by IoT devices and the constraints of the solutions proposed by the IoT fuzzers.
publications_projects_publications_iot_fuzzers_description = In this paper, we
are comparing techniques used by IoT fuzzers to circumvent the challenges
presented by IoT devices and the constraints of the solutions proposed by the
IoT fuzzers.
publications_projects_projects_title = Projects
publications_projects_projects_bpba_title = Undisclosed Ethereum Smart Contract Fuzzer
publications_projects_projects_bpba_authors = Tuan-Dat Tran
@@ -81,16 +118,32 @@ publications_projects_projects_dotfiles_title = .dotfiles
publications_projects_projects_dotfiles_authors = Tuan-Dat Tran
publications_projects_projects_dotfiles_kind = Personal
publications_projects_projects_dotfiles_url = https://git.tudattr.dev/tudattr/dotfiles
publications_projects_projects_dotfiles_description = dotfiles is a slang term usually used for configuration files in Linux based systems. My dotfiles contain configurations for tools I frequently use as well as a documentation on how to set up my daily-use notebook. It provides a baseline for any personal Linux system I set up and allows for repeatability simplifies the process of setting up an ArchLinux based system.
publications_projects_projects_dotfiles_description = dotfiles is a slang term
usually used for configuration files in Linux based systems. My dotfiles
contain configurations for tools I frequently use as well as a documentation
on how to set up my daily-use notebook. It provides a baseline for any
personal Linux system I set up and allows for repeatability simplifies the
process of setting up an ArchLinux based system.
publications_projects_projects_homelab_title = Homelab
publications_projects_projects_homelab_authors = Tuan-Dat Tran
publications_projects_projects_homelab_kind = Personal
publications_projects_projects_homelab_url = https://git.tudattr.dev/tudattr/ansible
publications_projects_projects_homelab_description = Ansible is a automation engine which allows for automatic provisioning, configuration management and application deployment. I use ansible to set up my homelab, which serves as a platform for me to try out and learn new technologies.
publications_projects_projects_homelab_description = Ansible is a automation
tool which allows for automatic provisioning, configuration management and
application deployment. I use ansible to set up my homelab, which serves as a
platform for me to try out and learn new technologies.
publications_projects_projects_athome_title = This Website
publications_projects_projects_athome_authors = Tuan-Dat Tran
publications_projects_projects_athome_kind = Personal
publications_projects_projects_athome_url = /#
publications_projects_projects_athome_description = This website is a
full-stack WASM site built using the Rust-based Dioxus framework and
TailwindCSS. It serves both as a way to refresh web development topics and as
a Rust hobby project.
impressum_off = Show Impressum
impressum_on = Impressum
component_under_construction = This page is currently under construction
footer_year = © 2024
footer_year = © 2025
footer_name = Tuan-Dat Tran
footer_rights = . All Rights Reserved.
footer_contact = Contact

View File

@@ -6,17 +6,17 @@ pub fn Footer() -> Element {
div {
class: "container mx-auto pb-4",
footer {
class:"bg-white rounded-lg shadow dark:bg-gray-800",
class:"rounded-lg shadow bg-gray-800",
div {
class:"w-full mx-auto p-4 flex items-center justify-between",
span {
class:"text-sm text-gray-500 sm:text-center dark:text-gray-400",
class:"text-sm sm:text-center text-gray-400",
{ t!("footer_year") },
a { href: "#", class: "hover:underline", { t!("footer_name") }},
{ t!("footer_rights") }
}
ul {
class:"flex flex-wrap items-center mt-3 text-sm font-medium text-gray-500 dark:text-gray-400 sm:mt-0",
class:"flex flex-wrap items-center mt-3 text-sm font-medium text-gray-400 sm:mt-0",
li {
Link { to:"mailto:tuan-dat.tran@tudattr.dev", class:"hover:underline", { t!("footer_contact") } }
},

View File

@@ -40,11 +40,11 @@ fn LanguageButtonGroup() -> Element {
div {
class: "rounded-md shadow-sm justify-end",
button {
class: "px-4 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-s-lg hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-blue-500 dark:focus:text-white",
class: "px-4 py-2 text-sm font-medium border rounded-s-lg focus:z-10 focus:ring-2 bg-gray-800 border-gray-700 text-white hover:text-white hover:bg-gray-700 focus:ring-blue-500 focus:text-white",
onclick: change_to_english,
label { { t!("headers_language_buttons_english") } } },
button {
class: "px-4 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-e-lg hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-blue-500 dark:focus:text-white",
class: "px-4 py-2 text-sm font-medium border rounded-s-lg focus:z-10 focus:ring-2 bg-gray-800 border-gray-700 text-white hover:text-white hover:bg-gray-700 focus:ring-blue-500 focus:text-white",
onclick: change_to_german,
label { { t!("headers_language_buttons_german") } } }
}
@@ -54,6 +54,6 @@ fn LanguageButtonGroup() -> Element {
#[component]
fn HeaderLink(url: Route, text: String) -> Element {
rsx! {
Link { to: url, class:"md:bg-transparent md:text-blue-700 md:p-0 dark:text-white md:dark:text-blue-500", {text} }
Link { to: url, class:"md:bg-transparent md:p-0 text-white md:text-blue-500", {text} }
}
}

View File

@@ -10,7 +10,7 @@ use header::Header;
pub fn Layout() -> Element {
rsx! {
div {
class: "flex flex-col min-h-screen",
class: "dark flex flex-col min-h-screen",
Header {},
Body {
Outlet::<Route> {},

View File

@@ -61,7 +61,6 @@ fn App() -> Element {
rsx! {
document::Link { rel: "stylesheet", href: asset!("./assets/tailwind.css") }
document::Link { rel: "icon", href: asset!("./assets/favicon.ico") }
// <link rel="icon" type="image/x-icon" href="/images/favicon.ico">
meta {
name: "description",
content: "Visit Tuan-Dat Tran's website for his CV, publications, projects, and consulting services. Connect for collaboration.",
@@ -81,24 +80,8 @@ fn App() -> Element {
}}
"
}
// meta {
// property: "og:title",
// content: "Tuan-Dat Trans Personal Website",
// }
// meta {
// property: "og: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.",
// }
// meta {
// property: "og:image",
// content: "https://www.tudattr.dev/pictures/headshot.webp",
// }
// meta {
// property: "og:url",
// content: "https://tudattr.dev",
// }
div {
class: "bg-white dark:bg-gray-900 min-h-screen",
class: "bg-gray-900 min-h-screen",
Router::<Route> {},
}
}

View File

@@ -1,7 +1,7 @@
use dioxus::prelude::*;
use dioxus_i18n::t;
use crate::components::{Bolding, UnderConstruction, H1, HR};
use crate::components::{Bolding, H1, HR};
#[component]
pub fn PublicationsProjects() -> Element {
@@ -48,7 +48,7 @@ fn Publications() -> Element {
title: t!("publications_projects_publications_iot_fuzzers_title"),
authors: t!("publications_projects_publications_iot_fuzzers_authors"),
conference: t!("publications_projects_publications_iot_fuzzers_conference"),
doi: t!("publications_projects_publications_iot_fuzzers_url"),
doi: "/#",
description: t!("publications_projects_publications_iot_fuzzers_description")
},
}
@@ -58,23 +58,23 @@ fn Publication(prop: PublicationProp) -> Element {
let pattern = vec!["T.-D. Tran".to_string(), "Tuan-Dat Tran".to_string()];
rsx! {
Link {
class:"block max-w-sm p-6 bg-white border border-gray-200 rounded-lg shadow hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-700 dark:hover:bg-gray-700",
class:"block max-w-sm p-6 border rounded-lg shadow bg-gray-800 border-gray-700 hover:bg-gray-700",
to:"{prop.doi}",
new_tab: true,
h5 {
class:"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white",
class:"mb-2 text-2xl font-bold tracking-tight text-white",
"{prop.title}",
},
span { class: "text-lg text-gray-900 dark:text-white", "{prop.conference}" },
span { class: "text-lg text-white", "{prop.conference}" },
p {
class:"font-normal text-gray-700 dark:text-gray-400 italic",
class:"font-normal text-gray-400 italic",
Bolding {
authors: "{prop.authors}",
patterns: pattern,
},
}
p {
class:"font-normal text-gray-700 dark:text-gray-400",
class:"font-normal text-gray-400",
"{prop.description}",
}
}
@@ -89,23 +89,30 @@ fn Projects() -> Element {
title: t!("publications_projects_projects_bpba_title"),
authors: t!("publications_projects_projects_bpba_authors"),
kind: t!("publications_projects_projects_bpba_kind"),
url: t!("publications_projects_projects_bpba_url"),
url: "/#",
description: t!("publications_projects_projects_bpba_description")
},
Project {
title: t!("publications_projects_projects_dotfiles_title"),
authors: t!("publications_projects_projects_dotfiles_authors"),
kind: t!("publications_projects_projects_dotfiles_kind"),
url: t!("publications_projects_projects_dotfiles_url"),
url: "/#",
description: t!("publications_projects_projects_dotfiles_description")
},
Project {
title: t!("publications_projects_projects_homelab_title"),
authors: t!("publications_projects_projects_homelab_authors"),
kind: t!("publications_projects_projects_homelab_kind"),
url: t!("publications_projects_projects_homelab_url"),
url: "/#",
description: t!("publications_projects_projects_homelab_description")
}
Project {
title: t!("publications_projects_projects_athome_title"),
authors: t!("publications_projects_projects_athome_authors"),
kind: t!("publications_projects_projects_athome_kind"),
url: "/#",
description: t!("publications_projects_projects_athome_description")
}
}
}
}
@@ -126,23 +133,23 @@ fn Project(prop: ProjectProp) -> Element {
rsx! {
Link {
class:"block max-w-sm p-6 bg-white border border-gray-200 rounded-lg shadow hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-700 dark:hover:bg-gray-700",
class:"block max-w-sm p-6 border rounded-lg shadow bg-gray-800 border-gray-700 hover:bg-gray-700",
to:"{prop.url}",
new_tab: true,
h5 {
class:"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white",
class:"mb-2 text-2xl font-bold tracking-tight text-white",
"{prop.title}",
},
p { class: "text-lg text-gray-900 dark:text-white", "{prop.kind}" },
p { class: "text-lg text-white", "{prop.kind}" },
p {
class:"font-normal text-gray-700 dark:text-gray-400",
class:"font-normal text-gray-400",
Bolding {
authors: "{prop.authors}",
patterns: pattern,
},
}
p {
class:"font-normal text-gray-700 dark:text-gray-400",
class:"font-normal text-gray-400",
"{prop.description}",
}
}