build: add -ldl linker flag, recursive source discovery, and API test targets to Makefile
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// Main JavaScript file for future enhancements
|
||||
|
||||
// Example: Smooth scroll for navigation links
|
||||
document.querySelectorAll('nav a').forEach(link => {
|
||||
link.addEventListener('click', function(e) {
|
||||
e.preventDefault();
|
||||
document.querySelector(this.getAttribute('href')).scrollIntoView({ behavior: 'smooth' });
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user