This commit is contained in:
Oliver
2025-07-29 11:45:48 -03:00
parent 2e12c7e685
commit cd25240ad1
5 changed files with 84 additions and 3 deletions

View File

@@ -32,3 +32,16 @@ if (slides.length > 0) {
setInterval(nextSlide, 10000);
}
function toggleContent(button) {
const teaser = button.parentElement;
const fullContent = teaser.querySelector('.blog-full-content');
if (fullContent.style.display === 'none') {
fullContent.style.display = 'block';
button.textContent = 'Read Less';
} else {
fullContent.style.display = 'none';
button.textContent = 'Read More';
}
}