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

Create news and events carousel component #27

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

EdwardLinS
Copy link
Contributor

@EdwardLinS EdwardLinS commented Jan 20, 2025

Tracking Info

Resolves #16

Changes

  • Initialize tailwind to allow for use
  • Created 2 components
    • EventsCarouselCard component with custom event props to easily create new carousel cards
      • Props:
        header: string;
        dateCreated: string;
        body: string;
        thumbnail: string;
        thumbnailAlt?: string;
        learnMoreUrl: string;
        
    • EventsCarousel component with EventCarouselCards as children props and allows scrolling by left/right buttons

Testing

  • Tried various screen sizes
  • Checked the scrolling functionality with scroll wheel, touch, and left/right buttons

Confirmation of Change

Desktop/Tablet View
image
image

Mobile View
image

@EdwardLinS EdwardLinS linked an issue Jan 20, 2025 that may be closed by this pull request
@EdwardLinS EdwardLinS marked this pull request as ready for review January 20, 2025 02:26
@EdwardLinS EdwardLinS requested a review from mraysu as a code owner January 20, 2025 02:26
@mraysu mraysu requested a review from NumaanFormoli January 21, 2025 17:33
mraysu
mraysu previously approved these changes Jan 25, 2025
Copy link
Collaborator

@mraysu mraysu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

@EdwardLinS EdwardLinS requested a review from mraysu January 26, 2025 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[COMPONENT] News and Events Carousel
2 participants