Use Lenis to use smooth scroll to anchors

This commit is contained in:
2022-09-19 20:09:28 +02:00
parent f37a84d4f3
commit 486213ac77
7 changed files with 80 additions and 129 deletions

View File

@@ -15,7 +15,7 @@
"lint": "eslint --ignore-path .gitignore ."
},
"dependencies": {
"@studio-freight/lenis": "^0.2.2",
"@studio-freight/lenis": "^0.2.4",
"dayjs": "^1.11.5",
"embla-carousel": "^7.0.3",
"focus-visible": "^5.2.0",
@@ -26,12 +26,12 @@
"tweakpane": "^3.1.0"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^1.0.0-next.75",
"@sveltejs/adapter-auto": "^1.0.0-next.76",
"@sveltejs/adapter-node": "^1.0.0-next.92",
"@sveltejs/adapter-vercel": "^1.0.0-next.76",
"@sveltejs/kit": "^1.0.0-next.484",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"@sveltejs/kit": "^1.0.0-next.487",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"base-64": "^1.0.0",
"browserslist": "^4.21.4",
"cssnano": "^5.1.13",
@@ -48,7 +48,7 @@
"svelte-preprocess": "^4.10.7",
"tslib": "^2.4.0",
"typescript": "^4.8.3",
"vite": "^3.1.2"
"vite": "^3.1.3"
},
"type": "module",
"browserslist": [