From 47060215e6f5e04e01d54eb711188cbdc8793320 Mon Sep 17 00:00:00 2001
From: DanielArturoAlejoAlvarez
Date: Thu, 16 Nov 2023 10:42:18 -0500
Subject: [PATCH] Update code
---
assets/js/app.js | 21 +++++++++++++++++++++
index.html | 4 ++--
2 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/assets/js/app.js b/assets/js/app.js
index 405e409..65a7f3b 100644
--- a/assets/js/app.js
+++ b/assets/js/app.js
@@ -48,6 +48,16 @@ gsap.from(".animate-membership", {
delay: 0.5,
});
+gsap.from(".animate-card-left", {
+ scrollTrigger: ".animate-card",
+ duration: 1,
+ opacity: 0,
+ x: -150,
+ y: -150,
+ stagger: 0.1,
+ delay: 0.2,
+ });
+
gsap.from(".animate-card", {
scrollTrigger: ".animate-card",
duration: 1,
@@ -57,6 +67,16 @@ gsap.from(".animate-card", {
delay: 0.2,
});
+gsap.from(".animate-card-right", {
+ scrollTrigger: ".animate-card",
+ duration: 1,
+ opacity: 0,
+ x: 150,
+ y: -150,
+ stagger: 0.1,
+ delay: 0.2,
+ });
+
gsap.from(".animate-work", {
scrollTrigger: ".animate-work",
duration: 1,
@@ -74,3 +94,4 @@ gsap.from(".animate-email", {
stagger: 0.25,
delay: 0.6,
});
+
diff --git a/index.html b/index.html
index 787e2a4..0414e8f 100644
--- a/index.html
+++ b/index.html
@@ -152,7 +152,7 @@ View Our Plans
Get started today and receive 25% off your first month
-
+
Portfolio
@@ -184,7 +184,7 @@ Ecommerce
Sign Up
-