[Profile-card] Refactor component to remove hardcoded Meshmate names
Description
See Profile-card component (src/components/Profile-card/index.js), the code is currently hardcoding specific names to conditionally render the Meshmate icon badge.
Note: I would love to be assigned to this issue so I can submit a PR to refactor it.
Expected Behavior
The part of the code must be dynamic and must not depend on fixed string matching. The code part must rather validate some property that has been passed down through frontmatter in order to determine if it is necessary to render a particular Meshmate badge.
Screenshots
Here is the current hardcoded implementation in the codebase:
Contributor Resources and Handbook
The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.
- π See contributing instructions.
- π¨ Wireframes and designs for Layer5 site in Figma (open invite)
- ππΎππΌ Questions: Discussion Forum and Community Slack.
Join the Layer5 Community by submitting your community member form.
@YASHMAHAKAL @KhushamBansal could you please assign it to me?