diff --git a/index.html b/index.html index e135204..1e7df22 100644 --- a/index.html +++ b/index.html @@ -48,7 +48,7 @@ - +
@@ -104,9 +104,8 @@

- - + \ No newline at end of file diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..a3b58fe --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "module": "ESNext", + "moduleResolution": "Bundler", + "target": "ES2020", + "jsx": "react", + "allowImportingTsExtensions": true, + "strictNullChecks": true, + "strictFunctionTypes": true + }, + "exclude": [ + "node_modules", + "**/node_modules/*" + ] +} \ No newline at end of file diff --git a/scripts/distribute_images.js b/scripts/distribute_images.js index 1c234be..6dc4b3d 100644 --- a/scripts/distribute_images.js +++ b/scripts/distribute_images.js @@ -5,21 +5,20 @@ const images = [ '/assets/images/P1070333-Enhanced-RD Large.jpeg', '/assets/images/DSCF4744-Enhanced-RD Large.jpeg', '/assets/images/P1070384-Enhanced-RD Large.jpeg', - '/assets/images/DSC09328-Enhanced-NR Large.jpeg', '/assets/images/P1070444 Large.jpeg', '/assets/images/DSCF4570-Enhanced-RD-2 Large.jpeg', + '/assets/images/DSC09328-Enhanced-NR Large.jpeg', '/assets/images/P1070347-Enhanced-RD Large.jpeg', - '/assets/images/DSCF4602-Enhanced-RD-2 Large.jpeg', '/assets/images/P1070303-Enhanced-RD Large.jpeg', + '/assets/images/DSCF4602-Enhanced-RD-2 Large.jpeg', '/assets/images/DSC08987 Large.jpeg', - '/assets/images/DSC08870 Large.jpeg', '/assets/images/DSC09061 Large.jpeg', - '/assets/images/DSCF4667-Enhanced-RD Large.jpeg', + '/assets/images/DSC08870 Large.jpeg', + // '/assets/images/DSCF4667-Enhanced-RD Large.jpeg', '/assets/images/DSCF4310-Enhanced-RD Large.jpeg', ]; const twoColumnThreshold = 768; - const threeColumnThreshold = 1024; // Function to distribute images into columns @@ -55,6 +54,5 @@ function distributeImages() { // Initial distribution distributeImages(); - // Redistribute images on window resize window.addEventListener('resize', distributeImages); diff --git a/scripts/fade_in.js b/scripts/fade_in.js index e38cde3..dd322bf 100644 --- a/scripts/fade_in.js +++ b/scripts/fade_in.js @@ -2,13 +2,4 @@ document.addEventListener("DOMContentLoaded", function () { const body = document.querySelector("body"); body.classList.remove("opacity-0"); body.classList.add("opacity-100"); - const photos = document.querySelectorAll("img"); - let delay = 0; - photos.forEach((photo) => { - setTimeout(() => { - photo.classList.remove("opacity-0"); - photo.classList.add("opacity-100"); - }, delay); - delay += 100; - }); }); diff --git a/scripts/menu.js b/scripts/menu.js deleted file mode 100644 index 5bdb376..0000000 --- a/scripts/menu.js +++ /dev/null @@ -1,6 +0,0 @@ -// Getting hamburger menu in small screens -const menu = document.getElementById("menu"); - -function menuToggle() { - menu.classList.toggle("h-32"); -}