feat(smooth-scroll): implement smooth scrolling functionality with Lenis integration

This commit is contained in:
2026-03-12 19:08:44 +01:00
parent 8f6a242273
commit ef9b277396
6 changed files with 160 additions and 1 deletions

27
package-lock.json generated
View File

@@ -16,6 +16,7 @@
"cryptocurrency-icons": "^0.18.1",
"currency-flags": "github:vivekimsit/currency-flags",
"framer-motion": "^12.36.0",
"lenis": "^1.3.18",
"lucide-react": "^0.475.0",
"next": "^14.2.24",
"react": "^18.2.0",
@@ -4564,6 +4565,32 @@
"node": ">=0.10"
}
},
"node_modules/lenis": {
"version": "1.3.18",
"resolved": "https://registry.npmjs.org/lenis/-/lenis-1.3.18.tgz",
"integrity": "sha512-7KBl3V7vx5y1h05pu9fNFZS66I0+1eZ+zUGNNNBKtEn3BONZy+nkHWvdEe2b+zKT+6WX1x7zyOb1zbYYOs6tcg==",
"license": "MIT",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/darkroomengineering"
},
"peerDependencies": {
"@nuxt/kit": ">=3.0.0",
"react": ">=17.0.0",
"vue": ">=3.0.0"
},
"peerDependenciesMeta": {
"@nuxt/kit": {
"optional": true
},
"react": {
"optional": true
},
"vue": {
"optional": true
}
}
},
"node_modules/levn": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",