fix(hero): retire l'effet machine à écrire sur INTERNATIONALE
This commit is contained in:
@@ -277,24 +277,6 @@ function createNetworkLine() {
|
||||
// Initialize network lines
|
||||
createNetworkLine();
|
||||
|
||||
// Dynamic typing effect for hero subtitle
|
||||
const subtitle = document.querySelector('.hero-subtitle');
|
||||
if (subtitle) {
|
||||
const text = subtitle.textContent;
|
||||
subtitle.textContent = '';
|
||||
let index = 0;
|
||||
|
||||
function typeWriter() {
|
||||
if (index < text.length) {
|
||||
subtitle.textContent += text.charAt(index);
|
||||
index++;
|
||||
setTimeout(typeWriter, 100);
|
||||
}
|
||||
}
|
||||
|
||||
setTimeout(typeWriter, 800);
|
||||
}
|
||||
|
||||
// Add hover effect to project cards with tilt
|
||||
document.querySelectorAll('.project-card, .service-card').forEach(card => {
|
||||
card.addEventListener('mousemove', (e) => {
|
||||
|
||||
Reference in New Issue
Block a user