From 69c20d530fa4a443a9ee6f06d84c12b4920b621a Mon Sep 17 00:00:00 2001 From: Shruti Swarupa Dhar <125943681+Shr-reny@users.noreply.github.com> Date: Thu, 22 Jun 2023 12:33:21 +0530 Subject: [PATCH 1/7] Update main.js --- assets/js/main.js | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/assets/js/main.js b/assets/js/main.js index 045c318..d03958d 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -324,4 +324,23 @@ const boxes = document.querySelectorAll('#services .col-lg-6 .box'); box.addEventListener('click',function(){ box.classList.toggle('is-flipped'); }) -}) \ No newline at end of file +}) + + +//Gallery + +let index = 0; +displayImages(); +function displayImages() { + let i; + const images = document.getElementsByClassName("image"); + for (i = 0; i < images.length; i++) { + images[i].style.display = "none"; + } + index++; + if (index > images.length) { + index = 1; + } + images[index-1].style.display = "block"; + setTimeout(displayImages, 2000); +} From f8d0db56b3a8cc8073d073dd47f7636005d932d8 Mon Sep 17 00:00:00 2001 From: Shruti Swarupa Dhar <125943681+Shr-reny@users.noreply.github.com> Date: Thu, 22 Jun 2023 12:34:16 +0530 Subject: [PATCH 2/7] Update style.css --- assets/css/style.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/assets/css/style.css b/assets/css/style.css index ea7a1bc..69da9b8 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -662,6 +662,29 @@ section { } } + + +/*Gallery Section +---------------------------*/ +.image-slideshow { +max-width: 700px; +position: relative; +margin: auto; +} +.image-slideshow img { +width: 100% +} +.fade { +animation-name: fade; +animation-duration: 2s; +} +@keyframes fade { +from {opacity: .5} +to {opacity: 1} +} + + + /* Testimonials Section --------------------------------*/ From 8166b1511b1fc5afcd4e7386ea98c443094eb236 Mon Sep 17 00:00:00 2001 From: Shruti Swarupa Dhar <125943681+Shr-reny@users.noreply.github.com> Date: Thu, 22 Jun 2023 12:35:16 +0530 Subject: [PATCH 3/7] Update index.html --- index.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/index.html b/index.html index bf71f2d..dbc03bd 100644 --- a/index.html +++ b/index.html @@ -302,6 +302,34 @@

Guidance

+ + +
+
+
+

Gallery

+

A few snapshots from our community meetings and sessions.

+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ + + + +
From dab3b5058609545d0cfda59de41ea45b99b0ff9a Mon Sep 17 00:00:00 2001 From: Shruti Swarupa Dhar <125943681+Shr-reny@users.noreply.github.com> Date: Thu, 22 Jun 2023 12:37:32 +0530 Subject: [PATCH 4/7] Update main.js --- assets/js/main.js | 1 - 1 file changed, 1 deletion(-) diff --git a/assets/js/main.js b/assets/js/main.js index d03958d..72f1e89 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -326,7 +326,6 @@ const boxes = document.querySelectorAll('#services .col-lg-6 .box'); }) }) - //Gallery let index = 0; From fd4d00d2b06e6940db1fb9d05d22a2b5b8122cd7 Mon Sep 17 00:00:00 2001 From: Shruti Swarupa Dhar <125943681+Shr-reny@users.noreply.github.com> Date: Sat, 24 Jun 2023 10:40:07 +0530 Subject: [PATCH 5/7] Update index.html --- index.html | 46 +++++++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 19 deletions(-) diff --git a/index.html b/index.html index dbc03bd..19cf3dc 100644 --- a/index.html +++ b/index.html @@ -302,31 +302,39 @@

Guidance

- - -
-
+ + +