Skip to content

chore:reusable components#2

Merged
Yunusabdul38 merged 2 commits into
MyFanss:mainfrom
Solomonsolomonsolomon:reusable_components
Apr 27, 2025
Merged

chore:reusable components#2
Yunusabdul38 merged 2 commits into
MyFanss:mainfrom
Solomonsolomonsolomon:reusable_components

Conversation

@Solomonsolomonsolomon
Copy link
Copy Markdown
Contributor

@Solomonsolomonsolomon Solomonsolomonsolomon commented Apr 27, 2025

Closes #1
This PR introduces a set of reusable form components built using Shadcn UI as the foundation.

Changes made:
Added a reusable Textarea component based on Shadcn's Textarea.
Added a reusable Label component based on Shadcn's Label.
Added a reusable Button component based on Shadcn's Button, supporting the following variants: default, ghost, success, failure, destructive, outline, secondary, and link.
Switched from npm to pnpm for package management, as it works better with Shadcn and offers improved install speed.

Tested all components directly in page.tsx to ensure proper rendering and functionality.
Ran npm run build

@Solomonsolomonsolomon Solomonsolomonsolomon marked this pull request as draft April 27, 2025 11:49
@Solomonsolomonsolomon Solomonsolomonsolomon marked this pull request as ready for review April 27, 2025 12:06
@Solomonsolomonsolomon
Copy link
Copy Markdown
Contributor Author

@Yunusabdul38 @aji70 PR is ready for review

@aji70
Copy link
Copy Markdown
Contributor

aji70 commented Apr 27, 2025

it would be reviewed shortly
mean while check out blockopoly it's a game you can find some more issues there

Copy link
Copy Markdown
Contributor

@Yunusabdul38 Yunusabdul38 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks for contributing to myFans

@Yunusabdul38 Yunusabdul38 merged commit 6c34137 into MyFanss:main Apr 27, 2025
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.

Implement reusable form components

3 participants