Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event Carousel #8544

Open
linear bot opened this issue May 12, 2024 · 2 comments
Open

Event Carousel #8544

linear bot opened this issue May 12, 2024 · 2 comments

Comments

@linear
Copy link

linear bot commented May 12, 2024

No description provided.

Copy link
Author

linear bot commented May 12, 2024

HIG-4644 Event Carousel

Copy link

greptile-apps bot commented May 12, 2024

To implement or modify the event carousel, focus on the FeatureCarousel.tsx and CarouselCard.tsx within /highlight.io/components/Home/FeatureCarousel.

  1. FeatureCarousel.tsx: Manages the carousel's state and overall functionality. Use useState and useEmblaCarousel for state management and carousel functionality. Modify the div that contains the carousel and its settings here.

  2. CarouselCard.tsx: Handles the rendering of individual carousel cards. Adjustments to how each event or feature is displayed within the carousel should be made here. Pay attention to the dynamic class names and conditional rendering based on the feature object properties for customization.

These files are key to customizing the carousel's behavior and appearance.

References

/highlight.io/components/Home/FeatureCarousel

Ask Greptile

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

No branches or pull requests

0 participants