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 link button to share component #86

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

raphaelcunha
Copy link

@raphaelcunha raphaelcunha commented Nov 18, 2024

This pull request includes several changes to improve the functionality and user experience of the demo components.

The most significant changes is copy link of component and share if other people.

Google.Chrome.mp4

The some others significants changes involve the addition of new components, refactoring existing components, and enhancing the styling and behavior of the UI elements.

New Components:

  • demo/card-component.tsx: Introduced a new CardComponent to encapsulate the component display logic, including selection state and scrolling behavior.
  • demo/name-component.tsx: Added a NameComponent to display the component name within the card, with conditional styling based on selection state.
  • demo/link-button.tsx: Created a ShareButton to allow users to copy the link to a specific component, with visual feedback on copy action.

Refactoring:

  • demo/demo-component.tsx: Refactored to use the new CardComponent for rendering demo components, simplifying the structure and improving maintainability. [1] [2]

UI Enhancements:

Minor Changes:

Copy link

vercel bot commented Nov 18, 2024

@raphaelcunha is attempting to deploy a commit to the Cruip Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant