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
@@ -345,7 +345,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=1781096396747&amp;forceShow=true" aria-hidden="true" allow="autoplay" tabindex="-1" class="status_visually_hidden"></iframe></body> <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=1781096396747&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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</html> </html>
+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=1781096353210&amp;forceShow=true" aria-hidden="true" allow="autoplay" tabindex="-1" class="status_visually_hidden"></iframe></body> <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=1781096353210&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-config.js"></script>
<script src="../custom/seo.js"></script> <script src="../custom/seo.js"></script>
</html> </html>
+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> <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-config.js"></script>
<script src="../custom/seo.js"></script> <script src="../custom/seo.js"></script>
</html> </html>
+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=1781096345834&amp;forceShow=true" aria-hidden="true" allow="autoplay" tabindex="-1" class="status_visually_hidden"></iframe></body> <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=1781096345834&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-config.js"></script>
<script src="../custom/seo.js"></script> <script src="../custom/seo.js"></script>
</html> </html>
+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=1781096366976&amp;forceShow=true" aria-hidden="true" allow="autoplay" tabindex="-1" class="status_visually_hidden"></iframe></body> <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=1781096366976&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-config.js"></script>
<script src="../custom/seo.js"></script> <script src="../custom/seo.js"></script>
</html> </html>
+1 -1
View File
@@ -39,7 +39,7 @@
<p>Hier schreibe ich bald über Shootings, Hintergründe und alles, was neben der Kamera passiert.</p> <p>Hier schreibe ich bald über Shootings, Hintergründe und alles, was neben der Kamera passiert.</p>
<p><a href="./">← Zurück zur Startseite</a></p> <p><a href="./">← Zurück zur Startseite</a></p>
</main> </main>
<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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</body> </body>
+10
View File
@@ -0,0 +1,10 @@
// Smooth scroll via Lenis. Ersetzt Framers SmoothScroll_Prod.js-Modul
// (intensity=10 → duration=1.0). Lenis macht Anchor-Handling + data-lenis-prevent
// seit v1.1 intern; MutationObserver für [data-frameruni-stop-scroll] ist auf dem
// statischen Export nirgends aktiv, also weggelassen.
(function () {
if (typeof Lenis !== 'function') return;
const lenis = new Lenis({ duration: 1.0 });
function raf(time) { lenis.raf(time); requestAnimationFrame(raf); }
requestAnimationFrame(raf);
})();
+2
View File
@@ -0,0 +1,2 @@
!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(t="undefined"!=typeof globalThis?globalThis:t||self).Lenis=i()}(this,(function(){"use strict";function clamp(t,i,e){return Math.max(t,Math.min(i,e))}class Animate{constructor(){this.isRunning=!1,this.value=0,this.from=0,this.to=0,this.currentTime=0}advance(t){var i;if(!this.isRunning)return;let e=!1;if(this.duration&&this.easing){this.currentTime+=t;const i=clamp(0,this.currentTime/this.duration,1);e=i>=1;const s=e?1:this.easing(i);this.value=this.from+(this.to-this.from)*s}else this.lerp?(this.value=function damp(t,i,e,s){return function lerp(t,i,e){return(1-e)*t+e*i}(t,i,1-Math.exp(-e*s))}(this.value,this.to,60*this.lerp,t),Math.round(this.value)===this.to&&(this.value=this.to,e=!0)):(this.value=this.to,e=!0);e&&this.stop(),null===(i=this.onUpdate)||void 0===i||i.call(this,this.value,e)}stop(){this.isRunning=!1}fromTo(t,i,{lerp:e,duration:s,easing:o,onStart:n,onUpdate:l}){this.from=this.value=t,this.to=i,this.lerp=e,this.duration=s,this.easing=o,this.currentTime=0,this.isRunning=!0,null==n||n(),this.onUpdate=l}}class Dimensions{constructor(t,i,{autoResize:e=!0,debounce:s=250}={}){this.wrapper=t,this.content=i,this.width=0,this.height=0,this.scrollHeight=0,this.scrollWidth=0,this.resize=()=>{this.onWrapperResize(),this.onContentResize()},this.onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)},this.onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)},e&&(this.debouncedResize=function debounce(t,i){let e;return function(...s){let o=this;clearTimeout(e),e=setTimeout((()=>{e=void 0,t.apply(o,s)}),i)}}(this.resize,s),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){var t,i;null===(t=this.wrapperResizeObserver)||void 0===t||t.disconnect(),null===(i=this.contentResizeObserver)||void 0===i||i.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}}class Emitter{constructor(){this.events={}}emit(t,...i){var e;let s=this.events[t]||[];for(let t=0,o=s.length;t<o;t++)null===(e=s[t])||void 0===e||e.call(s,...i)}on(t,i){var e;return(null===(e=this.events[t])||void 0===e?void 0:e.push(i))||(this.events[t]=[i]),()=>{var e;this.events[t]=null===(e=this.events[t])||void 0===e?void 0:e.filter((t=>i!==t))}}off(t,i){var e;this.events[t]=null===(e=this.events[t])||void 0===e?void 0:e.filter((t=>i!==t))}destroy(){this.events={}}}const t=100/6,i={passive:!1};class VirtualScroll{constructor(e,s={wheelMultiplier:1,touchMultiplier:1}){this.element=e,this.options=s,this.touchStart={x:0,y:0},this.lastDelta={x:0,y:0},this.window={width:0,height:0},this.emitter=new Emitter,this.onTouchStart=t=>{const{clientX:i,clientY:e}=t.targetTouches?t.targetTouches[0]:t;this.touchStart.x=i,this.touchStart.y=e,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:t})},this.onTouchMove=t=>{const{clientX:i,clientY:e}=t.targetTouches?t.targetTouches[0]:t,s=-(i-this.touchStart.x)*this.options.touchMultiplier,o=-(e-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=i,this.touchStart.y=e,this.lastDelta={x:s,y:o},this.emitter.emit("scroll",{deltaX:s,deltaY:o,event:t})},this.onTouchEnd=t=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:t})},this.onWheel=i=>{let{deltaX:e,deltaY:s,deltaMode:o}=i;e*=1===o?t:2===o?this.window.width:1,s*=1===o?t:2===o?this.window.height:1,e*=this.options.wheelMultiplier,s*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:e,deltaY:s,event:i})},this.onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}},window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,i),this.element.addEventListener("touchstart",this.onTouchStart,i),this.element.addEventListener("touchmove",this.onTouchMove,i),this.element.addEventListener("touchend",this.onTouchEnd,i)}on(t,i){return this.emitter.on(t,i)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,i),this.element.removeEventListener("touchstart",this.onTouchStart,i),this.element.removeEventListener("touchmove",this.onTouchMove,i),this.Line truncated
//# sourceMappingURL=lenis.min.js.map
+1 -1
View File
@@ -252,7 +252,7 @@
</div> </div>
</footer> </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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</body> </body>
+1 -1
View File
@@ -140,7 +140,7 @@
</div> </div>
</footer> </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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</body> </body>
+1 -1
View File
@@ -323,7 +323,7 @@
<script src="custom/vendor/canvas-confetti.min.js"></script> <script src="custom/vendor/canvas-confetti.min.js"></script>
<script src="custom/tiefenflug.js"></script> <script src="custom/tiefenflug.js"></script>
<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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
<script> <script>
+1 -1
View File
@@ -141,7 +141,7 @@
</div> </div>
</footer> </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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</body> </body>
+1 -1
View File
@@ -184,7 +184,7 @@
</div> </div>
</footer> </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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</body> </body>
+1 -1
View File
@@ -136,7 +136,7 @@
</div> </div>
</footer> </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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</body> </body>
+1 -1
View File
@@ -132,7 +132,7 @@
</div> </div>
</footer> </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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</body> </body>
+1 -1
View File
@@ -135,7 +135,7 @@
</div> </div>
</footer> </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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</body> </body>
+1 -1
View File
@@ -131,7 +131,7 @@
</div> </div>
</footer> </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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</body> </body>
+1 -1
View File
@@ -133,7 +133,7 @@
</div> </div>
</footer> </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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</body> </body>
@@ -130,7 +130,7 @@
</div> </div>
</footer> </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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</body> </body>
+1 -1
View File
@@ -130,7 +130,7 @@
</div> </div>
</footer> </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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</body> </body>
+1 -1
View File
@@ -134,7 +134,7 @@
</div> </div>
</footer> </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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</body> </body>
+1 -1
View File
@@ -166,7 +166,7 @@
</div> </div>
</footer> </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-config.js"></script>
<script src="custom/seo.js"></script> <script src="custom/seo.js"></script>
</body> </body>