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

Implement Badge related components #19

Closed
aurelticot opened this issue Dec 23, 2022 · 1 comment · Fixed by #117
Closed

Implement Badge related components #19

aurelticot opened this issue Dec 23, 2022 · 1 comment · Fixed by #117
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@aurelticot
Copy link
Member

Implement the components displaying the Badge and list of Badges (hexagonal mosaic, ...).

@aurelticot aurelticot added the enhancement New feature or request label Jan 9, 2023
@cmcWebCode40
Copy link
Contributor

cmcWebCode40 commented Jan 12, 2023

@aurelticot ,

after I have done some research on how to implement the hexagon shape with a border-radius, that will accept an image (badge)

  • I was unable to generate a clip-path-only shape with a border-radius
  • It is possible to create this shape using the CSS pseudo selectors but it has a downside I find it difficult to easily clip an image into the filled border.

I think a better approach to this is to use the SVG tag directly in the markup to get the exact shape.

I found a solution for the SVG on StackOverflow but seems like the use of the image tag has been deprecated according to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/image

see commit

I will look up a modern way to add an image to an SVG

here is a link to stack overflow where similar questions were asked
https://stackoverflow.com/questions/48500945/how-can-you-join-css-hexagon-elements-in-a-custom-layout

i have not implemented the honeycomb grid yet.

@cmcWebCode40 cmcWebCode40 linked a pull request Feb 2, 2023 that will close this issue
4 tasks
@cmcWebCode40 cmcWebCode40 removed a link to a pull request Feb 2, 2023
4 tasks
@aurelticot aurelticot linked a pull request Feb 17, 2023 that will close this issue
aurelticot added a commit that referenced this issue Feb 17, 2023
closes Implement Badge related components #19
@aurelticot aurelticot added this to the alpha milestone Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants