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

feat: add highlighed vote component #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

derianrddev
Copy link

📝 Add Highlighted Vote Component

🛠️ Issue

📖 Description

  • This PR introduces the Highlighted Vote component, which displays the poll's question, category, number of votes, and comments. This component was designed following the provided image and color palette.

✅ Changes made

  • Implemented the HighlightedVote component.
  • Utilized the Badge and Card components from shadcn/ui.
  • The component accepts the following props:
    • question: The poll question (e.g., "What type of art is this?").
    • category: The category of the poll (e.g., "Painting").
    • votes: Number of votes the poll has received.
    • comments: Number of comments on the poll.
  • Styled the component to match the provided design specifications and color palette.
  • Integrated the component into the home page for testing and demonstration purposes.

🖼️ Media (screenshots/videos)

https://www.loom.com/share/e19f462135464017980e8bfb52c5728b?sid=1c1cd3c0-c4e6-47c5-bc54-435a4ed509f5

image

image

📜 Additional Notes

  • Thank you very much for the issue.

@derianrddev derianrddev force-pushed the feat-add-highlighted-vote-component branch from bcc4cd4 to 3add85e Compare December 14, 2024 04:37
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.

Create Highlighted votes component
1 participant