Skip to content

Commit

Permalink
Merge pull request #4 from offiongbassey/ft/deployment
Browse files Browse the repository at this point in the history
Deployment issue fixed
  • Loading branch information
offiongbassey authored Sep 25, 2024
2 parents 0b24745 + 06ddd67 commit 43ee214
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/home/ProjectSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const ProjectSection = () => {
const yValues = [-10, -10, -10];

gsap.utils.toArray(".project-row").forEach((row, index) => {
const cardLeft = row.querySelector(".project-left") as HTMLElement;
const cardRight = row.querySelector(".project-right") as HTMLElement;
const cardLeft = (row as HTMLElement).querySelector(".project-left") as HTMLElement;
const cardRight = (row as HTMLElement).querySelector(".project-right") as HTMLElement;

gsap.to(cardLeft, {
x: leftXValues[index],
Expand Down
4 changes: 2 additions & 2 deletions src/components/home/StackSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const StackSection = () => {
const yValues = [100, -150, -400];

gsap.utils.toArray(".row").forEach((row, index) => {
const cardLeft = row.querySelector(".card-left") as HTMLElement;
const cardRight = row.querySelector(".card-right") as HTMLElement;
const cardLeft = (row as HTMLElement).querySelector(".card-left") as HTMLElement;
const cardRight = (row as HTMLElement).querySelector(".card-right") as HTMLElement;

gsap.to(cardLeft, {
x: leftXValues[index],
Expand Down

0 comments on commit 43ee214

Please sign in to comment.