Open
Description
Design
https://motiff.com/file/u4SEUg6y8Q4MmBbKBssdn33?nodeId=2%3A855&type=design
Description
We need to create a new component to display the festival timeline/progress information in a visually appealing way. The component should show the different stages of the festival with their respective dates and descriptions.
Component Details
Location
Create new components in packages/ui/src/components/EventTimeline/{EventTimelineCard,EventTimeline}.tsx
Props Interface
type Event = {
id: string;
title: string;
date: string;
description: string;
// status: 'upcoming' | 'current' | 'completed'; Handle this in the component
}
type EventTimelineProps = {
className?: string;
events: Event[];
}
Required Features
- Vertical timeline layout with connected stages
- Visual indicators for current, completed, and upcoming stages
- Responsive design that works well on mobile and desktop
Storybook Story
Create a story in packages/ui/src/components/EventTimeline/EventTimeline.stories.tsx
with the following variants:
- Default view
- Mobile view
Example Usage
<EventTimeline
events={[
{
id: 'application',
title: 'Application Period',
date: '1 - 31 March 2025',
description: 'Applications for festival participation will be accepted...',
},
// ... other events
]}
/>
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Progress