- the home page is long now (hero -> flow -> features -> session preview -> activity -> footer); add a floating back-to-top button that fades in once you scroll past the hero and smooth-scrolls the home container to top - listens on the gm-home scroll container (not window); hidden by the persistent-home display:none when off-route; respects reduced-motion - verified live: hidden at top, shows after scroll, returns to top on click
20 lines
418 B
JSON
20 lines
418 B
JSON
{
|
|
"name": "amerc-site",
|
|
"version": "0.66.0-backtotop",
|
|
"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"
|
|
}
|
|
}
|