add smooth scroll to demo

This commit is contained in:
David Haz
2025-07-22 09:48:05 +03:00
parent cc3273a848
commit a258358cf6
3 changed files with 81 additions and 10 deletions

27
package-lock.json generated
View File

@@ -15,6 +15,7 @@
"@vueuse/motion": "^3.0.3",
"@wdns/vue-code-block": "^2.3.5",
"gsap": "^3.13.0",
"lenis": "^1.3.8",
"matter-js": "^0.20.0",
"motion-v": "^1.5.0",
"ogl": "^1.0.11",
@@ -6433,6 +6434,32 @@
"dev": true,
"license": "MIT"
},
"node_modules/lenis": {
"version": "1.3.8",
"resolved": "https://registry.npmjs.org/lenis/-/lenis-1.3.8.tgz",
"integrity": "sha512-LVeoMs6jZE1eu3gPsexndm+vk01pLFeq7P00vjIpI17saD52IYu8nPA4gX43elz8tp/TTCXcX6Em1MEjDl9NTw==",
"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",