mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
updated navigation
This commit is contained in:
1 parent
5159607702
commit
67255173f8
13 files changed
+218
-197
No files matched your search
@@ -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>
|
||||
)
|
||||
}
|
||||
@@ -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
@@ -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'
|
||||
Reference in new issue
Block a user