Closed memoyil closed 1 day ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 19, 2024 11:20am |
Latest commit: c5eab1758d7aafaf11398e434cce1ff32a4ff75c
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
PR-Codex overview
This PR enhances the
AdCard
component inCard.tsx
by adding state management for animation triggers based on theisExpanded
prop, improving the animation behavior for expanding and collapsing the card.Detailed summary
useState
forisExpandTriggered
to manage animation triggers.useEffect
to setisExpandTriggered
whenisExpanded
changes.isExpandTriggered
for conditional animations.