uioxs13's picture
一个名为One Solstice的互联网安全领域的解决方案领导者,个人产品为Arcane,企业级产品为Solstice Zero。主要是用于展示工作室
5aa6718 verified
Raw History Blame Contribute Delete
588 Bytes
document.addEventListener('DOMContentLoaded', () => {
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
// Dynamic year for footer
const yearElement = document.querySelector('#current-year');
if (yearElement) {
yearElement.textContent = new Date().getFullYear();
}
});