updated navigation

This commit is contained in:
dong.nguyen committed 2026-10-14 23:11:36 +07:00
1 parent 5159607702
commit 67255173f8
13 files changed
+218 -197

No files matched your search

+2 -2
View File
@@ -44,7 +44,7 @@ Personal engineering portfolio — multi-page SPA built with React + TypeScript
| `/experience` | `ExperiencePage` | Timeline | | `/experience` | `ExperiencePage` | Timeline |
| `/projects` | `ProjectsListPage` | All projects grid | | `/projects` | `ProjectsListPage` | All projects grid |
| `/projects/:id` | `ProjectDetailPage` | Single project | | `/projects/:id` | `ProjectDetailPage` | Single project |
| `/engineering` | `EngineeringPage` | Engineering philosophy | | `/philosophy` | `PhilosophyPage` | Engineering philosophy |
| `/contact` | `ContactPage` | Contact info | | `/contact` | `ContactPage` | Contact info |
## Theming ## Theming
@@ -74,7 +74,7 @@ src/
index.ts — barrel export index.ts — barrel export
data/ — profile, skills, experience, projects, resume (TS modules) data/ — profile, skills, experience, projects, resume (TS modules)
hooks/ — useTheme.tsx, useClickOutside.ts hooks/ — useTheme.tsx, useClickOutside.ts
pages/ — HomePage, AboutPage, ExperiencePage, ProjectsListPage, ProjectDetailPage, EngineeringPage, ContactPage, index.ts pages/ — HomePage, AboutPage, ExperiencePage, ProjectsListPage, ProjectDetailPage, PhilosophyPage, ContactPage, index.ts
types/ — shared TypeScript interfaces types/ — shared TypeScript interfaces
``` ```
+2 -2
View File
@@ -36,7 +36,7 @@ v1 implements **Phase 1 (Foundation)** and **Phase 2 (Core Portfolio)** from `sp
| `/experience` | Experience | `ExperiencePage` | Done | | `/experience` | Experience | `ExperiencePage` | Done |
| `/projects` | Projects List | `ProjectsListPage` | Done | | `/projects` | Projects List | `ProjectsListPage` | Done |
| `/projects/:id` | Project Detail | `ProjectDetailPage` | Done | | `/projects/:id` | Project Detail | `ProjectDetailPage` | Done |
| `/engineering` | Engineering | `EngineeringPage` | Done (placeholder content) | | `/philosophy` | Engineering | `PhilosophyPage` | Done (placeholder content) |
| `/contact` | Contact | `ContactPage` | Done | | `/contact` | Contact | `ContactPage` | Done |
### 3. Layout Components ### 3. Layout Components
@@ -119,7 +119,7 @@ App.tsx
│ ├── ExperiencePage │ ├── ExperiencePage
│ ├── ProjectsListPage │ ├── ProjectsListPage
│ ├── ProjectDetailPage │ ├── ProjectDetailPage
│ ├── EngineeringPage │ ├── PhilosophyPage
│ └── ContactPage │ └── ContactPage
└── Footer └── Footer
``` ```
+2 -2
View File
@@ -38,7 +38,7 @@ Add full English/Vietnamese bilingual support to the portfolio. Users can toggle
| 14 | Update `ExperiencePage.tsx` (heading, responsibilities, achievements) | 1 | ✅ Completed | | 14 | Update `ExperiencePage.tsx` (heading, responsibilities, achievements) | 1 | ✅ Completed |
| 15 | Update `ProjectsListPage.tsx` (heading, categories, view details) | 1 | ✅ Completed | | 15 | Update `ProjectsListPage.tsx` (heading, categories, view details) | 1 | ✅ Completed |
| 16 | Update `ProjectDetailPage.tsx` (categories, back link, headers) | 1 | ✅ Completed | | 16 | Update `ProjectDetailPage.tsx` (categories, back link, headers) | 1 | ✅ Completed |
| 17 | Update `EngineeringPage.tsx` (heading, categories, coming soon) | 1 | ✅ Completed | | 17 | Update `PhilosophyPage.tsx` (heading, categories, coming soon) | 1 | ✅ Completed |
| 18 | Update `ContactPage.tsx` (heading, labels) | 1 | ✅ Completed | | 18 | Update `ContactPage.tsx` (heading, labels) | 1 | ✅ Completed |
| 19 | Update `profile.ts` (fix tagline to VI) | 1 | ✅ Completed | | 19 | Update `profile.ts` (fix tagline to VI) | 1 | ✅ Completed |
| 20 | Update `skills.ts` (add `titleEn` to skillGroups) | 1 | ✅ Completed | | 20 | Update `skills.ts` (add `titleEn` to skillGroups) | 1 | ✅ Completed |
@@ -81,7 +81,7 @@ All previously hardcoded strings have been migrated to `src/i18n/strings.ts`:
| `Projects.tsx` | headings, categories, summary | | `Projects.tsx` | headings, categories, summary |
| `ProjectsListPage.tsx` | heading, categories, view details | | `ProjectsListPage.tsx` | heading, categories, view details |
| `ProjectDetailPage.tsx` | categories, back link, headers | | `ProjectDetailPage.tsx` | categories, back link, headers |
| `EngineeringPage.tsx` | heading, categories, coming soon | | `PhilosophyPage.tsx` | heading, categories, coming soon |
| `Contact.tsx` | heading, social labels | | `Contact.tsx` | heading, social labels |
| `ContactPage.tsx` | heading, labels | | `ContactPage.tsx` | heading, labels |
| `Layout.tsx` | skip link | | `Layout.tsx` | skip link |
@@ -560,7 +560,7 @@ export function SectionHeading({ title, subtitle, tag, id }: SectionHeadingProps
| Expertise | `"02 — Expertise"` | `Expertise.tsx`, AboutPage.tsx | `SectionHeading` | Add `tag` prop | | Expertise | `"02 — Expertise"` | `Expertise.tsx`, AboutPage.tsx | `SectionHeading` | Add `tag` prop |
| Experience | `"03 — Experience"` | `ExperiencePage.tsx`, `Experience.tsx` | `<h2>` inline | Replace with `SectionHeading` | | Experience | `"03 — Experience"` | `ExperiencePage.tsx`, `Experience.tsx` | `<h2>` inline | Replace with `SectionHeading` |
| Projects | `"04 — Projects"` | `ProjectsListPage.tsx`, `Projects.tsx` | No heading / `<h2>` inline | Add `SectionHeading` | | Projects | `"04 — Projects"` | `ProjectsListPage.tsx`, `Projects.tsx` | No heading / `<h2>` inline | Add `SectionHeading` |
| Engineering | `"05 — Engineering"` | `EngineeringPage.tsx` | `<h2>` inline | Replace with `SectionHeading` | | Engineering | `"05 — Engineering"` | `PhilosophyPage.tsx` | `<h2>` inline | Replace with `SectionHeading` |
| Contact | `"06 — Contact"` | `ContactPage.tsx`, `Contact.tsx` | `SectionHeading` | Add `tag` prop | | Contact | `"06 — Contact"` | `ContactPage.tsx`, `Contact.tsx` | `SectionHeading` | Add `tag` prop |
**CSS:** **CSS:**
@@ -586,7 +586,7 @@ export function SectionHeading({ title, subtitle, tag, id }: SectionHeadingProps
- `src/components/sections/Experience.tsx` (replace `<h2>` with `SectionHeading`) - `src/components/sections/Experience.tsx` (replace `<h2>` with `SectionHeading`)
- `src/pages/ProjectsListPage.tsx` (add `SectionHeading` before grid) - `src/pages/ProjectsListPage.tsx` (add `SectionHeading` before grid)
- `src/components/sections/Projects.tsx` (replace `<h2>` with `SectionHeading`) - `src/components/sections/Projects.tsx` (replace `<h2>` with `SectionHeading`)
- `src/pages/EngineeringPage.tsx` (replace `<h2>` with `SectionHeading`) - `../../../../src/pages/PhilosophyPage.tsx` (replace `<h2>` with `SectionHeading`)
- `src/pages/ContactPage.tsx` (add `tag` to `SectionHeading`) - `src/pages/ContactPage.tsx` (add `tag` to `SectionHeading`)
- `src/components/sections/Contact.tsx` (add `tag` to `SectionHeading`) - `src/components/sections/Contact.tsx` (add `tag` to `SectionHeading`)
+1 -1
View File
@@ -20,7 +20,7 @@
| `src/components/sections/Projects.tsx` | 32 | `tag="04 - Projects"` | `tag={strings.projects.featured[lang]}` | | `src/components/sections/Projects.tsx` | 32 | `tag="04 - Projects"` | `tag={strings.projects.featured[lang]}` |
| `src/pages/ProjectsListPage.tsx` | 13 | `tag="04 - Projects"` | `tag={strings.projects.all[lang]}` | | `src/pages/ProjectsListPage.tsx` | 13 | `tag="04 - Projects"` | `tag={strings.projects.all[lang]}` |
| `src/pages/AboutPage.tsx` | 19 | `tag="About"` | `tag={strings.about.heading[lang]}` | | `src/pages/AboutPage.tsx` | 19 | `tag="About"` | `tag={strings.about.heading[lang]}` |
| `src/pages/EngineeringPage.tsx` | 12 | `tag="Engineering"` | `tag={strings.engineering.heading[lang]}` | | `../../src/pages/PhilosophyPage.tsx` | 12 | `tag="Engineering"` | `tag={strings.engineering.heading[lang]}` |
### Đã đúng (reference) ### Đã đúng (reference)
+1 -1
View File
@@ -21,7 +21,7 @@ Section number tags are hardcoded English strings instead of using the i18n stri
| `src/components/sections/Projects.tsx` | 32 | `tag="04 - Projects"` | `tag={strings.projects.featured[lang]}` | | `src/components/sections/Projects.tsx` | 32 | `tag="04 - Projects"` | `tag={strings.projects.featured[lang]}` |
| `src/pages/ProjectsListPage.tsx` | 13 | `tag="04 - Projects"` | `tag={strings.projects.all[lang]}` | | `src/pages/ProjectsListPage.tsx` | 13 | `tag="04 - Projects"` | `tag={strings.projects.all[lang]}` |
| `src/pages/AboutPage.tsx` | 19 | `tag="About"` | `tag={strings.about.heading[lang]}` | | `src/pages/AboutPage.tsx` | 19 | `tag="About"` | `tag={strings.about.heading[lang]}` |
| `src/pages/EngineeringPage.tsx` | 12 | `tag="Engineering"` | `tag={strings.engineering.heading[lang]}` | | `../../src/pages/PhilosophyPage.tsx` | 12 | `tag="Philosophy"` | `tag={strings.engineering.heading[lang]}` |
**Already correct (reference):** **Already correct (reference):**
- `Contact.tsx:23` — `tag={\`06 - ${strings.common.contactTag[lang]}\`}` - `Contact.tsx:23` — `tag={\`06 - ${strings.common.contactTag[lang]}\`}`
+2 -2
View File
@@ -9,7 +9,7 @@ import {
ExperiencePage, ExperiencePage,
ProjectsListPage, ProjectsListPage,
ProjectDetailPage, ProjectDetailPage,
EngineeringPage, PhilosophyPage,
ContactPage, ContactPage,
} from '@/pages' } from '@/pages'
@@ -25,7 +25,7 @@ function App() {
<Route path="/experience" element={<ExperiencePage />} /> <Route path="/experience" element={<ExperiencePage />} />
<Route path="/projects" element={<ProjectsListPage />} /> <Route path="/projects" element={<ProjectsListPage />} />
<Route path="/projects/:id" element={<ProjectDetailPage />} /> <Route path="/projects/:id" element={<ProjectDetailPage />} />
<Route path="/engineering" element={<EngineeringPage />} /> <Route path="/philosophy" element={<PhilosophyPage />} />
<Route path="/contact" element={<ContactPage />} /> <Route path="/contact" element={<ContactPage />} />
</Routes> </Routes>
</Layout> </Layout>
+1 -1
View File
@@ -4,7 +4,7 @@ import { useTheme } from '@/hooks/useTheme'
import { useLanguage } from '@/hooks/useLanguage' import { useLanguage } from '@/hooks/useLanguage'
import { strings } from '@/i18n/strings' import { strings } from '@/i18n/strings'
import { RollingTextLink } from '@/components/ui/RollingTextLink' import { RollingTextLink } from '@/components/ui/RollingTextLink'
const navPaths = ['/', '/about', '/experience', '/projects', '/engineering', '/contact'] as const const navPaths = ['/', '/about', '/experience', '/projects', '/contact', '/philosophy'] as const
export function Navigation() { export function Navigation() {
const { cycleTheme, resolvedTheme } = useTheme() const { cycleTheme, resolvedTheme } = useTheme()
const { lang, toggleLang } = useLanguage() const { lang, toggleLang } = useLanguage()
+78 -68
View File
@@ -1,71 +1,81 @@
import type { Profile } from "@/types"; import type {Profile} from "@/types";
export const profile: Profile = { export const profile: Profile = {
firstName: "Dong", firstName: "Dong",
lastName: "Nguyen", lastName: "Nguyen",
name: "Nguyễn Đông", name: "Nguyễn Đông",
nameEn: "Dong Nguyen", nameEn: "Dong Nguyen",
title: "Senior Software Engineer", title: "Senior Software Engineer",
titleEn: "Senior Software Engineer", titleEn: "Senior Software Engineer",
tagline: tagline:
"Xây dựng hệ thống phần mềm có khả năng mở rộng,\ngiải pháp logistics thông minh,\nvà ứng dụng AI thực tiễn.", "Xây dựng hệ thống có khả năng mở rộng, ứng dụng giải pháp tối ưu, giải quyết trọng tâm vấn đề.",
taglineEn: taglineEn:
"Building scalable software systems,\nintelligent logistics solutions,\nand practical AI applications.", "Building scalable software systems, intelligent logistics solutions, and 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.", 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.",
bioEn: "Senior Software Engineer with experience building distributed systems, logistics technology, and AI/ML applications for real-world problems. Focused on system architecture, integration, and production-grade solutions.", bioEn: "Senior Software Engineer with experience building distributed systems, logistics technology, and AI/ML applications for real-world problems. Focused on system architecture, integration, and production-grade solutions.",
email: "nguyendong_bkdn@yahoo.com", email: "nguyendong_bkdn@yahoo.com",
githubUrl: "https://github.com/dong-nz", githubUrl: "https://github.com/dong-nz",
linkedinUrl: "https://www.linkedin.com/in/dong-nz", linkedinUrl: "https://www.linkedin.com/in/dong-nz",
currentInterests: [ currentInterests: [
"AI in logistics", "AI in logistics",
"Digital twins", "Digital twins",
"Simulation", "Simulation",
"LLM", "LLM",
"Computer Vision", "Computer Vision",
"High-performance systems", "High-performance systems",
], ],
roles: [ roles: [
"Full-Stack Developer", "System Architect",
"System Architect", "Full-Stack Developer",
"AI/ML Engineer", "System Engineer",
"Open Source Contributor", "AI/ML Application Engineer",
], "Open Source Contributor",
philosophy: [ ],
{ philosophy: [
title: "Build for the real problem", {
titleEn: "Build for the real problem", title: "Giải pháp được xây dựng dựa trên vấn đề thực tế",
description: titleEn: "Build for the real problem",
"Không bắt đầu bằng technology. Bắt đầu bằng problem.", description:
descriptionEn: "Không bắt đầu bằng technology. Bắt đầu bằng problem.",
"Don't start with technology. Start with the problem.", descriptionEn:
keywords: ["Problem-first", "Business value", "Measurement"], "Don't start with technology. Start with the problem.",
}, keywords: ["Problem-first", "Business value", "Measurement"],
{ },
title: "Think in systems", {
titleEn: "Think in systems", title: "Think in systems",
description: titleEn: "Think in systems",
"Quan tâm đến kiến trúc tổng thể, không chỉ từng component.", description:
descriptionEn: "Quan tâm đến kiến trúc tổng thể, không chỉ từng component.",
"Care about the overall architecture, not just individual components.", descriptionEn:
keywords: ["Architecture", "Integration", "Scalability", "Reliability"], "Care about the overall architecture, not just individual components.",
}, keywords: ["Architecture", "Integration", "Scalability", "Reliability"],
{ },
title: "Measure impact", {
titleEn: "Measure impact", title: "Measure impact",
description: titleEn: "Measure impact",
"Technical implementation phải gắn với measurable outcome.", description:
descriptionEn: "Technical implementation phải gắn với measurable outcome.",
"Technical implementation must be tied to measurable outcomes.", descriptionEn:
keywords: ["Performance", "Reliability", "Cost", "Efficiency"], "Technical implementation must be tied to measurable outcomes.",
}, keywords: ["Performance", "Reliability", "Cost", "Efficiency"],
{ },
title: "Keep learning", {
titleEn: "Keep learning", title: "Keep learning",
description: titleEn: "Keep learning",
"Continuous exploration of new technologies and approaches.", description:
descriptionEn: "Continuous exploration of new technologies and approaches.",
"Continuous exploration of new technologies and approaches.", descriptionEn:
keywords: ["AI/ML", "Computer Vision", "LLM", "Distributed systems"], "Continuous exploration of new technologies and approaches.",
}, keywords: ["AI/ML", "Computer Vision", "LLM", "Distributed systems"],
], },
{
title: "Kiến thức nghiệp vụ là chìa khóa thành công",
titleEn: "Business domain knowledge is a key of success",
description:
"Hiểu sâu về business domain giúp hiểu rõ vấn đề và đưa ra giải pháp phù hợp.",
descriptionEn:
"Don't start with technology. Start with the problem.",
keywords: ["Biz knowledge", "Business value"],
},
],
}; };
+102 -83
View File
@@ -1,89 +1,108 @@
export const strings = { export const strings = {
nav: { nav: {
home: { en: 'Home', vi: 'Trang chủ' }, home: {en: 'Home', vi: 'Trang chủ'},
about: { en: 'About', vi: 'Giới thiệu' }, about: {en: 'About', vi: 'Giới thiệu'},
experience: { en: 'Experience', vi: 'Kinh nghiệm' }, experience: {en: 'Experience', vi: 'Kinh nghiệm'},
projects: { en: 'Projects', vi: 'Dự án' }, projects: {en: 'Projects', vi: 'Dự án'},
engineering: { en: 'Engineering', vi: 'Kỹ sư' }, philosophy: {en: 'Philosophy', vi: 'Triết lý'},
contact: { en: 'Contact', vi: 'Liên hệ' }, contact: {en: 'Contact', vi: 'Liên hệ'},
},
footer: {
copyright: { en: 'All rights reserved', vi: 'Bảo lưu mọi quyền' },
links: {
home: { en: 'Home', vi: 'Trang chủ' },
about: { en: 'About', vi: 'Giới thiệu' },
projects: { en: 'Projects', vi: 'Dự án' },
contact: { en: 'Contact', vi: 'Liên hệ' },
}, },
}, footer: {
hero: { copyright: {en: 'All rights reserved', vi: 'Bảo lưu mọi quyền'},
greeting: { en: "Hi, I'm", vi: 'Xin chào, tôi là' }, links: {
ctaProjects: { en: 'View Projects', vi: 'Xem dự án' }, home: {en: 'Home', vi: 'Trang chủ'},
ctaContact: { en: 'Contact Me', vi: 'Liên hệ' }, about: {en: 'About', vi: 'Giới thiệu'},
downloadResume: { en: 'Download Resume', vi: 'Tải CV' }, projects: {en: 'Projects', vi: 'Dự án'},
scroll: { en: 'Scroll', vi: 'Cuộn' }, contact: {en: 'Contact', vi: 'Liên hệ'},
}, },
about: {
heading: { en: 'About Me', vi: 'Giới thiệu' },
subtitle: { en: 'Senior Software Engineer with deep expertise in distributed systems, logistics technology, and practical AI applications.', vi: 'Kỹ sư phần mềm cao cấp với chuyên môn sâu về hệ thống phân tán, công nghệ logistics và ứng dụng AI thực tiễn.' },
engineeringTitle: { en: 'How I Think About Engineering', vi: 'Cách tôi tư duy về kỹ thuật' },
exploringTitle: { en: "What I'm Exploring", vi: 'Những điều tôi đang tìm hiểu' },
exploringTitlePage: { en: "What I'm Currently Exploring", vi: 'Những điều tôi đang tìm hiểu' },
expertise: { en: 'Core Expertise', vi: 'Chuyên môn' },
},
expertise: {
heading: { en: 'Core Expertise', vi: 'Chuyên môn' },
},
experience: {
heading: { en: 'Experience', vi: 'Kinh nghiệm' },
},
projects: {
featured: { en: 'Featured Projects', vi: 'Dự án nổi bật' },
all: { en: 'Projects', vi: 'Dự án' },
viewAll: { en: 'View All', vi: 'Xem tất cả' },
viewDetails: { en: 'View Details', vi: 'Xem chi tiết' },
categories: {
'software-engineering': { en: 'Software Engineering', vi: 'Kỹ thuật phần mềm' },
logistics: { en: 'Logistics', vi: 'Logistics' },
'ai-ml': { en: 'AI / ML', vi: 'AI / ML' },
'computer-vision': { en: 'Computer Vision', vi: 'Computer Vision' },
architecture: { en: 'Architecture', vi: 'Kiến trúc' },
experiment: { en: 'Experiment', vi: 'Thử nghiệm' },
}, },
}, hero: {
contact: { greeting: {en: "Hi, I'm", vi: 'Xin chào, tôi là'},
heading: { en: 'Contact', vi: 'Liên hệ' }, ctaProjects: {en: 'View Projects', vi: 'Xem dự án'},
email: { en: 'Email', vi: 'Email' }, ctaContact: {en: 'Contact Me', vi: 'Liên hệ'},
github: { en: 'GitHub', vi: 'GitHub' }, downloadResume: {en: 'Download Resume', vi: 'Tải CV'},
linkedin: { en: 'LinkedIn', vi: 'LinkedIn' }, scroll: {en: 'Scroll', vi: 'Cuộn'},
},
projectDetail: {
notFound: { en: 'Project Not Found', vi: 'Không tìm thấy dự án' },
backToProjects: { en: 'Back to Projects', vi: 'Quay lại dự án' },
impact: { en: 'Impact', vi: 'Tác động' },
role: { en: 'Role', vi: 'Vai trò' },
technologies: { en: 'Technologies', vi: 'Công nghệ' },
experiments: { en: 'Engineering Experiments', vi: 'Thí nghiệm kỹ thuật' },
},
engineering: {
heading: { en: 'Engineering', vi: 'Kỹ sư' },
categories: {
architecture: { en: 'Architecture', vi: 'Kiến trúc' },
ai_ml: { en: 'AI / ML', vi: 'AI / ML' },
experiments: { en: 'Experiments', vi: 'Thử nghiệm' },
}, },
comingSoon: { en: 'Content coming soon. This section will showcase deep technical exploration in %s.', vi: 'Nội dung sắp ra mắt. Phần này sẽ giới thiệu các khám phá kỹ thuật chuyên sâu về %s.' }, about: {
}, heading: {en: 'About Me', vi: 'Giới thiệu'},
common: { subtitle: {
backTo: { en: 'Back to %s', vi: 'Quay lại %s' }, en: 'Senior Software Engineer with deep expertise in distributed systems, logistics technology, and practical AI applications.',
skipLink: { en: 'Skip to content', vi: 'Bỏ qua nội dung' }, vi: 'Kỹ sư phần mềm cao cấp với chuyên môn sâu về hệ thống phân tán, công nghệ logistics và ứng dụng AI thực tiễn.'
resumeDownload: { en: 'Get Resume', vi: 'Tải CV' }, },
socialAriaLabels: { engineeringTitle: {en: 'How I Think About Engineering', vi: 'Cách tôi tư duy về kỹ thuật'},
github: { en: 'View GitHub profile', vi: 'Xem hồ sơ GitHub' }, exploringTitle: {en: "What I'm Exploring", vi: 'Những điều tôi đang tìm hiểu'},
linkedin: { en: 'View LinkedIn profile', vi: 'Xem hồ sơ LinkedIn' }, exploringTitlePage: {en: "What I'm Currently Exploring", vi: 'Những điều tôi đang tìm hiểu'},
email: { en: 'Send email', vi: 'Gửi email' }, expertise: {en: 'Core Expertise', vi: 'Chuyên môn'},
},
expertise: {
heading: {en: 'Core Expertise', vi: 'Chuyên môn'},
},
experience: {
heading: {en: 'Experience', vi: 'Kinh nghiệm'},
},
projects: {
featured: {en: 'Featured Projects', vi: 'Dự án nổi bật'},
all: {en: 'Projects', vi: 'Dự án'},
viewAll: {en: 'View All', vi: 'Xem tất cả'},
viewDetails: {en: 'View Details', vi: 'Xem chi tiết'},
categories: {
'software-engineering': {en: 'Software Engineering', vi: 'Kỹ thuật phần mềm'},
logistics: {en: 'Logistics', vi: 'Logistics'},
'ai-ml': {en: 'AI / ML', vi: 'AI / ML'},
'computer-vision': {en: 'Computer Vision', vi: 'Computer Vision'},
architecture: {en: 'Architecture', vi: 'Kiến trúc'},
experiment: {en: 'Experiment', vi: 'Thử nghiệm'},
},
},
contact: {
heading: {en: 'Contact', vi: 'Liên hệ'},
email: {en: 'Email', vi: 'Email'},
github: {en: 'GitHub', vi: 'GitHub'},
linkedin: {en: 'LinkedIn', vi: 'LinkedIn'},
},
projectDetail: {
notFound: {en: 'Project Not Found', vi: 'Không tìm thấy dự án'},
backToProjects: {en: 'Back to Projects', vi: 'Quay lại dự án'},
impact: {en: 'Impact', vi: 'Tác động'},
role: {en: 'Role', vi: 'Vai trò'},
technologies: {en: 'Technologies', vi: 'Công nghệ'},
experiments: {en: 'Engineering Experiments', vi: 'Thí nghiệm kỹ thuật'},
},
philosophy: {
heading: {en: 'Philosophy', vi: 'Triết lý'},
categories: {
architecture: {en: 'Architecture', vi: 'Kiến trúc'},
ai_ml: {en: 'AI / ML', vi: 'AI / ML'},
experiments: {en: 'Experiments', vi: 'Thử nghiệm'},
},
quotes: [
{
title: {en: 'Time is priceless', vi: 'Thời gian là vô giá'},
details: {
en: 'Time is priceless. You can’t buy it, pause it, or rewind it. Once it’s gone, it’s gone for good.\n' +
'We spend so much of our lives chasing things—money, status, validation—but time is the one thing we can never earn back.\n' +
' So be mindful of how you use it. Invest it in what truly matters: the people you love, the goals that inspire you, the moments that feed your soul.',
vi: 'Thời gian là vô giá. Bạn không thể mua nó bằng tiền, không thể khiến nó dừng lại, cũng chẳng thể quay ngược về quá khứ. Một khi thời gian đã trôi qua, nó sẽ mãi mãi không trở lại.\n' +
'Chúng ta dành quá nhiều thời gian trong cuộc đời để theo đuổi những thứ như tiền bạc, địa vị và sự công nhận từ người khác. Nhưng thời gian là thứ duy nhất mà chúng ta không bao giờ có thể lấy lại.\n' +
'Vì vậy, hãy luôn ý thức về cách bạn sử dụng thời gian của mình. Hãy dành thời gian cho những điều thực sự quan trọng: những người bạn yêu thương, những mục tiêu truyền cảm hứng cho bạn và những khoảnh khắc nuôi dưỡng tâm hồn bạn.'
},
}
],
comingSoon: {
en: 'Content coming soon. This section will showcase deep technical exploration in %s.',
vi: 'Nội dung sắp ra mắt. Phần này sẽ giới thiệu các khám phá kỹ thuật chuyên sâu về %s.'
},
},
common: {
backTo: {en: 'Back to %s', vi: 'Quay lại %s'},
skipLink: {en: 'Skip to content', vi: 'Bỏ qua nội dung'},
resumeDownload: {en: 'Get Resume', vi: 'Tải CV'},
socialAriaLabels: {
github: {en: 'View GitHub profile', vi: 'Xem hồ sơ GitHub'},
linkedin: {en: 'View LinkedIn profile', vi: 'Xem hồ sơ LinkedIn'},
email: {en: 'Send email', vi: 'Gửi email'},
},
contactTag: {en: 'Contact', vi: 'Liên hệ'},
experienceTag: {en: 'Experience', vi: 'Kinh nghiệm'},
}, },
contactTag: { en: 'Contact', vi: 'Liên hệ' },
experienceTag: { en: 'Experience', vi: 'Kinh nghiệm' },
},
} as const } as const
-32
View File
@@ -1,32 +0,0 @@
import { SectionHeading } from '@/components/ui/SectionHeading'
import { Tag } from '@/components/ui/Tag'
import { profile } from '@/data/profile'
import { useLanguage } from '@/hooks/useLanguage'
import { strings } from '@/i18n/strings'
const engineeringCategoryKeys = ['architecture', 'ai_ml', 'experiments'] as const
export function EngineeringPage() {
const { lang } = useLanguage()
return (
<section className="section container-content" aria-labelledby="engineering-heading">
<SectionHeading title={strings.engineering.heading[lang]} tag={strings.engineering.heading[lang]} />
{engineeringCategoryKeys.map((catKey) => (
<div key={catKey} style={{ marginBottom: '48px' }}>
<h3 style={{ fontSize: '20px', marginBottom: '24px', color: 'var(--text-primary)' }}>
{strings.engineering.categories[catKey][lang]}
</h3>
{/* Placeholder for expanded content */}
<p style={{ color: 'var(--text-secondary)' }}>
{strings.engineering.comingSoon[lang].replace('%s', strings.engineering.categories[catKey][lang])}
</p>
<div className="philosophy-keywords" style={{ marginTop: '16px' }}>
{profile.currentInterests.filter((i) => i.includes(catKey)).map((kw) => (
<Tag key={kw} accent>{kw}</Tag>
))}
</div>
</div>
))}
</section>
)
}
+24
View File
@@ -0,0 +1,24 @@
import {SectionHeading} from '@/components/ui/SectionHeading'
import {useLanguage} from '@/hooks/useLanguage'
import {strings} from '@/i18n/strings'
export function PhilosophyPage() {
const {lang} = useLanguage()
return (
<section className="section container-content" aria-labelledby="engineering-heading">
<SectionHeading title={strings.philosophy.heading[lang]} tag={strings.philosophy.heading[lang]}/>
{strings.philosophy.quotes.map((quote) => (
<div key={quote.title[lang]} style={{marginBottom: '48px'}}>
<h3 style={{fontSize: '20px', marginBottom: '24px', color: 'var(--text-primary)'}}>
{quote.title[lang]}
</h3>
{/* Placeholder for expanded content */}
<p style={{color: 'var(--text-secondary)'}}>
{quote.details[lang]}
</p>
</div>
))}
</section>
)
}
+1 -1
View File
@@ -3,5 +3,5 @@ export { AboutPage } from './AboutPage'
export { ExperiencePage } from './ExperiencePage' export { ExperiencePage } from './ExperiencePage'
export { ProjectsListPage } from './ProjectsListPage' export { ProjectsListPage } from './ProjectsListPage'
export { ProjectDetailPage } from './ProjectDetailPage' export { ProjectDetailPage } from './ProjectDetailPage'
export { EngineeringPage } from './EngineeringPage' export { PhilosophyPage } from './PhilosophyPage.tsx'
export { ContactPage } from './ContactPage' export { ContactPage } from './ContactPage'