diff --git a/css/style.css b/css/style.css index 0a9cd6d..b102ffc 100644 --- a/css/style.css +++ b/css/style.css @@ -430,7 +430,7 @@ p { .project-card--4 { background-image: linear-gradient(rgba(11, 21, 50, 0.75)), - url("/img/client-img/cosmicallycreative.jpg"); + url("/img/client-img/hopefoodpantry.jpg"); } .project-card-link:link, diff --git a/img/client-img/hopefoodpantry.jpg b/img/client-img/hopefoodpantry.jpg new file mode 100644 index 0000000..a0cd698 Binary files /dev/null and b/img/client-img/hopefoodpantry.jpg differ diff --git a/index.html b/index.html index d984cbc..1910ddc 100644 --- a/index.html +++ b/index.html @@ -246,12 +246,12 @@
-

This website!

+

Hope Food Pantry

HTML, CSS, and JS
diff --git a/manifest.webmanifest b/manifest.webmanifest index f6c9377..92c225f 100644 --- a/manifest.webmanifest +++ b/manifest.webmanifest @@ -1,6 +1,14 @@ { "icons": [ - { "src": "img/favicon-192.webp", "type": "image/png", "sizes": "192x192" }, - { "src": "img/favicon-512.webp", "type": "image/png", "sizes": "512x512" } + { + "src": "img/favicons/favicon-192.webp", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "img/favicons/favicon-512.webp", + "type": "image/png", + "sizes": "512x512" + } ] } diff --git a/script.js b/script.js index 1de20fa..ef38f5d 100644 --- a/script.js +++ b/script.js @@ -8,6 +8,14 @@ btnNavEl.addEventListener("click", function () { headerEl.classList.toggle("nav-open"); }); +const navLinks = document.querySelectorAll(".main-nav-link"); + +navLinks.forEach((link) => { + link.addEventListener("click", () => { + headerEl.classList.remove("nav-open"); + }); +}); + // Scroll Animations document.addEventListener("DOMContentLoaded", () => { const observerOptions = { root: null, rootMargin: "0px", threshold: 0.5 };