mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-23 00:20:40 +07:00
- React + TypeScript + Vite + React Router v6 - Dark/light/system theme toggle (fixed cycle from 'system' state) - Multi-page SPA: Home, About, Experience, Projects, Engineering, Contact - Responsive layout with mobile menu - Data-driven sections (profile, skills, experience, projects) - CSS Modules-compatible with CSS variables for theming - Accessibility: skip-link, ARIA labels, keyboard navigation
57 lines
2.2 KiB
TypeScript
57 lines
2.2 KiB
TypeScript
import { experiences } from '@/data/experience'
|
|
|
|
export function ExperiencePage() {
|
|
return (
|
|
<section className="section container-content" aria-labelledby="experience-heading">
|
|
<h2 id="experience-heading" style={{ marginBottom: '48px' }}>
|
|
Experience
|
|
</h2>
|
|
<div className="timeline">
|
|
{experiences.map((exp) => (
|
|
<div key={exp.id} className="timeline-entry">
|
|
<div className="timeline-marker" />
|
|
<div className="timeline-header">
|
|
<div className="timeline-title">{exp.title}</div>
|
|
<div className="timeline-company">{exp.company}</div>
|
|
<div className="timeline-duration">{exp.duration}</div>
|
|
{exp.location && (
|
|
<div className="timeline-duration">{exp.location}</div>
|
|
)}
|
|
</div>
|
|
<ul className="timeline-responsibilities">
|
|
{exp.responsibilities.map((r) => (
|
|
<li key={r}>{r}</li>
|
|
))}
|
|
</ul>
|
|
{exp.achievements?.map((achievement) => (
|
|
<div key={achievement.id} className="achievement">
|
|
<div className="achievement-title">{achievement.title}</div>
|
|
<div className="achievement-context">{achievement.context}</div>
|
|
<div style={{ fontSize: '14px', color: 'var(--text-secondary)', marginBottom: '8px' }}>
|
|
{achievement.impact}
|
|
</div>
|
|
{achievement.metrics && achievement.metrics.length > 0 && (
|
|
<div style={{ marginBottom: '8px' }}>
|
|
{achievement.metrics.map((m) => (
|
|
<span key={m} className="achievement-metric">
|
|
{m}
|
|
</span>
|
|
))}
|
|
</div>
|
|
)}
|
|
<div className="achievement-techs">
|
|
{achievement.technologies.map((tech) => (
|
|
<span key={tech} className="tag">
|
|
{tech}
|
|
</span>
|
|
))}
|
|
</div>
|
|
</div>
|
|
))}
|
|
</div>
|
|
))}
|
|
</div>
|
|
</section>
|
|
)
|
|
}
|