refactor: Adjust testimonial rotation interval in home.html

This commit is contained in:
Paul Gauthier 2025-03-19 10:11:26 -07:00 committed by Paul Gauthier (aider)
parent fadede7305
commit 0d85c06be2

View file

@ -663,7 +663,7 @@ aider --model gpt-4o --api-key openai=your-key-goes-here</pre>
document.addEventListener('DOMContentLoaded', function() { document.addEventListener('DOMContentLoaded', function() {
updateTestimonials(); updateTestimonials();
// Rotate testimonials every 30 seconds // Rotate testimonials
setInterval(function() { setInterval(function() {
// Remove first testimonial and add a random one from the remaining pool // Remove first testimonial and add a random one from the remaining pool
initialTestimonials.shift(); initialTestimonials.shift();
@ -682,7 +682,7 @@ aider --model gpt-4o --api-key openai=your-key-goes-here</pre>
} }
updateTestimonials(); updateTestimonials();
}, 30000); }, 3000);
}); });
</script> </script>