mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
feat: homepage enhancements - mobile padding, scroll animations, parallax, background gradient
- Fix mobile padding: add media queries for container and hero-content padding - Add InView wrapper to Hero and About for scroll-triggered animations - Add Hero parallax effect: photo moves on scroll, content fades out - Add section background gradient for smooth visual flow between sections - Unify section containers to container-wide for title alignment - Add maxWidth wrappers for text-heavy sections (About, Experience, Contact) - Replace OpenToWorkBadge with RollingTextLink component - Update nav router links and profile data - Add spec docs for v2 homepage enhancements and nav rolling text
This commit is contained in:
1 parent
1800fa7ceb
commit
aa30aed903
20 files changed
+1301
-326
No files matched your search
@@ -8,7 +8,7 @@ export function Contact() {
|
||||
return (
|
||||
<InView>
|
||||
<motion.section
|
||||
className="section container-content"
|
||||
className="section container-wide"
|
||||
aria-labelledby="contact-heading"
|
||||
initial="hidden"
|
||||
whileInView="visible"
|
||||
@@ -19,6 +19,7 @@ export function Contact() {
|
||||
}}
|
||||
>
|
||||
<SectionHeading title="Contact" />
|
||||
<div style={{ maxWidth: '700px' }}>
|
||||
<div className="contact-links">
|
||||
<motion.a
|
||||
href={`mailto:${profile.email}`}
|
||||
@@ -97,6 +98,7 @@ export function Contact() {
|
||||
</div>
|
||||
</motion.a>
|
||||
</div>
|
||||
</div>
|
||||
<DownloadResume />
|
||||
</motion.section>
|
||||
</InView>
|
||||
|
||||
Reference in new issue
Block a user