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:
Leon Tonhäuser committed 2026-06-17 15:09:40 +02:00
1 parent fa993489f6
commit b5d6a7f6e4
22 files changed
+32 -20

No files matched your search

+1 -1
View File
@@ -347,7 +347,7 @@
<div id="__framer-editorbar-container" dir="ltr" style="right: 10px; top: calc(-15px + 50vh); transform: translate(0px, 0px); transition: transform 100ms cubic-bezier(0.2, 0, 0, 1); cursor: pointer;"><span aria-label="Edit Framer Content" id="__framer-editorbar-label" style="right: 40px;">Edit Content</span><button type="button" aria-labelledby="__framer-editorbar-label" id="__framer-editorbar-button"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="none"><path d="M8.75 2.25a1.77 1.77 0 0 1 2.5 0h0c.69.69.69 1.81 0 2.5l-7 7h-2.5v-2.5Z" fill="transparent" stroke-width="1.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 11.75h3.75" fill="transparent" stroke-width="1.5" stroke="currentColor" stroke-linecap="round"></path></svg></button></div><iframe id="__framer-editorbar" src="https://framer.com/edit?framerSiteId=4502e3637824008d6522cbff7279027331ac97d631ba027929477f332afb3b2e&amp;source=personal-information-818164.framer.app&amp;features=%7B%22editorBarDisableFrameAncestorsSecurity%22%3Afalse%2C%22onPageLocalizationSupport%22%3Atrue%2C%22onPageMoveTool%22%3Atrue%7D&amp;loadStart=1781096359409&amp;forceShow=true" aria-hidden="true" allow="autoplay" tabindex="-1" class="status_visually_hidden"></iframe></body>
<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>
</html>