feat(motion): add scroll reveals and micro-interactions

This commit is contained in:
2026-09-07 00:19:07 +03:30
parent fa98f70b51
commit b0c9ad1296
20 changed files with 420 additions and 24 deletions

View File

@@ -24,7 +24,7 @@ export const RiverJourney: React.FC = () => {
<section id="about" className={styles.journeySection} aria-labelledby="about-title">
<AboutRiverScene />
{/* Intro Header & Description on the Left */}
<div className={styles.introBlock}>
<div className={styles.introBlock} data-reveal="scale">
<span className={styles.eyebrow}>ABOUT ME</span>
<h2 id="about-title" className={styles.heading}>From Pixel to Product</h2>
<div className={styles.underlineBar} />
@@ -36,12 +36,16 @@ export const RiverJourney: React.FC = () => {
</p>
</div>
<ol className={styles.stepsList} aria-label="Career journey">
<ol
className={styles.stepsList}
aria-label="Career journey"
data-reveal-group
>
{steps.map((step) => {
const StepIcon = step.icon;
return (
<li key={step.number} className={styles.stepCard}>
<li key={step.number} className={styles.stepCard} data-reveal="soft">
<span className={styles.stepIcon} aria-hidden="true">
<StepIcon size={20} strokeWidth={1.9} />
</span>