mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-23 00:20:40 +07:00
feat: personal engineering portfolio with routing, theme toggle, and responsive design
- 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
This commit is contained in:
1 parent
0273f555de
commit
7e42bd8017
38 files changed
+2921
-358
No files matched your search
@@ -0,0 +1,56 @@
|
||||
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>
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user