From 6b5be9e3c745316e917354525a2af8a85be5793b Mon Sep 17 00:00:00 2001 From: abhinav-m22 Date: Sun, 21 May 2023 12:36:51 +0530 Subject: [PATCH] Animations --- package-lock.json | 3 ++- src/components/HomeOurValues/OurValues1.tsx | 6 +++--- src/components/HomeOurValues/Values.css | 13 +++++++++++++ 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index eeea927..ad1943d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,8 @@ "dayjs": "^1.11.7", "dotenv": "^16.0.3", "dotenv-webpack": "^8.0.1", - "embla-carousel-react": "^7.1.0", + "embla-carousel-react": "^7.0.9", + "firebase": "^9.17.2", "google-map-react": "^2.2.0", "mapbox-gl": "^2.13.0", "react": "^18.2.0", diff --git a/src/components/HomeOurValues/OurValues1.tsx b/src/components/HomeOurValues/OurValues1.tsx index 1a21fc7..c523a66 100644 --- a/src/components/HomeOurValues/OurValues1.tsx +++ b/src/components/HomeOurValues/OurValues1.tsx @@ -7,14 +7,14 @@ function OurValues1() {

OUR VALUES


-
+

Empowerment


We prioritize empowering individuals and communities to take control of their own lives and work towards positive change.

-
+

Collaboration


@@ -22,7 +22,7 @@ function OurValues1() {

-
+

Growth


diff --git a/src/components/HomeOurValues/Values.css b/src/components/HomeOurValues/Values.css index 3aee0b5..e6a899f 100644 --- a/src/components/HomeOurValues/Values.css +++ b/src/components/HomeOurValues/Values.css @@ -75,3 +75,16 @@ margin-left: 0rem; } } + +@keyframes fadeIn { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + +.fade-in-image{ + animation: fadeIn 2s; +}