Public Access
1
0

more tweaks, formatting

This commit is contained in:
2025-08-06 20:29:03 -04:00
parent 3f6a319565
commit f02ff70ff3
10 changed files with 357 additions and 303 deletions

View File

@@ -8,6 +8,29 @@ if (mobileMenuButton && mobileMenu) {
});
}
// Typewriter Effect
const typewriterElement = document.getElementById('typewriter');
const text = "Specializing in ISP Environments";
let index = 0;
let isDeleting = false;
function type() {
const currentText = text.substring(0, index);
typewriterElement.textContent = currentText;
if (!isDeleting && index < text.length) {
index++;
setTimeout(type, 100);
} else {
// Keep the full text visible
}
}
// Start typing effect on load
document.addEventListener('DOMContentLoaded', () => {
setTimeout(type, 500);
});
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="/#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
@@ -32,4 +55,4 @@ document.querySelectorAll('a[href^="/#"]').forEach(anchor => {
mobileMenu.classList.add('hidden');
}
});
});
});