From 414242a3d6d8b89dcc31fa4437367fb8d2502f3e Mon Sep 17 00:00:00 2001 From: Anjaliavv51 <154777864+Anjaliavv51@users.noreply.github.com> Date: Sat, 10 Aug 2024 12:05:32 +0530 Subject: [PATCH] Added reveal on scroll to comsp page #2810 --- assets/html/comsp.html | 1227 +++++++++++++++++++++++++++++++++++++--- assets/js/comsp.js | 8 + 2 files changed, 1166 insertions(+), 69 deletions(-) create mode 100644 assets/js/comsp.js diff --git a/assets/html/comsp.html b/assets/html/comsp.html index 4a10d957..8cd148fe 100644 --- a/assets/html/comsp.html +++ b/assets/html/comsp.html @@ -4,55 +4,40 @@ SwapReads - Comunity Spotlight - -
-

SwapReads

- -
-
-
+
+ +
+ + + + + + + + + + + +
+ + +
+ + + + + + + + +
+ + + +
+

Community Spotlight

Meet our active community members and explore their book recommendations

@@ -197,17 +715,587 @@

Mark Brown

-

© 2024 SwapReads. All rights reserved.

-
- - -
- - + + + + + +
+

+ © + All Rights Reserved. Made with ❤ by Guardian + Hackers. +

+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/js/comsp.js b/assets/js/comsp.js new file mode 100644 index 00000000..9474bb03 --- /dev/null +++ b/assets/js/comsp.js @@ -0,0 +1,8 @@ +ScrollReveal({ + //reset: true , + distance: '1000px', + duration: 2500, + delay: 400 + }); + ScrollReveal().reveal('.section__title ,.section__subtitle', { delay: 400, origin: 'left' }); + ScrollReveal().reveal('.spotlight__grid .spotlight__card', { delay: 700, origin: 'bottom' ,interval:300}); \ No newline at end of file