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 card #25

Merged
merged 10 commits into from
Nov 7, 2024
Merged

Event card #25

merged 10 commits into from
Nov 7, 2024

Conversation

hanahkim1
Copy link
Collaborator

Description

Created an EventCard.tsx, which is our event card component, and styled the UI.

Issues

Resolve #12

Screenshots

Event Available:
image

Event Unavailable (volunteer limit reached):
image

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

  • Currently the number of volunteers must be manually inputted, and can be a number greater than the maximum number of volunteers
  • The button has no functionality

Additional Documentations

https://tailwindcss.com/

@hanahkim1 hanahkim1 marked this pull request as ready for review November 4, 2024 20:11
@hanahkim1 hanahkim1 marked this pull request as draft November 4, 2024 20:20
@tomasmaranga tomasmaranga marked this pull request as ready for review November 4, 2024 20:25
src/app/page.tsx Outdated

export default function Home() {
return <div className="flex items-center justify-center h-screen"></div>;
return (
Copy link
Collaborator

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!

Copy link
Collaborator

@wkim10 wkim10 left a 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!

@hanahkim1 hanahkim1 merged commit c7cae36 into main Nov 7, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

[Frontend] EventCard
3 participants