Skip to content

Commit 2b74a4f

Browse files
committed
Add switch to disable AOS animations
1 parent fdba659 commit 2b74a4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spock-website/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ <h3 class="text-xl font-semibold text-center mb-4 text-gray-100">Example Test Ou
287287
duration: 800, // Animation duration
288288
once: true, // Whether animation should happen only once - while scrolling down
289289
offset: 50, // Offset (in px) from the original trigger point
290+
disable: new URLSearchParams(window.location.search).get('disableaos') !== null,
290291
});
291292
</script>
292293

0 commit comments

Comments
 (0)