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

-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 { ProjectsListPage } from './ProjectsListPage'
export { ProjectDetailPage } from './ProjectDetailPage'
export { EngineeringPage } from './EngineeringPage'
export { PhilosophyPage } from './PhilosophyPage.tsx'
export { ContactPage } from './ContactPage'