mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
refactor: Adjust testimonial rotation interval in home.html
This commit is contained in:
parent
fadede7305
commit
0d85c06be2
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue