Skip to content

Conversation

@Biki-dev
Copy link

@Biki-dev Biki-dev commented Dec 3, 2025

Summary

Improves the LandingSweetSpot section on the homepage by making the right-side preview update immediately when hovering any item (Tables, List, Charts, Forms, Wizards, Authentication). This also pauses the auto-rotation while hovering for better control and user experience.

Before

  • The right-side UI/code preview did not change immediately when hovering.
  • Hovering only affected the left-side button styles, not the actual content.

After

  • Hovering an item instantly updates the right-side preview.
  • Auto-rotation pauses while hovering for better interaction control.
fix.mp4

Changes

  • Updated LandingSweetSpot.tsx:
    • Add isHovering state to pause auto-rotation.
    • Update activeIndex on hover.
    • Prevent interval from running during hover.
    • Maintains smooth fade/slide animations with framer-motion.

@Biki-dev Biki-dev requested a review from a team as a code owner December 3, 2025 10:50
@changeset-bot
Copy link

changeset-bot bot commented Dec 3, 2025

⚠️ No Changeset found

Latest commit: d59a39c

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.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

@Biki-dev
Copy link
Author

Biki-dev commented Dec 3, 2025

This PR modifies documentation only (Docusaurus), so no changeset is required. Ready for review.
@BatuhanW @aliemir

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.

1 participant