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

Create Character Card Component, Text Fit Component, Class Icon Component, Tag Component #68

Merged

Conversation

MrVintage710
Copy link
Collaborator

@MrVintage710 MrVintage710 commented Nov 18, 2024

image

This ticket closes #66, #67, and #60.

This PR adds several front end components to the app. Here are all of the new components:

  • CharacterCard component. This is a component that identifies a character if a brief way.
  • TextFit component. This is a component that render text at the perfect size to fit a container horizontally and vertically. The component is somewhat finicky and could use some more work, but I think that will have to come later.
  • Tag component. This is a component for displaying information about tags on characters.
  • ClassIcon component. This component should display the icon for any associated Pathfinder class. For now it only has one icon for the barbarian.

For an interactive demo of these components, run the npm run storybook command!

@MrVintage710 MrVintage710 added enhancement New feature or request frontend UI related work. labels Nov 18, 2024
@MrVintage710 MrVintage710 self-assigned this Nov 18, 2024
@MrVintage710
Copy link
Collaborator Author

Ima just close this cause I want to work on the next thing that needs this. If you have any complaints I will just do it in the next PR!

@MrVintage710 MrVintage710 merged commit a9d2fb2 into two-shots-later:main Nov 19, 2024
1 check passed
@MrVintage710 MrVintage710 deleted the 67-create-character-card branch November 19, 2024 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend UI related work.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Common Component: Character Card
1 participant