diff --git a/package.json b/package.json
index 4304677..6d0b62e 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,8 @@
},
"dependencies": {
"react": "^19.2.8",
- "react-dom": "^19.2.8"
+ "react-dom": "^19.2.8",
+ "react-router-dom": "6.30.6"
},
"devDependencies": {
"@types/node": "^24.13.3",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ce6067b..9d5c6c5 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -14,6 +14,9 @@ importers:
react-dom:
specifier: ^19.2.8
version: 19.3.0(react@19.3.0)
+ react-router-dom:
+ specifier: 6.30.6
+ version: 6.30.6(react-dom@19.3.0(react@19.3.0))(react@19.3.0)
devDependencies:
'@types/node':
specifier: ^24.13.3
@@ -164,6 +167,10 @@ packages:
cpu: [x64]
os: [win32]
+ '@remix-run/router@1.23.4':
+ resolution: {integrity: sha512-q7j5geK7xs3UJSdm9/iytUNclBnLmYx1EnSeCFXHPeutdqgIMeFeHtUZgS3EhlKxdBEAu8OwtJCwmLrEzpSs7Q==}
+ engines: {node: '>=14.0.0'}
+
'@rolldown/binding-android-arm-eabi@1.2.12':
resolution: {integrity: sha512-dB/a1214qKfHMXCpgqR4OZT+jS4kTyEXbQGJPqzobt5EwH5rX080pxE37alt3RzvR1bf1Yz/yGqRfrYAxuPw0A==}
engines: {node: ^20.19.0 || >=22.12.0}
@@ -419,6 +426,19 @@ packages:
peerDependencies:
react: ^19.3.0
+ react-router-dom@6.30.6:
+ resolution: {integrity: sha512-0RHKZz7wwffvkU+2MFVT2NnjK44ssLEV+m0CAJaS2Ksmorrwj7WxH00jO0SOCW26/tINUnJHToXblDs33I38YQ==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ react: '>=16.8'
+ react-dom: '>=16.8'
+
+ react-router@6.30.6:
+ resolution: {integrity: sha512-5HfK7k5im7LTOB0EqCQmfvy4C13G92Ssj1VTmouTK3AJvyjKTnFuCV0vcMAD/JS+JC4DvDIBRrlAeJIFjh5VWg==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ react: '>=16.8'
+
react@19.3.0:
resolution: {integrity: sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog==}
engines: {node: '>=0.10.0'}
@@ -551,6 +571,8 @@ snapshots:
'@oxlint/binding-win32-x64-msvc@1.86.0':
optional: true
+ '@remix-run/router@1.23.4': {}
+
'@rolldown/binding-android-arm-eabi@1.2.12':
optional: true
@@ -714,6 +736,18 @@ snapshots:
react: 19.3.0
scheduler: 0.28.0
+ react-router-dom@6.30.6(react-dom@19.3.0(react@19.3.0))(react@19.3.0):
+ dependencies:
+ '@remix-run/router': 1.23.4
+ react: 19.3.0
+ react-dom: 19.3.0(react@19.3.0)
+ react-router: 6.30.6(react@19.3.0)
+
+ react-router@6.30.6(react@19.3.0):
+ dependencies:
+ '@remix-run/router': 1.23.4
+ react: 19.3.0
+
react@19.3.0: {}
rolldown@1.2.12:
diff --git a/src/App.css b/src/App.css
index f90339d..9c7ef55 100644
--- a/src/App.css
+++ b/src/App.css
@@ -1,184 +1,1087 @@
-.counter {
- font-size: 16px;
- padding: 5px 10px;
- border-radius: 5px;
+/* ===== Navigation ===== */
+.nav {
+ position: sticky;
+ top: 0;
+ z-index: 1000;
+ background: var(--bg-surface);
+ border-bottom: 1px solid var(--border);
+ backdrop-filter: blur(12px);
+ transition: background var(--transition-normal);
+}
+
+.nav-container {
+ max-width: var(--max-wide);
+ margin: 0 auto;
+ padding: 0 24px;
+ height: 64px;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+}
+
+.nav-logo {
+ font-size: 20px;
+ font-weight: 700;
+ color: var(--text-primary);
+ text-decoration: none;
+}
+
+.nav-logo:hover {
color: var(--accent);
- background: var(--accent-bg);
- border: 2px solid transparent;
- transition: border-color 0.3s;
- margin-bottom: 24px;
-
- &:hover {
- border-color: var(--accent-border);
- }
- &:focus-visible {
- outline: 2px solid var(--accent);
- outline-offset: 2px;
- }
}
-.hero {
+.nav-menu {
+ display: flex;
+ gap: 32px;
+ list-style: none;
+}
+
+.nav-link {
+ font-size: 14px;
+ font-weight: 500;
+ color: var(--text-muted);
+ text-decoration: none;
+ padding: 4px 0;
position: relative;
+ transition: color var(--transition-fast);
+}
- .base,
- .framework,
- .vite {
- inset-inline: 0;
- margin: 0 auto;
+.nav-link:hover {
+ color: var(--text-primary);
+}
+
+.nav-link.active {
+ color: var(--accent);
+}
+
+.nav-link.active::after {
+ content: '';
+ position: absolute;
+ bottom: -2px;
+ left: 0;
+ right: 0;
+ height: 2px;
+ background: var(--accent);
+ border-radius: 1px;
+}
+
+.nav-actions {
+ display: flex;
+ align-items: center;
+ gap: 16px;
+}
+
+.theme-toggle {
+ background: none;
+ border: none;
+ color: var(--text-muted);
+ cursor: pointer;
+ padding: 8px;
+ border-radius: var(--radius-md);
+ transition: color var(--transition-fast), background var(--transition-fast);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.theme-toggle:hover {
+ color: var(--text-primary);
+ background: var(--bg-elevated);
+}
+
+.theme-toggle:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+}
+
+.mobile-menu-btn {
+ display: none;
+ background: none;
+ border: none;
+ color: var(--text-primary);
+ cursor: pointer;
+ padding: 8px;
+ border-radius: var(--radius-md);
+}
+
+.mobile-menu-btn:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+}
+
+/* Mobile menu */
+.mobile-menu {
+ display: none;
+ position: fixed;
+ top: 64px;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: var(--bg-surface);
+ z-index: 999;
+ padding: 32px 24px;
+ overflow-y: auto;
+}
+
+.mobile-menu.open {
+ display: block;
+ animation: slideIn var(--transition-normal) ease;
+}
+
+@keyframes slideIn {
+ from {
+ opacity: 0;
+ transform: translateX(20px);
}
-
- .base {
- width: 170px;
- position: relative;
- z-index: 0;
- }
-
- .framework,
- .vite {
- position: absolute;
- }
-
- .framework {
- z-index: 1;
- top: 34px;
- height: 28px;
- transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg)
- scale(1.4);
- }
-
- .vite {
- z-index: 0;
- top: 107px;
- height: 26px;
- width: auto;
- transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg)
- scale(0.8);
+ to {
+ opacity: 1;
+ transform: translateX(0);
}
}
-#center {
+.mobile-menu-list {
+ list-style: none;
display: flex;
flex-direction: column;
- gap: 25px;
- place-content: center;
- place-items: center;
- flex-grow: 1;
+ gap: 8px;
+}
- @media (max-width: 1024px) {
- padding: 32px 20px 24px;
- gap: 18px;
+.mobile-menu-link {
+ display: block;
+ font-size: 20px;
+ font-weight: 500;
+ color: var(--text-secondary);
+ padding: 12px 0;
+ text-decoration: none;
+ transition: color var(--transition-fast);
+}
+
+.mobile-menu-link:hover,
+.mobile-menu-link.active {
+ color: var(--accent);
+}
+
+@media (max-width: 1024px) {
+ .nav-menu {
+ display: none;
+ }
+
+ .mobile-menu-btn {
+ display: flex;
}
}
-#next-steps {
+/* ===== Buttons ===== */
+.btn {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ gap: 8px;
+ padding: 12px 24px;
+ font-size: 16px;
+ font-weight: 500;
+ font-family: inherit;
+ border-radius: var(--radius-md);
+ cursor: pointer;
+ text-decoration: none;
+ transition: all var(--transition-fast);
+ border: none;
+}
+
+.btn:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+}
+
+.btn-primary {
+ background: var(--accent);
+ color: #ffffff;
+}
+
+.btn-primary:hover {
+ background: var(--accent-hover);
+}
+
+.btn-primary:active {
+ background: var(--accent-active);
+}
+
+.btn-secondary {
+ background: transparent;
+ color: var(--accent);
+ border: 1px solid var(--border);
+}
+
+.btn-secondary:hover {
+ border-color: var(--accent);
+ background: var(--accent);
+ color: #ffffff;
+}
+
+.btn-ghost {
+ background: transparent;
+ color: var(--text-muted);
+}
+
+.btn-ghost:hover {
+ color: var(--text-primary);
+ background: var(--bg-surface);
+}
+
+.btn-sm {
+ padding: 8px 12px;
+ font-size: 12px;
+}
+
+.btn-lg {
+ padding: 16px 32px;
+ font-size: 18px;
+}
+
+.btn:disabled {
+ opacity: 0.5;
+ cursor: not-allowed;
+}
+
+/* ===== Badges ===== */
+.badge {
+ display: inline-flex;
+ align-items: center;
+ padding: 4px 10px;
+ font-size: 12px;
+ font-weight: 500;
+ border-radius: var(--radius-sm);
+}
+
+.badge-accent {
+ background: var(--accent);
+ color: #ffffff;
+}
+
+.badge-outline {
+ background: transparent;
+ color: var(--accent);
+ border: 1px solid var(--accent);
+}
+
+.badge-muted {
+ background: var(--bg-surface);
+ color: var(--text-muted);
+}
+
+/* ===== Tags ===== */
+.tag {
+ display: inline-flex;
+ align-items: center;
+ padding: 4px 10px;
+ font-size: 12px;
+ color: var(--text-muted);
+ background: var(--bg-surface);
+ border-radius: var(--radius-sm);
+ border: 1px solid var(--border);
+}
+
+.tag-accent {
+ background: var(--accent);
+ color: #ffffff;
+ border-color: var(--accent);
+}
+
+/* ===== Cards ===== */
+.card {
+ background: var(--bg-surface);
+ border: 1px solid var(--border);
+ border-radius: var(--radius-lg);
+ padding: 24px;
+ transition: all var(--transition-normal);
+}
+
+.card:hover {
+ border-color: var(--accent);
+ box-shadow: 0 4px 12px var(--shadow);
+ transform: translateY(-2px);
+}
+
+.card-elevated {
+ background: var(--bg-elevated);
+ border: none;
+ box-shadow: 0 2px 8px var(--shadow);
+}
+
+.card-featured {
+ border-top: 4px solid var(--accent);
+}
+
+/* ===== Section Heading ===== */
+.section-heading {
+ margin-bottom: 48px;
+}
+
+.section-heading h2 {
+ margin-bottom: 8px;
+}
+
+.section-heading p {
+ font-size: 18px;
+}
+
+/* ===== Social Links ===== */
+.social-links {
display: flex;
- border-top: 1px solid var(--border);
- text-align: left;
+ gap: 16px;
+}
- & > div {
- flex: 1 1 0;
- padding: 32px;
- @media (max-width: 1024px) {
- padding: 24px 20px;
- }
+.social-link {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ font-size: 14px;
+ color: var(--text-muted);
+ text-decoration: none;
+ transition: color var(--transition-fast);
+}
+
+.social-link:hover {
+ color: var(--accent);
+}
+
+.social-link:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+ border-radius: 2px;
+}
+
+.social-link svg {
+ width: 20px;
+ height: 20px;
+}
+
+/* ===== Hero ===== */
+.hero {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 64px;
+ align-items: center;
+ min-height: calc(100vh - 64px);
+ padding: 80px 0;
+}
+
+.hero-content {
+ display: flex;
+ flex-direction: column;
+ gap: 24px;
+}
+
+.hero-name {
+ font-size: clamp(32px, 5vw, 64px);
+ font-weight: 700;
+ color: var(--text-primary);
+ line-height: 1.1;
+ letter-spacing: -0.02em;
+}
+
+.hero-title {
+ font-size: clamp(18px, 2.5vw, 24px);
+ font-weight: 400;
+ color: var(--text-secondary);
+}
+
+.hero-tagline {
+ font-size: 18px;
+ color: var(--text-secondary);
+ white-space: pre-line;
+ line-height: 1.6;
+}
+
+.hero-cta {
+ display: flex;
+ gap: 16px;
+ flex-wrap: wrap;
+}
+
+.hero-visual {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.hero-graphic {
+ width: 100%;
+ max-width: 400px;
+ aspect-ratio: 1;
+ position: relative;
+}
+
+@media (max-width: 768px) {
+ .hero {
+ grid-template-columns: 1fr;
+ gap: 32px;
+ min-height: auto;
+ padding: 48px 0;
}
- .icon {
- margin-bottom: 16px;
- width: 22px;
- height: 22px;
- }
-
- @media (max-width: 1024px) {
+ .hero-cta {
flex-direction: column;
+ }
+
+ .hero-cta .btn {
+ width: 100%;
+ }
+
+ .hero-visual {
+ display: none;
+ }
+}
+
+/* ===== Expertise Grid ===== */
+.expertise-grid {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ gap: 24px;
+}
+
+.expertise-card {
+ background: var(--bg-surface);
+ border: 1px solid var(--border);
+ border-radius: var(--radius-lg);
+ padding: 24px;
+ transition: all var(--transition-normal);
+}
+
+.expertise-card:hover {
+ border-color: var(--accent);
+ box-shadow: 0 4px 12px var(--shadow);
+}
+
+.expertise-card h3 {
+ font-size: 18px;
+ margin-bottom: 16px;
+ color: var(--accent);
+}
+
+.expertise-skills {
+ list-style: none;
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+}
+
+.expertise-skill {
+ font-size: 14px;
+ color: var(--text-secondary);
+ padding: 4px 0;
+}
+
+.expertise-skill::before {
+ content: '›';
+ color: var(--accent);
+ margin-right: 8px;
+ font-weight: 600;
+}
+
+@media (max-width: 1024px) {
+ .expertise-grid {
+ grid-template-columns: repeat(2, 1fr);
+ }
+}
+
+@media (max-width: 768px) {
+ .expertise-grid {
+ grid-template-columns: 1fr;
+ }
+}
+
+/* ===== Experience Timeline ===== */
+.timeline {
+ position: relative;
+ padding-left: 32px;
+}
+
+.timeline::before {
+ content: '';
+ position: absolute;
+ left: 4px;
+ top: 0;
+ bottom: 0;
+ width: 2px;
+ background: var(--border);
+}
+
+.timeline-entry {
+ position: relative;
+ margin-bottom: 48px;
+ padding-bottom: 48px;
+ border-bottom: 1px solid var(--border);
+}
+
+.timeline-entry:last-child {
+ margin-bottom: 0;
+ padding-bottom: 0;
+ border-bottom: none;
+}
+
+.timeline-marker {
+ position: absolute;
+ left: -32px;
+ top: 4px;
+ width: 12px;
+ height: 12px;
+ border-radius: 50%;
+ border: 2px solid var(--accent);
+ background: var(--bg-primary);
+}
+
+.timeline-entry:last-child .timeline-marker {
+ background: var(--accent);
+ width: 14px;
+ height: 14px;
+ left: -33px;
+ top: 3px;
+}
+
+.timeline-header {
+ margin-bottom: 16px;
+}
+
+.timeline-title {
+ font-size: 20px;
+ font-weight: 600;
+ color: var(--text-primary);
+}
+
+.timeline-company {
+ font-size: 16px;
+ color: var(--text-secondary);
+}
+
+.timeline-duration {
+ font-size: 14px;
+ color: var(--text-muted);
+}
+
+.timeline-responsibilities {
+ list-style: none;
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+ margin-bottom: 24px;
+}
+
+.timeline-responsibilities li {
+ font-size: 14px;
+ color: var(--text-secondary);
+ padding-left: 16px;
+ position: relative;
+}
+
+.timeline-responsibilities li::before {
+ content: '•';
+ position: absolute;
+ left: 0;
+ color: var(--accent);
+}
+
+.achievement {
+ background: var(--bg-surface);
+ border-left: 4px solid var(--accent);
+ border-radius: 0 var(--radius-md) var(--radius-md) 0;
+ padding: 20px 24px;
+ margin-bottom: 16px;
+}
+
+.achievement-title {
+ font-size: 18px;
+ font-weight: 600;
+ color: var(--text-primary);
+ margin-bottom: 8px;
+}
+
+.achievement-context {
+ font-size: 14px;
+ color: var(--text-secondary);
+ margin-bottom: 12px;
+}
+
+.achievement-techs {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 8px;
+ margin-top: 12px;
+}
+
+.achievement-metric {
+ display: inline-block;
+ background: var(--accent);
+ color: #ffffff;
+ padding: 4px 12px;
+ border-radius: var(--radius-sm);
+ font-size: 14px;
+ font-weight: 600;
+ margin: 4px 4px 4px 0;
+}
+
+@media (max-width: 768px) {
+ .timeline {
+ padding-left: 0;
+ }
+
+ .timeline::before {
+ display: none;
+ }
+
+ .timeline-marker {
+ display: none;
+ }
+}
+
+/* ===== Project Cards Grid ===== */
+.projects-grid {
+ display: grid;
+ grid-template-columns: repeat(2, 1fr);
+ gap: 24px;
+}
+
+.project-card {
+ background: var(--bg-surface);
+ border: 1px solid var(--border);
+ border-radius: var(--radius-lg);
+ padding: 24px;
+ display: flex;
+ flex-direction: column;
+ gap: 16px;
+ transition: all var(--transition-normal);
+ text-decoration: none;
+ color: inherit;
+}
+
+.project-card:hover {
+ border-color: var(--accent);
+ box-shadow: 0 4px 12px var(--shadow);
+ transform: translateY(-2px);
+ color: inherit;
+}
+
+.project-card-header {
+ display: flex;
+ justify-content: space-between;
+ align-items: flex-start;
+}
+
+.project-card h3 {
+ font-size: 20px;
+ color: var(--text-primary);
+ margin: 0;
+}
+
+.project-card-summary {
+ font-size: 14px;
+ color: var(--text-secondary);
+ line-height: 1.6;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+}
+
+.project-card-techs {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 8px;
+}
+
+.project-card-metrics {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 8px;
+}
+
+.project-card-cta {
+ margin-top: auto;
+ font-size: 14px;
+ font-weight: 500;
+ color: var(--accent);
+}
+
+@media (max-width: 768px) {
+ .projects-grid {
+ grid-template-columns: 1fr;
+ }
+}
+
+/* ===== Philosophy ===== */
+.philosophy-grid {
+ display: grid;
+ grid-template-columns: repeat(2, 1fr);
+ gap: 24px;
+ margin-top: 32px;
+}
+
+.philosophy-card {
+ background: var(--bg-surface);
+ border: 1px solid var(--border);
+ border-radius: var(--radius-lg);
+ padding: 24px;
+ transition: all var(--transition-normal);
+}
+
+.philosophy-card:hover {
+ border-color: var(--accent);
+}
+
+.philosophy-card h3 {
+ font-size: 18px;
+ color: var(--accent);
+ margin-bottom: 8px;
+}
+
+.philosophy-card p {
+ font-size: 14px;
+}
+
+.philosophy-keywords {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 6px;
+ margin-top: 12px;
+}
+
+.interests-list {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 8px;
+ margin-top: 24px;
+}
+
+@media (max-width: 768px) {
+ .philosophy-grid {
+ grid-template-columns: 1fr;
+ }
+}
+
+/* ===== Contact ===== */
+.contact-links {
+ display: flex;
+ gap: 32px;
+ margin-top: 32px;
+}
+
+.contact-link {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ font-size: 16px;
+ color: var(--text-secondary);
+ text-decoration: none;
+ padding: 16px 24px;
+ background: var(--bg-surface);
+ border: 1px solid var(--border);
+ border-radius: var(--radius-lg);
+ transition: all var(--transition-fast);
+}
+
+.contact-link:hover {
+ border-color: var(--accent);
+ color: var(--accent);
+ transform: translateY(-2px);
+}
+
+.contact-link svg {
+ width: 24px;
+ height: 24px;
+}
+
+@media (max-width: 768px) {
+ .contact-links {
+ flex-direction: column;
+ }
+}
+
+/* ===== Footer ===== */
+.footer {
+ border-top: 1px solid var(--border);
+ padding: 32px 0;
+ margin-top: auto;
+}
+
+.footer-container {
+ max-width: var(--max-wide);
+ margin: 0 auto;
+ padding: 0 24px;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.footer-text {
+ font-size: 14px;
+ color: var(--text-muted);
+}
+
+.footer-links {
+ display: flex;
+ gap: 24px;
+ list-style: none;
+}
+
+.footer-link {
+ font-size: 14px;
+ color: var(--text-muted);
+ text-decoration: none;
+ transition: color var(--transition-fast);
+}
+
+.footer-link:hover {
+ color: var(--accent);
+}
+
+@media (max-width: 768px) {
+ .footer-container {
+ flex-direction: column;
+ gap: 16px;
text-align: center;
}
-}
-#docs {
- border-right: 1px solid var(--border);
-
- @media (max-width: 1024px) {
- border-right: none;
- border-bottom: 1px solid var(--border);
+ .footer-links {
+ justify-content: center;
}
}
-#next-steps ul {
- list-style: none;
- padding: 0;
+/* ===== Page Header ===== */
+.page-header {
+ padding: 80px 0 48px;
+ text-align: center;
+}
+
+.page-header h1 {
+ margin-bottom: 16px;
+}
+
+/* ===== Breadcrumb ===== */
+.breadcrumb {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ font-size: 14px;
+ color: var(--text-muted);
+ margin-bottom: 24px;
+}
+
+.breadcrumb a {
+ color: var(--text-muted);
+}
+
+.breadcrumb a:hover {
+ color: var(--accent);
+}
+
+.breadcrumb-separator {
+ color: var(--text-muted);
+}
+
+/* ===== Form ===== */
+.form-group {
+ margin-bottom: 24px;
+}
+
+.form-label {
+ display: block;
+ font-size: 14px;
+ font-weight: 500;
+ color: var(--text-primary);
+ margin-bottom: 8px;
+}
+
+.form-input,
+.form-textarea {
+ width: 100%;
+ padding: 12px 16px;
+ font-size: 16px;
+ font-family: inherit;
+ background: var(--bg-surface);
+ border: 1px solid var(--border);
+ border-radius: var(--radius-md);
+ color: var(--text-primary);
+ transition: border-color var(--transition-fast);
+}
+
+.form-input:focus,
+.form-textarea:focus {
+ outline: none;
+ border-color: var(--accent);
+ box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
+}
+
+.form-input::placeholder,
+.form-textarea::placeholder {
+ color: var(--text-muted);
+}
+
+.form-textarea {
+ min-height: 120px;
+ resize: vertical;
+}
+
+/* ===== Filter bar ===== */
+.filter-bar {
display: flex;
gap: 8px;
- margin: 32px 0 0;
-
- .logo {
- height: 18px;
- }
-
- a {
- color: var(--text-h);
- font-size: 16px;
- border-radius: 6px;
- background: var(--social-bg);
- display: flex;
- padding: 6px 12px;
- align-items: center;
- gap: 8px;
- text-decoration: none;
- transition: box-shadow 0.3s;
-
- &:hover {
- box-shadow: var(--shadow);
- }
- .button-icon {
- height: 18px;
- width: 18px;
- }
- }
-
- @media (max-width: 1024px) {
- margin-top: 20px;
- flex-wrap: wrap;
- justify-content: center;
-
- li {
- flex: 1 1 calc(50% - 8px);
- }
-
- a {
- width: 100%;
- justify-content: center;
- box-sizing: border-box;
- }
- }
+ flex-wrap: wrap;
+ margin-bottom: 32px;
+ justify-content: center;
}
-#spacer {
- height: 88px;
- border-top: 1px solid var(--border);
- @media (max-width: 1024px) {
- height: 48px;
- }
+.filter-pill {
+ padding: 8px 16px;
+ font-size: 14px;
+ font-weight: 500;
+ background: transparent;
+ border: 1px solid var(--border);
+ border-radius: 100px;
+ color: var(--text-muted);
+ cursor: pointer;
+ transition: all var(--transition-fast);
+ font-family: inherit;
}
-.ticks {
- position: relative;
- width: 100%;
-
- &::before,
- &::after {
- content: '';
- position: absolute;
- top: -4.5px;
- border: 5px solid transparent;
- }
-
- &::before {
- left: 0;
- border-left-color: var(--border);
- }
- &::after {
- right: 0;
- border-right-color: var(--border);
- }
+.filter-pill:hover {
+ border-color: var(--accent);
+ color: var(--accent);
+}
+
+.filter-pill.active {
+ background: var(--accent);
+ border-color: var(--accent);
+ color: #ffffff;
+}
+
+/* ===== Article Card ===== */
+.article-card {
+ background: var(--bg-surface);
+ border: 1px solid var(--border);
+ border-radius: var(--radius-lg);
+ padding: 24px;
+ margin-bottom: 16px;
+ transition: all var(--transition-normal);
+ text-decoration: none;
+ color: inherit;
+}
+
+.article-card:hover {
+ border-color: var(--accent);
+ box-shadow: 0 4px 12px var(--shadow);
+ transform: translateY(-2px);
+}
+
+.article-card h3 {
+ font-size: 20px;
+ color: var(--text-primary);
+ margin-bottom: 8px;
+}
+
+.article-meta {
+ display: flex;
+ gap: 16px;
+ font-size: 14px;
+ color: var(--text-muted);
+ margin-bottom: 8px;
+}
+
+/* ===== Engineering Tabs ===== */
+.engineering-tabs {
+ display: flex;
+ gap: 0;
+ border-bottom: 1px solid var(--border);
+ margin-bottom: 32px;
+}
+
+.engineering-tab {
+ padding: 12px 24px;
+ font-size: 16px;
+ font-weight: 500;
+ background: none;
+ border: none;
+ border-bottom: 2px solid transparent;
+ color: var(--text-muted);
+ cursor: pointer;
+ transition: all var(--transition-fast);
+ font-family: inherit;
+}
+
+.engineering-tab:hover {
+ color: var(--text-primary);
+}
+
+.engineering-tab.active {
+ color: var(--accent);
+ border-bottom-color: var(--accent);
+}
+
+/* ===== Content prose ===== */
+.prose {
+ max-width: var(--max-content);
+}
+
+.prose h2 {
+ margin-top: 48px;
+ margin-bottom: 16px;
+ font-size: 28px;
+}
+
+.prose h3 {
+ margin-top: 32px;
+ margin-bottom: 12px;
+ font-size: 22px;
+}
+
+.prose p {
+ margin-bottom: 16px;
+}
+
+.prose ul,
+.prose ol {
+ margin-bottom: 16px;
+ padding-left: 24px;
+}
+
+.prose li {
+ margin-bottom: 8px;
+ color: var(--text-secondary);
+}
+
+.prose blockquote {
+ border-left: 4px solid var(--accent);
+ padding-left: 16px;
+ margin: 16px 0;
+ color: var(--text-secondary);
+ font-style: italic;
+}
+
+/* ===== Back to top ===== */
+.back-to-top {
+ position: fixed;
+ bottom: 24px;
+ right: 24px;
+ width: 40px;
+ height: 40px;
+ border-radius: 50%;
+ background: var(--accent);
+ color: #ffffff;
+ border: none;
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ opacity: 0;
+ transform: translateY(10px);
+ transition: all var(--transition-normal);
+ z-index: 100;
+}
+
+.back-to-top.visible {
+ opacity: 1;
+ transform: translateY(0);
+}
+
+.back-to-top:hover {
+ background: var(--accent-hover);
}
diff --git a/src/App.tsx b/src/App.tsx
index 9ca8e8d..b22964b 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,121 +1,34 @@
-import { useState } from 'react'
-import heroImg from './assets/hero.png'
-import reactLogo from './assets/react.svg'
-import viteLogo from './assets/vite.svg'
import './App.css'
+import { BrowserRouter, Routes, Route } from 'react-router-dom'
+import { ThemeProvider } from '@/hooks/useTheme'
+import { Layout } from '@/components/layout/Layout'
+import {
+ HomePage,
+ AboutPage,
+ ExperiencePage,
+ ProjectsListPage,
+ ProjectDetailPage,
+ EngineeringPage,
+ ContactPage,
+} from '@/pages'
function App() {
- const [count, setCount] = useState(0)
-
return (
- <>
-
-
-
-
Get started
-
- Edit src/App.tsx and save to test HMR
-
-
-
-
-
-
-
-
-
-
-
Documentation
-
Your questions, answered
-
-
-
-
-
Connect with us
-
Join the Vite community
-
-
-
-
-
-
- >
+
+
+
+
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+
+
+
+
)
}
diff --git a/src/components/index.ts b/src/components/index.ts
new file mode 100644
index 0000000..4027856
--- /dev/null
+++ b/src/components/index.ts
@@ -0,0 +1,15 @@
+export { Button } from './ui/Button'
+export { Badge } from './ui/Badge'
+export { Tag } from './ui/Tag'
+export { Card } from './ui/Card'
+export { SectionHeading } from './ui/SectionHeading'
+export { SocialLinks } from './ui/SocialLinks'
+export { Navigation } from './layout/Navigation'
+export { Footer } from './layout/Footer'
+export { Layout } from './layout/Layout'
+export { Hero } from './sections/Hero'
+export { About } from './sections/About'
+export { Expertise } from './sections/Expertise'
+export { Experience } from './sections/Experience'
+export { Projects } from './sections/Projects'
+export { Contact } from './sections/Contact'
diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx
new file mode 100644
index 0000000..68dcb21
--- /dev/null
+++ b/src/components/layout/Footer.tsx
@@ -0,0 +1,71 @@
+import { Link } from 'react-router-dom'
+import { profile } from '@/data/profile'
+
+const footerLinks = [
+ { label: 'Home', path: '/' },
+ { label: 'About', path: '/about' },
+ { label: 'Projects', path: '/projects' },
+ { label: 'Contact', path: '/contact' },
+]
+
+export function Footer() {
+ const year = new Date().getFullYear()
+
+ return (
+
+ )
+}
diff --git a/src/components/layout/Layout.tsx b/src/components/layout/Layout.tsx
new file mode 100644
index 0000000..8bfdc98
--- /dev/null
+++ b/src/components/layout/Layout.tsx
@@ -0,0 +1,21 @@
+import { Navigation } from './Navigation'
+import { Footer } from './Footer'
+
+interface LayoutProps {
+ children?: React.ReactNode
+}
+
+export function Layout({ children }: LayoutProps) {
+ return (
+ <>
+
+ Skip to content
+
+
+
+ {children}
+
+
+ >
+ )
+}
diff --git a/src/components/layout/Navigation.tsx b/src/components/layout/Navigation.tsx
new file mode 100644
index 0000000..cc0246f
--- /dev/null
+++ b/src/components/layout/Navigation.tsx
@@ -0,0 +1,115 @@
+import { useState, useEffect } from 'react'
+import { Link, NavLink, useLocation } from 'react-router-dom'
+import { useTheme } from '@/hooks/useTheme'
+
+const navItems = [
+ { label: 'Home', path: '/' },
+ { label: 'About', path: '/about' },
+ { label: 'Experience', path: '/experience' },
+ { label: 'Projects', path: '/projects' },
+ { label: 'Engineering', path: '/engineering' },
+ { label: 'Contact', path: '/contact' },
+]
+
+export function Navigation() {
+ const { cycleTheme, resolvedTheme } = useTheme()
+ const [mobileOpen, setMobileOpen] = useState(false)
+ const location = useLocation()
+
+ useEffect(() => {
+ if (mobileOpen) {
+ document.body.style.overflow = 'hidden'
+ } else {
+ document.body.style.overflow = ''
+ }
+ return () => {
+ document.body.style.overflow = ''
+ }
+ }, [mobileOpen])
+
+ useEffect(() => {
+ setMobileOpen(false)
+ }, [location.pathname])
+
+ return (
+ <>
+
+
+
+
+ {navItems.map((item) => (
+ -
+
+ isActive ? 'mobile-menu-link active' : 'mobile-menu-link'
+ }
+ onClick={() => setMobileOpen(false)}
+ >
+ {item.label}
+
+
+ ))}
+
+
+ >
+ )
+}
diff --git a/src/components/sections/About.tsx b/src/components/sections/About.tsx
new file mode 100644
index 0000000..ece4457
--- /dev/null
+++ b/src/components/sections/About.tsx
@@ -0,0 +1,45 @@
+import { SectionHeading } from '@/components/ui/SectionHeading'
+import { Tag } from '@/components/ui/Tag'
+import { profile } from '@/data/profile'
+
+export function About() {
+ return (
+
+
+
+
+ {profile.bio}
+
+
+
+ How I Think About Engineering
+
+
+
+ {profile.philosophy.map((point) => (
+
+
{point.title}
+
{point.description}
+
+ {point.keywords.map((kw) => (
+ {kw}
+ ))}
+
+
+ ))}
+
+
+
+ What I'm Exploring
+
+
+ {profile.currentInterests.map((interest) => (
+
+ {interest}
+
+ ))}
+
+
+
+ )
+}
diff --git a/src/components/sections/Contact.tsx b/src/components/sections/Contact.tsx
new file mode 100644
index 0000000..91f7bbb
--- /dev/null
+++ b/src/components/sections/Contact.tsx
@@ -0,0 +1,40 @@
+import { SectionHeading } from '@/components/ui/SectionHeading'
+import { profile } from '@/data/profile'
+
+export function Contact() {
+ return (
+
+ )
+}
diff --git a/src/components/sections/Experience.tsx b/src/components/sections/Experience.tsx
new file mode 100644
index 0000000..b393e77
--- /dev/null
+++ b/src/components/sections/Experience.tsx
@@ -0,0 +1,56 @@
+import { experiences } from '@/data/experience'
+
+export function Experience() {
+ return (
+
+
+ Experience
+
+
+ {experiences.map((exp) => (
+
+
+
+
{exp.title}
+
{exp.company}
+
{exp.duration}
+ {exp.location && (
+
{exp.location}
+ )}
+
+
+ {exp.responsibilities.map((r) => (
+ - {r}
+ ))}
+
+ {exp.achievements?.map((achievement) => (
+
+
{achievement.title}
+
{achievement.context}
+
+ {achievement.impact}
+
+ {achievement.metrics && achievement.metrics.length > 0 && (
+
+ {achievement.metrics.map((m) => (
+
+ {m}
+
+ ))}
+
+ )}
+
+ {achievement.technologies.map((tech) => (
+
+ {tech}
+
+ ))}
+
+
+ ))}
+
+ ))}
+
+
+ )
+}
diff --git a/src/components/sections/Expertise.tsx b/src/components/sections/Expertise.tsx
new file mode 100644
index 0000000..141d1d4
--- /dev/null
+++ b/src/components/sections/Expertise.tsx
@@ -0,0 +1,24 @@
+import { SectionHeading } from '@/components/ui/SectionHeading'
+import { skillGroups } from '@/data/skills'
+
+export function Expertise() {
+ return (
+
+
+
+ {skillGroups.map((group) => (
+
+
{group.title}
+
+ {group.skills.map((skill) => (
+ -
+ {skill}
+
+ ))}
+
+
+ ))}
+
+
+ )
+}
diff --git a/src/components/sections/Hero.tsx b/src/components/sections/Hero.tsx
new file mode 100644
index 0000000..1c48da1
--- /dev/null
+++ b/src/components/sections/Hero.tsx
@@ -0,0 +1,93 @@
+import { Button } from '@/components/ui/Button'
+import { SocialLinks } from '@/components/ui/SocialLinks'
+import { profile } from '@/data/profile'
+
+const socialLinks = [
+ {
+ label: 'GitHub',
+ href: profile.githubUrl,
+ 'aria-label': 'View GitHub profile',
+ icon: (
+
+ ),
+ },
+ {
+ label: 'LinkedIn',
+ href: profile.linkedinUrl,
+ 'aria-label': 'View LinkedIn profile',
+ icon: (
+
+ ),
+ },
+ {
+ label: 'Email',
+ href: `mailto:${profile.email}`,
+ 'aria-label': 'Send email',
+ icon: (
+
+ ),
+ },
+]
+
+export function Hero() {
+ return (
+
+
+
+ {profile.name}
+
+
{profile.title}
+
{profile.tagline}
+
+
+
+
+
+
+
+
+
+
+
+
+ )
+}
diff --git a/src/components/sections/Projects.tsx b/src/components/sections/Projects.tsx
new file mode 100644
index 0000000..6f5815d
--- /dev/null
+++ b/src/components/sections/Projects.tsx
@@ -0,0 +1,60 @@
+import { Badge } from '@/components/ui/Badge'
+import { projects } from '@/data/projects'
+
+const categoryLabels: Record = {
+ 'software-engineering': 'Software Engineering',
+ logistics: 'Logistics',
+ 'ai-ml': 'AI / ML',
+ 'computer-vision': 'Computer Vision',
+ architecture: 'Architecture',
+ experiment: 'Experiment',
+}
+
+export function Projects() {
+ const featured = projects.filter((p) => p.featured).slice(0, 4)
+
+ return (
+
+ )
+}
diff --git a/src/components/ui/Badge.tsx b/src/components/ui/Badge.tsx
new file mode 100644
index 0000000..997937d
--- /dev/null
+++ b/src/components/ui/Badge.tsx
@@ -0,0 +1,19 @@
+interface BadgeProps {
+ children: React.ReactNode
+ variant?: 'accent' | 'outline' | 'muted'
+ className?: string
+}
+
+const variantClasses: Record<'accent' | 'outline' | 'muted', string> = {
+ accent: 'badge badge-accent',
+ outline: 'badge badge-outline',
+ muted: 'badge badge-muted',
+}
+
+export function Badge({ children, variant = 'muted', className = '' }: BadgeProps) {
+ return (
+
+ {children}
+
+ )
+}
diff --git a/src/components/ui/Button.tsx b/src/components/ui/Button.tsx
new file mode 100644
index 0000000..8dc78d5
--- /dev/null
+++ b/src/components/ui/Button.tsx
@@ -0,0 +1,47 @@
+import { forwardRef } from 'react'
+import type { ComponentPropsWithoutRef } from 'react'
+
+type ButtonVariant = 'primary' | 'secondary' | 'ghost'
+type ButtonSize = 'sm' | 'md' | 'lg'
+
+interface ButtonProps extends ComponentPropsWithoutRef<'button'> {
+ variant?: ButtonVariant
+ size?: ButtonSize
+ href?: string
+ children: React.ReactNode
+}
+
+const variantClasses: Record = {
+ primary: 'btn btn-primary',
+ secondary: 'btn btn-secondary',
+ ghost: 'btn btn-ghost',
+}
+
+const sizeClasses: Record = {
+ sm: 'btn-sm',
+ md: '',
+ lg: 'btn-lg',
+}
+
+export const Button = forwardRef<
+ HTMLButtonElement | HTMLAnchorElement,
+ ButtonProps
+>(({ variant = 'primary', size = 'md', href, className = '', children, ...props }, ref) => {
+ const classes = `${variantClasses[variant]} ${sizeClasses[size]} ${className}`.trim()
+
+ if (href) {
+ return (
+ } {...(props as React.AnchorHTMLAttributes)}>
+ {children}
+
+ )
+ }
+
+ return (
+
+ )
+})
+
+Button.displayName = 'Button'
diff --git a/src/components/ui/Card.tsx b/src/components/ui/Card.tsx
new file mode 100644
index 0000000..453f2fc
--- /dev/null
+++ b/src/components/ui/Card.tsx
@@ -0,0 +1,31 @@
+import { forwardRef } from 'react'
+import type { ComponentPropsWithoutRef } from 'react'
+
+type CardVariant = 'default' | 'elevated' | 'featured'
+
+interface CardProps extends ComponentPropsWithoutRef<'div'> {
+ variant?: CardVariant
+ children: React.ReactNode
+}
+
+const variantClasses: Record = {
+ default: 'card',
+ elevated: 'card card-elevated',
+ featured: 'card card-featured',
+}
+
+export const Card = forwardRef(
+ ({ variant = 'default', className = '', children, ...props }, ref) => {
+ return (
+
+ {children}
+
+ )
+ }
+)
+
+Card.displayName = 'Card'
diff --git a/src/components/ui/SectionHeading.tsx b/src/components/ui/SectionHeading.tsx
new file mode 100644
index 0000000..d5ee0a4
--- /dev/null
+++ b/src/components/ui/SectionHeading.tsx
@@ -0,0 +1,14 @@
+interface SectionHeadingProps {
+ title: string
+ subtitle?: string
+ id?: string
+}
+
+export function SectionHeading({ title, subtitle, id }: SectionHeadingProps) {
+ return (
+
+
{title}
+ {subtitle &&
{subtitle}
}
+
+ )
+}
diff --git a/src/components/ui/SocialLinks.tsx b/src/components/ui/SocialLinks.tsx
new file mode 100644
index 0000000..5c356be
--- /dev/null
+++ b/src/components/ui/SocialLinks.tsx
@@ -0,0 +1,31 @@
+interface SocialLink {
+ label: string
+ href: string
+ icon: React.ReactNode
+ 'aria-label': string
+}
+
+interface SocialLinksProps {
+ links: SocialLink[]
+ className?: string
+}
+
+export function SocialLinks({ links, className = '' }: SocialLinksProps) {
+ return (
+
+ )
+}
diff --git a/src/components/ui/Tag.tsx b/src/components/ui/Tag.tsx
new file mode 100644
index 0000000..38395f9
--- /dev/null
+++ b/src/components/ui/Tag.tsx
@@ -0,0 +1,13 @@
+interface TagProps {
+ children: React.ReactNode
+ accent?: boolean
+ className?: string
+}
+
+export function Tag({ children, accent = false, className = '' }: TagProps) {
+ return (
+
+ {children}
+
+ )
+}
diff --git a/src/data/experience.ts b/src/data/experience.ts
new file mode 100644
index 0000000..6150154
--- /dev/null
+++ b/src/data/experience.ts
@@ -0,0 +1,70 @@
+import type { ExperienceEntry } from "@/types";
+
+export const experiences: ExperienceEntry[] = [
+ {
+ id: "senior-swe",
+ title: "Senior Software Engineer",
+ company: "Current Company",
+ duration: "2021 – Present",
+ location: "Ho Chi Minh City, Vietnam",
+ responsibilities: [
+ "System ownership và architecture design cho logistics integration systems",
+ "Developed IoT-DWS integration solution deployed across 16 sortations",
+ "Led system maintenance and modernization for production environments",
+ "Applied Computer Vision and ML to solve real-world operational problems",
+ "Scrum Master responsibilities — team achieved Scrum Level L3",
+ ],
+ achievements: [
+ {
+ id: "iot-dws",
+ title: "IoT-DWS Integration System",
+ context:
+ "Tiếp nhận và nhanh chóng làm chủ hệ thống IoT-DWS sau khi thành viên phụ trách trước đó rời project.",
+ technicalWork: [
+ "HTTP integration with Signature Header",
+ "HMAC-based request/response security",
+ "RocketMQ integration",
+ "HTTP engine development",
+ "Integration with DWS machines",
+ ],
+ impact: "Giải pháp DWS integration được triển khai cho 16 sortations",
+ metrics: ["16 sortations deployed"],
+ technologies: ["Java", "HTTP", "HMAC", "RocketMQ", "DWS"],
+ featured: true,
+ },
+ {
+ id: "awb-detection",
+ title: "AWB Detection / Computer Vision",
+ context:
+ "Tự động phát hiện shipping label / AWB từ hình ảnh được camera trên sortation machine chụp.",
+ technicalWork: [
+ "OpenCV image preprocessing",
+ "YOLO-based object detection",
+ "Oriented Bounding Box (OBB)",
+ "ONNX model inference",
+ "OCR pipeline",
+ ],
+ impact:
+ "Model được fine-tune cho bài toán AWB detection, xử lý white label trên white package",
+ metrics: ["70,000 images/month processed"],
+ technologies: ["Python", "OpenCV", "YOLO", "ONNX", "OCR"],
+ featured: true,
+ },
+ {
+ id: "system-maintenance",
+ title: "System Maintenance & Optimization",
+ context:
+ "Duy trì và hiện đại hóa hệ thống production theo yêu cầu của security/infrastructure team.",
+ technicalWork: [
+ "Migration to newer middleware versions",
+ "OSS cleanup and duplicate image removal",
+ "System maintenance automation",
+ ],
+ impact: "Giảm OSS storage khoảng 7 GB/month",
+ metrics: ["7 GB/month reduction", "70,000 images/month"],
+ technologies: ["Docker", "Linux", "OSS", "CI/CD"],
+ featured: true,
+ },
+ ],
+ },
+];
diff --git a/src/data/profile.ts b/src/data/profile.ts
new file mode 100644
index 0000000..8082205
--- /dev/null
+++ b/src/data/profile.ts
@@ -0,0 +1,46 @@
+import type { Profile } from "@/types";
+
+export const profile: Profile = {
+ name: "Your Name",
+ title: "Senior Software Engineer",
+ tagline:
+ "Building scalable software systems,\nintelligent logistics solutions,\nand practical AI applications.",
+ bio: "Senior Software Engineer với kinh nghiệm xây dựng hệ thống phân tán, logistics technology, và ứng dụng AI/ML vào bài toán thực tế. Tập trung vào system architecture, integration, và production-grade solutions.",
+ email: "your.email@example.com",
+ githubUrl: "https://github.com/yourusername",
+ linkedinUrl: "https://linkedin.com/in/yourusername",
+ currentInterests: [
+ "AI in logistics",
+ "Digital twins",
+ "Simulation",
+ "LLM",
+ "Computer Vision",
+ "High-performance systems",
+ ],
+ philosophy: [
+ {
+ title: "Build for the real problem",
+ description:
+ "Không bắt đầu bằng technology. Bắt đầu bằng problem.",
+ keywords: ["Problem-first", "Business value", "Measurement"],
+ },
+ {
+ title: "Think in systems",
+ description:
+ "Quan tâm đến kiến trúc tổng thể, không chỉ từng component.",
+ keywords: ["Architecture", "Integration", "Scalability", "Reliability"],
+ },
+ {
+ title: "Measure impact",
+ description:
+ "Technical implementation phải gắn với measurable outcome.",
+ keywords: ["Performance", "Reliability", "Cost", "Efficiency"],
+ },
+ {
+ title: "Keep learning",
+ description:
+ "Continuous exploration of new technologies and approaches.",
+ keywords: ["AI/ML", "Computer Vision", "LLM", "Distributed systems"],
+ },
+ ],
+};
diff --git a/src/data/projects.ts b/src/data/projects.ts
new file mode 100644
index 0000000..8910f57
--- /dev/null
+++ b/src/data/projects.ts
@@ -0,0 +1,183 @@
+import type { ProjectDetail } from "@/types";
+
+export const projects: ProjectDetail[] = [
+ {
+ id: "iot-dws-integration",
+ title: "IoT-DWS Integration System",
+ summary:
+ "Thiết kế và triển khai hệ thống integration giữa IoT devices và DWS (Dimensioning Weighing Scanning) machines cho 16 sortations.",
+ category: "logistics",
+ role: "Senior Software Engineer — System Owner",
+ technologies: ["Java", "HTTP", "HMAC", "RocketMQ", "DWS"],
+ metrics: ["16 sortations deployed"],
+ featured: true,
+ githubUrl: "https://github.com/yourusername",
+ sections: [
+ {
+ id: "context",
+ number: 1,
+ title: "Context",
+ content:
+ "Tiếp nhận và nhanh chóng làm chủ một hệ thống IoT-DWS sau khi thành viên phụ trách trước đó rời project. Cần hiểu nhanh architecture hiện tại và tiếp tục phát triển integration solution.",
+ type: "text",
+ },
+ {
+ id: "problem",
+ number: 2,
+ title: "Problem",
+ content:
+ "Cần integration giữa các IoT devices (sensors, cameras) và DWS machines — hệ thống vật lý phức tạp với nhiều protocol khác nhau (HMI, FTP, HTTP).",
+ type: "text",
+ },
+ {
+ id: "solution",
+ number: 4,
+ title: "Solution",
+ content:
+ "Thiết kế HTTP-based integration engine với HMAC security, RocketMQ messaging, và protocol adapters cho HMI/FTP/HTTP.",
+ type: "text",
+ },
+ {
+ id: "architecture",
+ number: 5,
+ title: "Architecture",
+ content:
+ "```text\nIoT Devices\n ↓\nProtocol Adapters (HMI/FTP/HTTP)\n ↓\nHTTP Engine + HMAC Security\n ↓\nRocketMQ\n ↓\nDWS Machines\n```",
+ type: "diagram",
+ },
+ {
+ id: "challenges",
+ number: 7,
+ title: "Challenges",
+ content:
+ "Nhiều protocol khác nhau, security requirements (HMAC signature), real-time data processing, production reliability.",
+ type: "text",
+ },
+ {
+ id: "result",
+ number: 8,
+ title: "Result",
+ content:
+ "Giải pháp được triển khai cho 16 sortations, ổn định trong production, hỗ trợ 3 protocols (HMI, FTP, HTTP).",
+ type: "text",
+ },
+ ],
+ },
+ {
+ id: "awb-detection",
+ title: "AWB Detection / Computer Vision",
+ summary:
+ "Ứng dụng Computer Vision và Machine Learning để tự động phát hiện và OCR shipping label từ hình ảnh camera trên sortation.",
+ category: "computer-vision",
+ role: "Senior Software Engineer — ML Engineering",
+ technologies: ["Python", "OpenCV", "YOLO", "ONNX", "OCR"],
+ metrics: ["70,000 images/month processed"],
+ featured: true,
+ sections: [
+ {
+ id: "context",
+ number: 1,
+ title: "Context",
+ content:
+ "Sortation machines chụp ảnh packages khi di chuyển trên băng chuyền. Cần tự động đọc AWB (Air Waybill) từ ảnh để tracking và sorting.",
+ type: "text",
+ },
+ {
+ id: "problem",
+ number: 2,
+ title: "Problem",
+ content:
+ "White label trên white package — traditional CV methods không đủ robust. Cần ML-based detection.",
+ type: "text",
+ },
+ {
+ id: "pipeline",
+ number: 4,
+ title: "Pipeline",
+ content:
+ "```text\nImage\n ↓\nAWB/Label Detection (YOLO)\n ↓\nBounding Box / OBB\n ↓\nRotation Correction\n ↓\nCrop\n ↓\nOCR\n ↓\nText Extraction\n```",
+ type: "diagram",
+ },
+ {
+ id: "challenges",
+ number: 7,
+ title: "Challenges",
+ content:
+ "White label on white package, rotated labels, varying lighting conditions, real-time inference requirements.",
+ type: "text",
+ },
+ {
+ id: "result",
+ number: 8,
+ title: "Result",
+ content:
+ "Model fine-tuned cho AWB detection, xử lý 70,000 images/month. Presentation tại Tech Talk workshop.",
+ type: "text",
+ },
+ ],
+ },
+ {
+ id: "facility-management",
+ title: "Facility Management Platform",
+ summary:
+ "Xây dựng nền tảng digital twin cho logistics facilities — mô hình hóa facility, theo dõi real-time, và recommendation system.",
+ category: "software-engineering",
+ role: "Senior Software Engineer — Platform Design",
+ technologies: ["Go", "TypeScript", "Docker", "Event-driven"],
+ featured: true,
+ sections: [
+ {
+ id: "vision",
+ number: 1,
+ title: "Vision",
+ content:
+ "Chuyển đổi từ manual operations sang Operation Intelligence Platform — thu thập data, monitor, analyze, recommend, decide.",
+ type: "text",
+ },
+ {
+ id: "architecture",
+ number: 5,
+ title: "Architecture",
+ content:
+ "```text\nPhysical Facility\n ↓\nData Collection\n ↓\nFacility Model\n ↓\nDigital Twin\n ↓\nSimulation\n ↓\nAnalytics\n ↓\nRecommendation\n ↓\nOperation Decision\n```",
+ type: "diagram",
+ },
+ {
+ id: "result",
+ number: 8,
+ title: "Result",
+ content:
+ "Platform hỗ trợ facility modeling, real-time visibility, và recommendation cho capacity planning.",
+ type: "text",
+ },
+ ],
+ },
+ {
+ id: "local-llm-experiments",
+ title: "Local LLM Experiments",
+ summary:
+ "Technical exploration về running local MoE LLMs với llama.cpp — GPU offloading, VRAM optimization, performance tracing.",
+ category: "experiment",
+ role: "Engineering Experiment",
+ technologies: ["llama.cpp", "Qwen", "MoE", "Python", "CUDA"],
+ featured: true,
+ sections: [
+ {
+ id: "exploration",
+ number: 1,
+ title: "Exploration",
+ content:
+ "Technical exploration về MoE (Mixture of Experts), expert routing, GPU offloading, VRAM optimization, prefill/decode pipeline.",
+ type: "text",
+ },
+ {
+ id: "learnings",
+ number: 9,
+ title: "Lessons Learned",
+ content:
+ "Understand the system → Measure → Analyze → Optimize. Không phải khoe hardware — mà thể hiện engineering approach.",
+ type: "text",
+ },
+ ],
+ },
+];
diff --git a/src/data/skills.ts b/src/data/skills.ts
new file mode 100644
index 0000000..762bf4c
--- /dev/null
+++ b/src/data/skills.ts
@@ -0,0 +1,60 @@
+import type { SkillGroup } from "@/types";
+
+export const skillGroups: SkillGroup[] = [
+ {
+ title: "Software Engineering",
+ skills: [
+ "Java",
+ "Go",
+ "TypeScript",
+ "Distributed Systems",
+ "REST APIs",
+ "Microservices",
+ ],
+ },
+ {
+ title: "System Architecture",
+ skills: [
+ "System Design",
+ "Integration Architecture",
+ "Event-driven Architecture",
+ "Message Queues",
+ "API Design",
+ ],
+ },
+ {
+ title: "Logistics Technology",
+ skills: [
+ "Sortation",
+ "Warehouse / Facility Operations",
+ "Package Flow",
+ "Operational Intelligence",
+ "Facility Modeling",
+ ],
+ },
+ {
+ title: "AI / ML",
+ skills: [
+ "Computer Vision",
+ "Object Detection",
+ "OCR",
+ "Model Deployment",
+ "LLM",
+ "AI-assisted Engineering",
+ ],
+ },
+ {
+ title: "Infrastructure",
+ skills: ["Docker", "Linux", "CI/CD", "Networking", "Middleware"],
+ },
+ {
+ title: "Engineering Practices",
+ skills: [
+ "Agile / Scrum",
+ "Technical Documentation",
+ "System Maintenance",
+ "Performance Optimization",
+ "Technical Research",
+ ],
+ },
+];
diff --git a/src/hooks/useTheme.tsx b/src/hooks/useTheme.tsx
new file mode 100644
index 0000000..675ce87
--- /dev/null
+++ b/src/hooks/useTheme.tsx
@@ -0,0 +1,78 @@
+import { createContext, useContext, useEffect, useState, useCallback } from 'react'
+
+type Theme = 'dark' | 'light' | 'system'
+
+interface ThemeContextValue {
+ theme: Theme
+ resolvedTheme: 'dark' | 'light'
+ setTheme: (theme: Theme) => void
+ cycleTheme: () => void
+}
+
+const ThemeContext = createContext(undefined)
+
+const STORAGE_KEY = 'portfolio-theme'
+
+function getSystemTheme(): 'dark' | 'light' {
+ return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'
+}
+
+function getStoredTheme(): Theme {
+ try {
+ const stored = localStorage.getItem(STORAGE_KEY)
+ if (stored === 'dark' || stored === 'light' || stored === 'system') {
+ return stored
+ }
+ } catch {
+ // localStorage unavailable
+ }
+ return 'system'
+}
+
+function resolveTheme(theme: Theme): 'dark' | 'light' {
+ return theme === 'system' ? getSystemTheme() : theme
+}
+
+export function ThemeProvider({ children }: { children: React.ReactNode }) {
+ const [theme, setThemeState] = useState(getStoredTheme)
+
+ const resolvedTheme = resolveTheme(theme)
+
+ useEffect(() => {
+ document.documentElement.setAttribute('data-theme', resolvedTheme)
+ try {
+ localStorage.setItem(STORAGE_KEY, theme)
+ } catch {
+ // localStorage unavailable
+ }
+ }, [resolvedTheme, theme])
+
+ const setTheme = useCallback((newTheme: Theme) => {
+ setThemeState(newTheme)
+ }, [])
+
+ const cycleTheme = useCallback(() => {
+ setThemeState((prev) => {
+ if (prev === 'system') {
+ return getSystemTheme() === 'dark' ? 'light' : 'dark'
+ }
+ if (prev === 'dark') return 'light'
+ if (prev === 'light') return 'system'
+ return 'dark'
+ })
+ }, [])
+
+ return (
+
+ {children}
+
+ )
+}
+
+export function useTheme() {
+ const context = useContext(ThemeContext)
+ if (!context) {
+ throw new Error('useTheme must be used within ThemeProvider')
+ }
+ return context
+}
diff --git a/src/index.css b/src/index.css
index 5fb3313..896a5b8 100644
--- a/src/index.css
+++ b/src/index.css
@@ -1,111 +1,263 @@
+/* Theme variables — Dark mode (default) */
:root {
- --text: #6b6375;
- --text-h: #08060d;
- --bg: #fff;
- --border: #e5e4e7;
- --code-bg: #f4f3ec;
- --accent: #aa3bff;
- --accent-bg: rgba(170, 59, 255, 0.1);
- --accent-border: rgba(170, 59, 255, 0.5);
- --social-bg: rgba(244, 243, 236, 0.5);
- --shadow:
- rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;
+ --bg-primary: #0a0a0a;
+ --bg-surface: #141414;
+ --bg-elevated: #1a1a1a;
+ --text-primary: #f0f0f0;
+ --text-secondary: #a0a0a0;
+ --text-muted: #666666;
+ --accent: #60a5fa;
+ --accent-hover: #93c5fd;
+ --accent-active: #3b82f6;
+ --border: #2a2a2a;
+ --shadow: rgba(0, 0, 0, 0.3);
+ --code-bg: #1a1a2e;
+ --success: #34d399;
+ --error: #f87171;
- --sans: system-ui, 'Segoe UI', Roboto, sans-serif;
- --heading: system-ui, 'Segoe UI', Roboto, sans-serif;
- --mono: ui-monospace, Consolas, monospace;
+ --sans: 'Inter', system-ui, -apple-system, sans-serif;
+ --mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
- font: 18px/145% var(--sans);
- letter-spacing: 0.18px;
- color-scheme: light dark;
- color: var(--text);
- background: var(--bg);
+ --max-wide: 1200px;
+ --max-content: 800px;
+ --max-narrow: 600px;
+
+ --radius-sm: 4px;
+ --radius-md: 6px;
+ --radius-lg: 8px;
+
+ --transition-fast: 150ms ease;
+ --transition-normal: 200ms ease;
+ --transition-slow: 300ms ease;
+
+ font-size: 16px;
+ line-height: 1.6;
+ color: var(--text-primary);
+ background: var(--bg-primary);
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-
- @media (max-width: 1024px) {
- font-size: 16px;
- }
}
+/* Light mode */
+:root[data-theme='light'] {
+ --bg-primary: #ffffff;
+ --bg-surface: #f5f5f5;
+ --bg-elevated: #ffffff;
+ --text-primary: #0a0a0a;
+ --text-secondary: #404040;
+ --text-muted: #808080;
+ --accent: #2563eb;
+ --accent-hover: #3b82f6;
+ --accent-active: #1d4ed8;
+ --border: #e0e0e0;
+ --shadow: rgba(0, 0, 0, 0.1);
+ --code-bg: #f0f0ff;
+ --success: #059669;
+ --error: #dc2626;
+}
+
+/* System theme */
@media (prefers-color-scheme: dark) {
- :root {
- --text: #9ca3af;
- --text-h: #f3f4f6;
- --bg: #16171d;
- --border: #2e303a;
- --code-bg: #1f2028;
- --accent: #c084fc;
- --accent-bg: rgba(192, 132, 252, 0.15);
- --accent-border: rgba(192, 132, 252, 0.5);
- --social-bg: rgba(47, 48, 58, 0.5);
- --shadow:
- rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
- }
-
- #social .button-icon {
- filter: invert(1) brightness(2);
+ :root:not([data-theme='light']) {
+ --bg-primary: #0a0a0a;
+ --bg-surface: #141414;
+ --bg-elevated: #1a1a1a;
+ --text-primary: #f0f0f0;
+ --text-secondary: #a0a0a0;
+ --text-muted: #666666;
+ --accent: #60a5fa;
+ --accent-hover: #93c5fd;
+ --accent-active: #3b82f6;
+ --border: #2a2a2a;
+ --shadow: rgba(0, 0, 0, 0.3);
+ --code-bg: #1a1a2e;
+ --success: #34d399;
+ --error: #f87171;
}
}
-#root {
- width: 1126px;
- max-width: 100%;
- margin: 0 auto;
- text-align: center;
- border-inline: 1px solid var(--border);
- min-height: 100svh;
- display: flex;
- flex-direction: column;
+@media (prefers-color-scheme: light) {
+ :root:not([data-theme='dark']) {
+ --bg-primary: #ffffff;
+ --bg-surface: #f5f5f5;
+ --bg-elevated: #ffffff;
+ --text-primary: #0a0a0a;
+ --text-secondary: #404040;
+ --text-muted: #808080;
+ --accent: #2563eb;
+ --accent-hover: #3b82f6;
+ --accent-active: #1d4ed8;
+ --border: #e0e0e0;
+ --shadow: rgba(0, 0, 0, 0.1);
+ --code-bg: #f0f0ff;
+ --success: #059669;
+ --error: #dc2626;
+ }
+}
+
+/* Reset */
+*,
+*::before,
+*::after {
box-sizing: border-box;
+ margin: 0;
+ padding: 0;
+}
+
+html {
+ scroll-behavior: smooth;
}
body {
- margin: 0;
+ font-family: var(--sans);
+ min-height: 100vh;
+ overflow-x: hidden;
}
-h1,
-h2 {
- font-family: var(--heading);
- font-weight: 500;
- color: var(--text-h);
+#root {
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+}
+
+/* Typography */
+h1, h2, h3, h4, h5, h6 {
+ color: var(--text-primary);
+ font-weight: 600;
+ line-height: 1.2;
}
h1 {
- font-size: 56px;
- letter-spacing: -1.68px;
- margin: 32px 0;
- @media (max-width: 1024px) {
- font-size: 36px;
- margin: 20px 0;
- }
-}
-h2 {
- font-size: 24px;
- line-height: 118%;
- letter-spacing: -0.24px;
- margin: 0 0 8px;
- @media (max-width: 1024px) {
- font-size: 20px;
- }
-}
-p {
- margin: 0;
+ font-size: clamp(32px, 5vw, 64px);
+ letter-spacing: -0.02em;
}
-code,
-.counter {
- font-family: var(--mono);
- display: inline-flex;
- border-radius: 4px;
- color: var(--text-h);
+h2 {
+ font-size: clamp(24px, 4vw, 40px);
+ letter-spacing: -0.01em;
+}
+
+h3 {
+ font-size: 24px;
+}
+
+p {
+ color: var(--text-secondary);
+ line-height: 1.7;
+}
+
+a {
+ color: var(--accent);
+ text-decoration: none;
+ transition: color var(--transition-fast);
+}
+
+a:hover {
+ color: var(--accent-hover);
+}
+
+a:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+ border-radius: 2px;
}
code {
- font-size: 15px;
- line-height: 135%;
- padding: 4px 8px;
+ font-family: var(--mono);
+ font-size: 0.9em;
background: var(--code-bg);
+ padding: 2px 6px;
+ border-radius: var(--radius-sm);
+}
+
+pre {
+ font-family: var(--mono);
+ font-size: 14px;
+ background: var(--code-bg);
+ padding: 16px;
+ border-radius: var(--radius-md);
+ border: 1px solid var(--border);
+ overflow-x: auto;
+ line-height: 1.5;
+}
+
+pre code {
+ background: none;
+ padding: 0;
+}
+
+/* Utilities */
+.container-wide {
+ max-width: var(--max-wide);
+ margin: 0 auto;
+ padding: 0 24px;
+}
+
+.container-content {
+ max-width: var(--max-content);
+ margin: 0 auto;
+ padding: 0 24px;
+}
+
+.container-narrow {
+ max-width: var(--max-narrow);
+ margin: 0 auto;
+ padding: 0 24px;
+}
+
+.section {
+ padding: 80px 0;
+}
+
+@media (max-width: 768px) {
+ .section {
+ padding: 48px 0;
+ }
+}
+
+/* Scroll reveal animation */
+@keyframes fadeInUp {
+ from {
+ opacity: 0;
+ transform: translateY(20px);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
+}
+
+.animate-in {
+ animation: fadeInUp var(--transition-slow) ease forwards;
+}
+
+/* Reduced motion */
+@media (prefers-reduced-motion: reduce) {
+ *,
+ *::before,
+ *::after {
+ animation-duration: 0.01ms !important;
+ animation-iteration-count: 1 !important;
+ transition-duration: 0.01ms !important;
+ scroll-behavior: auto !important;
+ }
+}
+
+/* Skip link */
+.skip-link {
+ position: absolute;
+ top: -100%;
+ left: 16px;
+ padding: 8px 16px;
+ background: var(--accent);
+ color: white;
+ border-radius: var(--radius-md);
+ z-index: 10000;
+ font-weight: 500;
+}
+
+.skip-link:focus {
+ top: 16px;
}
diff --git a/src/pages/AboutPage.tsx b/src/pages/AboutPage.tsx
new file mode 100644
index 0000000..4c05095
--- /dev/null
+++ b/src/pages/AboutPage.tsx
@@ -0,0 +1,68 @@
+import { SectionHeading } from '@/components/ui/SectionHeading'
+import { Tag } from '@/components/ui/Tag'
+import { profile } from '@/data/profile'
+import { skillGroups } from '@/data/skills'
+
+export function AboutPage() {
+ return (
+ <>
+
+
+
+
+ {profile.bio}
+
+
+
+ How I Think About Engineering
+
+
+ {profile.philosophy.map((point) => (
+
+
{point.title}
+
{point.description}
+
+ {point.keywords.map((kw) => (
+ {kw}
+ ))}
+
+
+ ))}
+
+
+
+ What I'm Currently Exploring
+
+
+ {profile.currentInterests.map((interest) => (
+
+ {interest}
+
+ ))}
+
+
+
+
+
+
+
+ {skillGroups.map((group: { title: string; skills: string[] }) => (
+
+
{group.title}
+
+ {group.skills.map((skill: string) => (
+ -
+ {skill}
+
+ ))}
+
+
+ ))}
+
+
+ >
+ )
+}
diff --git a/src/pages/ContactPage.tsx b/src/pages/ContactPage.tsx
new file mode 100644
index 0000000..effc2da
--- /dev/null
+++ b/src/pages/ContactPage.tsx
@@ -0,0 +1,41 @@
+import { profile } from '@/data/profile'
+
+export function ContactPage() {
+ return (
+
+ )
+}
diff --git a/src/pages/EngineeringPage.tsx b/src/pages/EngineeringPage.tsx
new file mode 100644
index 0000000..1ac4bd9
--- /dev/null
+++ b/src/pages/EngineeringPage.tsx
@@ -0,0 +1,29 @@
+import { Tag } from '@/components/ui/Tag'
+import { profile } from '@/data/profile'
+
+export function EngineeringPage() {
+ return (
+
+
+ Engineering
+
+
+ {['Architecture', 'AI / ML', 'Experiments'].map((category) => (
+
+
+ {category}
+
+ {/* Placeholder for expanded content */}
+
+ Content coming soon. This section will showcase deep technical exploration in {category.toLowerCase()}.
+
+
+ {profile.currentInterests.filter((i) => i.includes(category)).map((kw) => (
+ {kw}
+ ))}
+
+
+ ))}
+
+ )
+}
diff --git a/src/pages/ExperiencePage.tsx b/src/pages/ExperiencePage.tsx
new file mode 100644
index 0000000..5cd826e
--- /dev/null
+++ b/src/pages/ExperiencePage.tsx
@@ -0,0 +1,56 @@
+import { experiences } from '@/data/experience'
+
+export function ExperiencePage() {
+ return (
+
+
+ Experience
+
+
+ {experiences.map((exp) => (
+
+
+
+
{exp.title}
+
{exp.company}
+
{exp.duration}
+ {exp.location && (
+
{exp.location}
+ )}
+
+
+ {exp.responsibilities.map((r) => (
+ - {r}
+ ))}
+
+ {exp.achievements?.map((achievement) => (
+
+
{achievement.title}
+
{achievement.context}
+
+ {achievement.impact}
+
+ {achievement.metrics && achievement.metrics.length > 0 && (
+
+ {achievement.metrics.map((m) => (
+
+ {m}
+
+ ))}
+
+ )}
+
+ {achievement.technologies.map((tech) => (
+
+ {tech}
+
+ ))}
+
+
+ ))}
+
+ ))}
+
+
+ )
+}
diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx
new file mode 100644
index 0000000..8c9dae8
--- /dev/null
+++ b/src/pages/HomePage.tsx
@@ -0,0 +1,19 @@
+import { Hero } from '@/components/sections/Hero'
+import { About } from '@/components/sections/About'
+import { Expertise } from '@/components/sections/Expertise'
+import { Experience } from '@/components/sections/Experience'
+import { Projects } from '@/components/sections/Projects'
+import { Contact } from '@/components/sections/Contact'
+
+export function HomePage() {
+ return (
+ <>
+
+
+
+
+
+
+ >
+ )
+}
diff --git a/src/pages/ProjectDetailPage.tsx b/src/pages/ProjectDetailPage.tsx
new file mode 100644
index 0000000..d275658
--- /dev/null
+++ b/src/pages/ProjectDetailPage.tsx
@@ -0,0 +1,86 @@
+import { useParams, Link } from 'react-router-dom'
+import { Badge } from '@/components/ui/Badge'
+import { Tag } from '@/components/ui/Tag'
+import { projects } from '@/data/projects'
+
+const categoryLabels: Record = {
+ 'software-engineering': 'Software Engineering',
+ logistics: 'Logistics',
+ 'ai-ml': 'AI / ML',
+ 'computer-vision': 'Computer Vision',
+ architecture: 'Architecture',
+ experiment: 'Experiment',
+}
+
+export function ProjectDetailPage() {
+ const { id } = useParams<{ id: string }>()
+ const project = projects.find((p) => p.id === id)
+
+ if (!project) {
+ return (
+
+ Project Not Found
+
+ ← Back to Projects
+
+
+ )
+ }
+
+ return (
+
+
+ ← Back to Projects
+
+
+
+
{project.title}
+ {categoryLabels[project.category] || project.category}
+
+
+
+ {project.summary}
+
+
+ {project.metrics && project.metrics.length > 0 && (
+
+
Impact
+
+ {project.metrics.map((m) => (
+
+ {m}
+
+ ))}
+
+
+ )}
+
+
+
Role
+
{project.role}
+
+
+
+
Technologies
+
+ {project.technologies.map((tech) => (
+ {tech}
+ ))}
+
+
+
+ {project.sections && project.sections.length > 0 && (
+
+
Engineering Experiments
+ {project.sections.map((section, idx) => (
+
+
{section.title}
+
{section.content}
+
{section.type}
+
+ ))}
+
+ )}
+
+ )
+}
diff --git a/src/pages/ProjectsListPage.tsx b/src/pages/ProjectsListPage.tsx
new file mode 100644
index 0000000..0a3369d
--- /dev/null
+++ b/src/pages/ProjectsListPage.tsx
@@ -0,0 +1,43 @@
+import { Badge } from '@/components/ui/Badge'
+import { projects } from '@/data/projects'
+
+const categoryLabels: Record = {
+ 'software-engineering': 'Software Engineering',
+ logistics: 'Logistics',
+ 'ai-ml': 'AI / ML',
+ 'computer-vision': 'Computer Vision',
+ architecture: 'Architecture',
+ experiment: 'Experiment',
+}
+
+export function ProjectsListPage() {
+ return (
+
+ )
+}
diff --git a/src/pages/index.ts b/src/pages/index.ts
new file mode 100644
index 0000000..f0ee598
--- /dev/null
+++ b/src/pages/index.ts
@@ -0,0 +1,7 @@
+export { HomePage } from './HomePage'
+export { AboutPage } from './AboutPage'
+export { ExperiencePage } from './ExperiencePage'
+export { ProjectsListPage } from './ProjectsListPage'
+export { ProjectDetailPage } from './ProjectDetailPage'
+export { EngineeringPage } from './EngineeringPage'
+export { ContactPage } from './ContactPage'
diff --git a/src/types/index.ts b/src/types/index.ts
new file mode 100644
index 0000000..64825f8
--- /dev/null
+++ b/src/types/index.ts
@@ -0,0 +1,77 @@
+export type ProjectCategory =
+ | "software-engineering"
+ | "logistics"
+ | "ai-ml"
+ | "computer-vision"
+ | "architecture"
+ | "experiment";
+
+export interface Project {
+ id: string;
+ title: string;
+ summary: string;
+ category: ProjectCategory;
+ role: string;
+ technologies: string[];
+ metrics?: string[];
+ featured: boolean;
+ githubUrl?: string;
+ demoUrl?: string;
+}
+
+export interface ProjectSection {
+ id: string;
+ number: number;
+ title: string;
+ content: string;
+ type: "text" | "diagram" | "metrics" | "code";
+}
+
+export interface ProjectDetail extends Project {
+ sections: ProjectSection[];
+}
+
+export interface ExperienceEntry {
+ id: string;
+ title: string;
+ company: string;
+ duration: string;
+ location?: string;
+ responsibilities: string[];
+ achievements?: FeaturedAchievement[];
+}
+
+export interface FeaturedAchievement {
+ id: string;
+ title: string;
+ context: string;
+ technicalWork: string[];
+ impact: string;
+ metrics?: string[];
+ technologies: string[];
+ featured: boolean;
+}
+
+export interface SkillGroup {
+ title: string;
+ skills: string[];
+}
+
+export interface PhilosophyPoint {
+ title: string;
+ description: string;
+ keywords: string[];
+}
+
+export interface Profile {
+ name: string;
+ title: string;
+ tagline: string;
+ bio: string;
+ email: string;
+ githubUrl: string;
+ linkedinUrl: string;
+ resumeUrl?: string;
+ currentInterests: string[];
+ philosophy: PhilosophyPoint[];
+}
diff --git a/tsconfig.app.json b/tsconfig.app.json
index 6830b6f..2554713 100644
--- a/tsconfig.app.json
+++ b/tsconfig.app.json
@@ -7,20 +7,21 @@
"types": ["vite/client"],
"allowArbitraryExtensions": true,
"skipLibCheck": true,
-
- /* Bundler mode */
+ "baseUrl": ".",
+ "paths": {
+ "@/*": ["src/*"]
+ },
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"moduleDetection": "force",
"noEmit": true,
"jsx": "react-jsx",
-
- /* Linting */
"noUnusedLocals": true,
"noUnusedParameters": true,
"erasableSyntaxOnly": true,
- "noFallthroughCasesInSwitch": true
+ "noFallthroughCasesInSwitch": true,
+ "ignoreDeprecations": "6.0"
},
"include": ["src"]
}
diff --git a/tsconfig.node.json b/tsconfig.node.json
index 8455dcb..0b756c0 100644
--- a/tsconfig.node.json
+++ b/tsconfig.node.json
@@ -5,15 +5,11 @@
"lib": ["ES2023"],
"types": ["node"],
"skipLibCheck": true,
-
- /* Bundler mode */
"module": "nodenext",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"moduleDetection": "force",
"noEmit": true,
-
- /* Linting */
"noUnusedLocals": true,
"noUnusedParameters": true,
"erasableSyntaxOnly": true,
diff --git a/vite.config.ts b/vite.config.ts
index 9982072..be139b4 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -1,7 +1,12 @@
+import path from 'path'
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
-// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
+ resolve: {
+ alias: {
+ '@': path.resolve(__dirname, './src'),
+ },
+ },
})
Connect with us
-Join the Vite community
---
-
-
- GitHub
-
-
- -
-
-
- Discord
-
-
- -
-
-
- X.com
-
-
- -
-
-
- Bluesky
-
-
-
-