From 9feff8ed0b45ac0a632b506051c0a4c46505f1c9 Mon Sep 17 00:00:00 2001 From: Jesse Kramer Date: Wed, 29 May 2024 14:59:57 +0200 Subject: [PATCH 01/19] JK - Fixed jQuery error --- public/script/red.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/script/red.js b/public/script/red.js index b8585343..6f300522 100644 --- a/public/script/red.js +++ b/public/script/red.js @@ -165,12 +165,12 @@ window.addEventListener('resize', () => { //UGLY BUT IDK HOW TO DO IT BETTER }); }); -$(".footer").click(function(){ - window.scrollTo({ - top: "20%", - behavior: 'smooth', - }); - }); +document.querySelector(".footer").addEventListener("click", function() { + window.scrollTo({ + top: "20%", + behavior: 'smooth' + }); +}); /* Current day and month code */ From a51803b4b71ec201b85600a6e37c09f4de048f96 Mon Sep 17 00:00:00 2001 From: Jesse Kramer Date: Wed, 29 May 2024 15:04:41 +0200 Subject: [PATCH 02/19] JK - Added SVG to Themes --- views/partials/header.ejs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/views/partials/header.ejs b/views/partials/header.ejs index eaa4dada..c6270dc7 100644 --- a/views/partials/header.ejs +++ b/views/partials/header.ejs @@ -92,7 +92,20 @@ Nieuwsbrief -
+
+ + + + + + + + + + + + +