- Reveal component: feature & use cards fade-up as they enter the viewport (IntersectionObserver, staggered), with a :not(.in) pattern so the card hover-lift is never fought by the reveal transform - Count component: hero stats ease-out count from 0 on load - both respect prefers-reduced-motion and fall back to always-visible when IntersectionObserver is unavailable (no stuck-invisible content) - verified live: all 3 cards reveal to opacity 1, stats animate
20 lines
415 B
JSON
20 lines
415 B
JSON
{
|
|
"name": "amerc-site",
|
|
"version": "0.45.0-motion",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host 0.0.0.0",
|
|
"build": "vite build",
|
|
"preview": "vite preview --host 0.0.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"lucide-react": "^0.468.0",
|
|
"marked": "^14.1.4",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"vite": "^7.0.0"
|
|
}
|
|
}
|