Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .gitignore

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

1 change: 0 additions & 1 deletion README.md

This file was deleted.

36 changes: 0 additions & 36 deletions assets/script.js
Original file line number Diff line number Diff line change
@@ -1,36 +0,0 @@
// Close the navbar menu on scroll
document.addEventListener("scroll", function () {
const navbarCollapse = document.querySelector(".navbar-collapse");
if (navbarCollapse.classList.contains("show")) {
const navbarToggler = document.querySelector(".navbar-toggler");
navbarToggler.click();
}
});

// Smooth scroll for navigation
document.querySelectorAll('a[href^="#"]').forEach((anchor) => {
anchor.addEventListener("click", function (e) {
e.preventDefault();
document.querySelector(this.getAttribute("href")).scrollIntoView({
behavior: "smooth",
});
});
});

// Set the current year in the footer
document.addEventListener("DOMContentLoaded", function () {
document.getElementById("currentYear").textContent = new Date().getFullYear();
});

document.addEventListener("DOMContentLoaded", function () {
var navbarCollapse = document.getElementById("navbarNav");
var navLinks = navbarCollapse.querySelectorAll(".nav-link");
var bsCollapse = new bootstrap.Collapse(navbarCollapse, { toggle: false });
navLinks.forEach(function (link) {
link.addEventListener("click", function () {
if (window.innerWidth < 768 && navbarCollapse.classList.contains("show")) {
bsCollapse.hide();
}
});
});
});
123 changes: 0 additions & 123 deletions assets/styles.css

This file was deleted.

Loading