feat: Lenis smooth scroll (Framer-kompatibel, intensity=10)
Ersetzt html { scroll-behavior: smooth } durch Lenis v1.1.13 mit duration=1.0,
entspricht Framers SmoothScroll_Prod.js (intensity=10/10). Lenis bringt Anchor-
Handling und data-lenis-prevent seit v1.1 intern mit. Vendor-JS unter
public/custom/vendor/ (gleiche Ablage wie canvas-confetti).
This commit is contained in:
1 parent
fa993489f6
commit
b5d6a7f6e4
22 files changed
+32
-20
No files matched your search
@@ -134,7 +134,7 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="custom/transitions.js"></script>
|
||||
<script src="custom/vendor/lenis.min.js"></script><script src="custom/smooth-scroll.js"></script>&<script src="custom/transitions.js"></script>
|
||||
<script src="custom/seo-config.js"></script>
|
||||
<script src="custom/seo.js"></script>
|
||||
</body>
|
||||
|
||||
Reference in new issue
Block a user