mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
feat: resume download, router v7/v8 migrations, spec restructure
- Add resume download button in Hero CTA and Contact section - Migrate react-router v6→v7 and v7→v8 - Restructure specs: UI specs to specs/ui/, v2 specs to specs/v2/ - Add profile-photo assets (jpg + webp) - Update AGENTS.md, spec-v2.md index
This commit is contained in:
1 parent
02bad6036d
commit
d827bf9b23
37 files changed
+770
-443
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { resumeAvailable } from '@/data/resume'
|
||||
import { SectionHeading } from '@/components/ui/SectionHeading'
|
||||
import { profile } from '@/data/profile'
|
||||
|
||||
@@ -34,6 +35,19 @@ export function Contact() {
|
||||
<div style={{ fontSize: '14px', color: 'var(--text-muted)' }}>Your Name</div>
|
||||
</div>
|
||||
</a>
|
||||
{resumeAvailable && (
|
||||
<a href="/resume.pdf" download className="contact-link">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" width="24" height="24">
|
||||
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />
|
||||
<polyline points="7 10 12 15 17 10" />
|
||||
<line x1="12" y1="15" x2="12" y2="3" />
|
||||
</svg>
|
||||
<div>
|
||||
<div style={{ fontWeight: 500, color: 'var(--text-primary)' }}>Download Resume</div>
|
||||
<div style={{ fontSize: '14px', color: 'var(--text-muted)' }}>PDF</div>
|
||||
</div>
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user