Added Figma design and initial navbar work

This commit is contained in:
jme9
2024-11-30 17:01:43 -08:00
parent 4a79e97da7
commit 0c40ea93a9
6 changed files with 166 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
document.querySelectorAll('.nav-link').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});