Voting Event Manager - Copy this React, Tailwind Component to your project
Whene i click in the Creat a new event ite should show to me ( VotingEventForm component in React, which is a multi step modal form for creating a voting event. Here's what the code does Form Structure * The form has two steps: * Step 1: Event Details (title, description, start/end dates ( it should the start date before the end date ) and the time( the time for the start should be before the end ( and ablest 30 between them ) options ( min 2 op) ). * Step 2: User Selection ( name , ID , department) (filter by department dropdoun Manu for all the departments in the system , select users and (serchpare) , and manage selected users ( select all , delete all ) after select the user it go to the selection users ) Ok can you add to the Voting Events Dashboard (Upcoming Events Section ( the admin can ( modfy , delet ) , In Progress Events Section ( these section show the votes % and count for the options ), Finished Events Results Section ( show the Total Votes in this event and the isWinner and the % and count for the options sorted ) and a more butten to show more ditels ( how the users did vote in this event )
