From bd84cc5c29075279fbb72fd87f791d5215ddee8d Mon Sep 17 00:00:00 2001 From: Bob Vandevliet Date: Mon, 7 Jul 2025 13:09:23 +0200 Subject: [PATCH 01/11] Adding dedicated contact page (WIP). --- public/contact.html | 36 ++++++++++++++++++++++++++++++++++++ public/includes/footer.html | 5 ++--- public/includes/nav.html | 2 +- public/index.html | 2 +- src/js/scripts.js | 23 ----------------------- 5 files changed, 40 insertions(+), 28 deletions(-) create mode 100644 public/contact.html diff --git a/public/contact.html b/public/contact.html new file mode 100644 index 0000000..e244165 --- /dev/null +++ b/public/contact.html @@ -0,0 +1,36 @@ + + + + + + + Vandevliet Aerial Shots + + + + + + + + + + + +
+ +
+ +
+
+

+ Stuur mij gerust een mailtje voor een vrijblijvend gesprek :) +

+
+ + +
+ + + + + \ No newline at end of file diff --git a/public/includes/footer.html b/public/includes/footer.html index f624eae..3ccd912 100644 --- a/public/includes/footer.html +++ b/public/includes/footer.html @@ -5,14 +5,13 @@
-

Contact

-

Bob Vandevliet

+

Bob Vandevliet

Gecertificeerd FPV-dronepiloot

bob@vandevliet-aerialshots.com -
Arnhem, Gelderland

+

Vandevliet Aerial Shots

KvK: 94567255
diff --git a/public/includes/nav.html b/public/includes/nav.html index d0a2539..8e7619d 100644 --- a/public/includes/nav.html +++ b/public/includes/nav.html @@ -18,7 +18,7 @@ Over mij

diff --git a/src/js/scripts.js b/src/js/scripts.js index 08bae19..245d017 100644 --- a/src/js/scripts.js +++ b/src/js/scripts.js @@ -1,24 +1,3 @@ -const highlightSectionFromHash = () => -{ - const { hash } = window.location; - - if (hash === '#contact') - { - const section = document.getElementById(hash.substring(1))?.parentElement;// .closest('section'); - - if (section) - { - setTimeout(() => - { - section.classList.add('scrollto-highlight'); - setTimeout(() => section.classList.remove('scrollto-highlight'), 1000); - }, 500); - } - } -}; - -window.addEventListener('hashchange', highlightSectionFromHash); - window.addEventListener('pageshow', () => { /** @@ -45,8 +24,6 @@ window.addEventListener('pageshow', () => refreshScrollLinkedPositioningEffect(); window.addEventListener('scroll', refreshScrollLinkedPositioningEffect); - - highlightSectionFromHash(); }); document.addEventListener('DOMContentLoaded', () => From 38bde95c5b373ca3f426f88f9fd2f7d38c2e7638 Mon Sep 17 00:00:00 2001 From: Bob Vandevliet <35454011+bvandevliet@users.noreply.github.com> Date: Wed, 17 Dec 2025 20:06:06 +0100 Subject: [PATCH 02/11] Simplified spacing and anchor handling. --- public/includes/footer.html | 4 ++-- public/index.html | 25 +++++++++++-------------- src/js/scripts.js | 9 ++++----- src/scss/styles.scss | 14 +++----------- 4 files changed, 20 insertions(+), 32 deletions(-) diff --git a/public/includes/footer.html b/public/includes/footer.html index 3ccd912..b309074 100644 --- a/public/includes/footer.html +++ b/public/includes/footer.html @@ -1,6 +1,6 @@ -