Skip to content

Update javascript for six cards#2

Draft
gonas0919 wants to merge 2 commits intomainfrom
cursor/update-javascript-for-six-cards-4908
Draft

Update javascript for six cards#2
gonas0919 wants to merge 2 commits intomainfrom
cursor/update-javascript-for-six-cards-4908

Conversation

@gonas0919
Copy link
Owner

Add a 6th card to the HTML and update the JavaScript to support its animation.

The existing GSAP animations were designed for 5 cards. To accommodate the new 6th card, the spreadX and spreadRotate arrays in the JavaScript were adjusted to correctly position and animate all 6 cards in both the hero and services sections, ensuring the layout remains symmetrical and the animations function as intended.


Open in Cursor Open in Web

Learn more about Cursor Agents

cursoragent and others added 2 commits July 30, 2025 15:27
Co-authored-by: nhjangh <nhjangh@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants