-
Notifications
You must be signed in to change notification settings - Fork 1
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 card #25
Event card #25
Conversation
src/app/page.tsx
Outdated
|
||
export default function Home() { | ||
return <div className="flex items-center justify-center h-screen"></div>; | ||
return ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember to remove the EventCard component here after you're done testing!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really great work guys, especially impressed by how the color of the number of volunteers changes depending on the number. Just one small thing, but An just added a a date to the EventsCard component which you can see on Figma. Could you add a date prop to the component of type "Date"? After that feel free to merge!
Description
Created an EventCard.tsx, which is our event card component, and styled the UI.
Issues
Resolve #12
Screenshots
Event Available:
Event Unavailable (volunteer limit reached):
Test
We placed the event card in the app's page.tsx in order to see it.
If the number of volunteers is equivalent to the max number of volunteers, the volunteer text will turn red.
Check the figma to ensure that the design matches.
Possible Downsides
Additional Documentations
https://tailwindcss.com/