diff --git a/AGENTS.md b/AGENTS.md index ad17f62..2f248fb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -44,7 +44,7 @@ Personal engineering portfolio — multi-page SPA built with React + TypeScript | `/experience` | `ExperiencePage` | Timeline | | `/projects` | `ProjectsListPage` | All projects grid | | `/projects/:id` | `ProjectDetailPage` | Single project | -| `/engineering` | `EngineeringPage` | Engineering philosophy | +| `/philosophy` | `PhilosophyPage` | Engineering philosophy | | `/contact` | `ContactPage` | Contact info | ## Theming @@ -74,7 +74,7 @@ src/ index.ts — barrel export data/ — profile, skills, experience, projects, resume (TS modules) 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 ``` diff --git a/docs/design/spec-v1.md b/docs/design/spec-v1.md index 353e13b..7ad3573 100644 --- a/docs/design/spec-v1.md +++ b/docs/design/spec-v1.md @@ -36,7 +36,7 @@ v1 implements **Phase 1 (Foundation)** and **Phase 2 (Core Portfolio)** from `sp | `/experience` | Experience | `ExperiencePage` | Done | | `/projects` | Projects List | `ProjectsListPage` | Done | | `/projects/:id` | Project Detail | `ProjectDetailPage` | Done | -| `/engineering` | Engineering | `EngineeringPage` | Done (placeholder content) | +| `/philosophy` | Engineering | `PhilosophyPage` | Done (placeholder content) | | `/contact` | Contact | `ContactPage` | Done | ### 3. Layout Components @@ -119,7 +119,7 @@ App.tsx │ ├── ExperiencePage │ ├── ProjectsListPage │ ├── ProjectDetailPage - │ ├── EngineeringPage + │ ├── PhilosophyPage │ └── ContactPage └── Footer ``` diff --git a/docs/design/specs/v3/spec-v3-i18n.md b/docs/design/specs/v3/spec-v3-i18n.md index b8555a7..599893e 100644 --- a/docs/design/specs/v3/spec-v3-i18n.md +++ b/docs/design/specs/v3/spec-v3-i18n.md @@ -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 | | 15 | Update `ProjectsListPage.tsx` (heading, categories, view details) | 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 | | 19 | Update `profile.ts` (fix tagline to VI) | 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 | | `ProjectsListPage.tsx` | heading, categories, view details | | `ProjectDetailPage.tsx` | categories, back link, headers | -| `EngineeringPage.tsx` | heading, categories, coming soon | +| `PhilosophyPage.tsx` | heading, categories, coming soon | | `Contact.tsx` | heading, social labels | | `ContactPage.tsx` | heading, labels | | `Layout.tsx` | skip link | diff --git a/docs/design/specs/v3/spec-v3-ui-enhancements.md b/docs/design/specs/v3/spec-v3-ui-enhancements.md index 6a57f8c..0335925 100644 --- a/docs/design/specs/v3/spec-v3-ui-enhancements.md +++ b/docs/design/specs/v3/spec-v3-ui-enhancements.md @@ -560,7 +560,7 @@ export function SectionHeading({ title, subtitle, tag, id }: SectionHeadingProps | Expertise | `"02 — Expertise"` | `Expertise.tsx`, AboutPage.tsx | `SectionHeading` | Add `tag` prop | | Experience | `"03 — Experience"` | `ExperiencePage.tsx`, `Experience.tsx` | `

` inline | Replace with `SectionHeading` | | Projects | `"04 — Projects"` | `ProjectsListPage.tsx`, `Projects.tsx` | No heading / `

` inline | Add `SectionHeading` | -| Engineering | `"05 — Engineering"` | `EngineeringPage.tsx` | `

` inline | Replace with `SectionHeading` | +| Engineering | `"05 — Engineering"` | `PhilosophyPage.tsx` | `

` inline | Replace with `SectionHeading` | | Contact | `"06 — Contact"` | `ContactPage.tsx`, `Contact.tsx` | `SectionHeading` | Add `tag` prop | **CSS:** @@ -586,7 +586,7 @@ export function SectionHeading({ title, subtitle, tag, id }: SectionHeadingProps - `src/components/sections/Experience.tsx` (replace `

` with `SectionHeading`) - `src/pages/ProjectsListPage.tsx` (add `SectionHeading` before grid) - `src/components/sections/Projects.tsx` (replace `

` with `SectionHeading`) -- `src/pages/EngineeringPage.tsx` (replace `

` with `SectionHeading`) +- `../../../../src/pages/PhilosophyPage.tsx` (replace `

` with `SectionHeading`) - `src/pages/ContactPage.tsx` (add `tag` to `SectionHeading`) - `src/components/sections/Contact.tsx` (add `tag` to `SectionHeading`) diff --git a/docs/feedback/i18n-actions.md b/docs/feedback/i18n-actions.md index c5fd5b7..f0a3baa 100644 --- a/docs/feedback/i18n-actions.md +++ b/docs/feedback/i18n-actions.md @@ -20,7 +20,7 @@ | `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/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) diff --git a/docs/feedback/i18n.md b/docs/feedback/i18n.md index e067d65..54147f8 100644 --- a/docs/feedback/i18n.md +++ b/docs/feedback/i18n.md @@ -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/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/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):** - `Contact.tsx:23` — `tag={\`06 - ${strings.common.contactTag[lang]}\`}` diff --git a/src/App.tsx b/src/App.tsx index 03abb8b..334c972 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -9,7 +9,7 @@ import { ExperiencePage, ProjectsListPage, ProjectDetailPage, - EngineeringPage, + PhilosophyPage, ContactPage, } from '@/pages' @@ -25,7 +25,7 @@ function App() { } /> } /> } /> - } /> + } /> } /> diff --git a/src/components/layout/Navigation.tsx b/src/components/layout/Navigation.tsx index 9bf8de8..a7abace 100644 --- a/src/components/layout/Navigation.tsx +++ b/src/components/layout/Navigation.tsx @@ -4,7 +4,7 @@ import { useTheme } from '@/hooks/useTheme' import { useLanguage } from '@/hooks/useLanguage' import { strings } from '@/i18n/strings' 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() { const { cycleTheme, resolvedTheme } = useTheme() const { lang, toggleLang } = useLanguage() diff --git a/src/data/profile.ts b/src/data/profile.ts index cc16f26..e39ce9e 100644 --- a/src/data/profile.ts +++ b/src/data/profile.ts @@ -1,71 +1,81 @@ -import type { Profile } from "@/types"; +import type {Profile} from "@/types"; export const profile: Profile = { - firstName: "Dong", - lastName: "Nguyen", - name: "Nguyễn Đông", - nameEn: "Dong Nguyen", - title: "Senior Software Engineer", - titleEn: "Senior Software Engineer", - 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.", - taglineEn: - "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.", - 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", - githubUrl: "https://github.com/dong-nz", - linkedinUrl: "https://www.linkedin.com/in/dong-nz", - currentInterests: [ - "AI in logistics", - "Digital twins", - "Simulation", - "LLM", - "Computer Vision", - "High-performance systems", - ], - roles: [ - "Full-Stack Developer", - "System Architect", - "AI/ML Engineer", - "Open Source Contributor", - ], - philosophy: [ - { - title: "Build for the real problem", - titleEn: "Build for the real problem", - description: - "Không bắt đầu bằng technology. Bắt đầu bằng problem.", - descriptionEn: - "Don't start with technology. Start with the problem.", - keywords: ["Problem-first", "Business value", "Measurement"], - }, - { - title: "Think in systems", - titleEn: "Think in systems", - description: - "Quan tâm đến kiến trúc tổng thể, không chỉ từng component.", - descriptionEn: - "Care about the overall architecture, not just individual components.", - keywords: ["Architecture", "Integration", "Scalability", "Reliability"], - }, - { - title: "Measure impact", - titleEn: "Measure impact", - description: - "Technical implementation phải gắn với measurable outcome.", - descriptionEn: - "Technical implementation must be tied to measurable outcomes.", - keywords: ["Performance", "Reliability", "Cost", "Efficiency"], - }, - { - title: "Keep learning", - titleEn: "Keep learning", - description: - "Continuous exploration of new technologies and approaches.", - descriptionEn: - "Continuous exploration of new technologies and approaches.", - keywords: ["AI/ML", "Computer Vision", "LLM", "Distributed systems"], - }, - ], + firstName: "Dong", + lastName: "Nguyen", + name: "Nguyễn Đông", + nameEn: "Dong Nguyen", + title: "Senior Software Engineer", + titleEn: "Senior Software Engineer", + tagline: + "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: + "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.", + 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", + githubUrl: "https://github.com/dong-nz", + linkedinUrl: "https://www.linkedin.com/in/dong-nz", + currentInterests: [ + "AI in logistics", + "Digital twins", + "Simulation", + "LLM", + "Computer Vision", + "High-performance systems", + ], + roles: [ + "System Architect", + "Full-Stack Developer", + "System Engineer", + "AI/ML Application Engineer", + "Open Source Contributor", + ], + philosophy: [ + { + title: "Giải pháp được xây dựng dựa trên vấn đề thực tế", + titleEn: "Build for the real problem", + description: + "Không bắt đầu bằng technology. Bắt đầu bằng problem.", + descriptionEn: + "Don't start with technology. Start with the problem.", + keywords: ["Problem-first", "Business value", "Measurement"], + }, + { + title: "Think in systems", + titleEn: "Think in systems", + description: + "Quan tâm đến kiến trúc tổng thể, không chỉ từng component.", + descriptionEn: + "Care about the overall architecture, not just individual components.", + keywords: ["Architecture", "Integration", "Scalability", "Reliability"], + }, + { + title: "Measure impact", + titleEn: "Measure impact", + description: + "Technical implementation phải gắn với measurable outcome.", + descriptionEn: + "Technical implementation must be tied to measurable outcomes.", + keywords: ["Performance", "Reliability", "Cost", "Efficiency"], + }, + { + title: "Keep learning", + titleEn: "Keep learning", + description: + "Continuous exploration of new technologies and approaches.", + descriptionEn: + "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"], + }, + ], }; diff --git a/src/i18n/strings.ts b/src/i18n/strings.ts index ee92471..b108511 100644 --- a/src/i18n/strings.ts +++ b/src/i18n/strings.ts @@ -1,89 +1,108 @@ export const strings = { - nav: { - home: { en: 'Home', vi: 'Trang chủ' }, - about: { en: 'About', vi: 'Giới thiệu' }, - experience: { en: 'Experience', vi: 'Kinh nghiệm' }, - projects: { en: 'Projects', vi: 'Dự án' }, - engineering: { en: 'Engineering', vi: 'Kỹ sư' }, - 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ệ' }, + nav: { + home: {en: 'Home', vi: 'Trang chủ'}, + about: {en: 'About', vi: 'Giới thiệu'}, + experience: {en: 'Experience', vi: 'Kinh nghiệm'}, + projects: {en: 'Projects', vi: 'Dự án'}, + philosophy: {en: 'Philosophy', vi: 'Triết lý'}, + contact: {en: 'Contact', vi: 'Liên hệ'}, }, - }, - hero: { - greeting: { en: "Hi, I'm", vi: 'Xin chào, tôi là' }, - ctaProjects: { en: 'View Projects', vi: 'Xem dự án' }, - ctaContact: { en: 'Contact Me', vi: 'Liên hệ' }, - downloadResume: { en: 'Download Resume', vi: 'Tải CV' }, - scroll: { en: 'Scroll', vi: 'Cuộn' }, - }, - 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' }, + 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ệ'}, + }, }, - }, - 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' }, - }, - 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' }, + hero: { + greeting: {en: "Hi, I'm", vi: 'Xin chào, tôi là'}, + ctaProjects: {en: 'View Projects', vi: 'Xem dự án'}, + ctaContact: {en: 'Contact Me', vi: 'Liên hệ'}, + downloadResume: {en: 'Download Resume', vi: 'Tải CV'}, + scroll: {en: 'Scroll', vi: 'Cuộ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' }, + 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'}, + }, + }, + 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 diff --git a/src/pages/EngineeringPage.tsx b/src/pages/EngineeringPage.tsx deleted file mode 100644 index f2e0eec..0000000 --- a/src/pages/EngineeringPage.tsx +++ /dev/null @@ -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 ( -
- - - {engineeringCategoryKeys.map((catKey) => ( -
-

- {strings.engineering.categories[catKey][lang]} -

- {/* Placeholder for expanded content */} -

- {strings.engineering.comingSoon[lang].replace('%s', strings.engineering.categories[catKey][lang])} -

-
- {profile.currentInterests.filter((i) => i.includes(catKey)).map((kw) => ( - {kw} - ))} -
-
- ))} -
- ) -} diff --git a/src/pages/PhilosophyPage.tsx b/src/pages/PhilosophyPage.tsx new file mode 100644 index 0000000..fcaed70 --- /dev/null +++ b/src/pages/PhilosophyPage.tsx @@ -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 ( +
+ + {strings.philosophy.quotes.map((quote) => ( +
+

+ {quote.title[lang]} +

+ {/* Placeholder for expanded content */} +

+ {quote.details[lang]} +

+
+ ))} +
+ ) +} diff --git a/src/pages/index.ts b/src/pages/index.ts index f0ee598..c84e2c9 100644 --- a/src/pages/index.ts +++ b/src/pages/index.ts @@ -3,5 +3,5 @@ export { AboutPage } from './AboutPage' export { ExperiencePage } from './ExperiencePage' export { ProjectsListPage } from './ProjectsListPage' export { ProjectDetailPage } from './ProjectDetailPage' -export { EngineeringPage } from './EngineeringPage' +export { PhilosophyPage } from './PhilosophyPage.tsx' export { ContactPage } from './ContactPage'