Skip to content

added employee badges to members and recognition page #6304

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/assets/images/employee/employee.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/pages/community/members.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import dockerExtensionIcon from "../../assets/images/docker-extension/docker-ext
import mesheryCatalogIcon from "../../assets/images/meshery/meshery-catalog.svg";
import kanvasIcon from "../../assets/images/kanvas/badges/kanvas.svg";
import sistentIcon from "../../assets/images/sistent/badges/sistent-contributor.svg";
import employeeIcon from "../../assets/images/employee/employee.svg";
/**
* Array containing a list of categories to be shown in the dropdown.
* The map function in the end wraps the label property with a component.
Expand Down Expand Up @@ -225,6 +226,14 @@ const options = [
icon: communityIcon,
className: "allOptions",
},
{
label: "Employee",
value: "employee",
color: lighttheme.linkColor,
isFixed: true,
icon: employeeIcon,
className: "allOptions",
},
].map((obj) => ({
...obj,
label: (
Expand Down
5 changes: 5 additions & 0 deletions src/sections/Community/Handbook/recognition.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import writersLogo from "../../../assets/images/writer-program/writer-program-ba
import kanvasLogo from "../../../assets/images/kanvas/icon-only/kanvas-icon-color.svg";
import MesheryCatalogLogo from "../../../assets/images/meshery/meshery-catalog.svg";
import DocsLogo from "../../../assets/images/docs/docs.svg";
import EmployeeLogo from "../../../assets/images/employee/employee.svg";
import ApplicationPioneerLogo from "../../../assets/images/application-pioneer/application-pioneer.svg";
import BringABuddyLogo from "../../../assets/images/bring-a-buddy/bring-a-buddy.svg";
import DesignPioneerLogo from "../../../assets/images/design-pioneer/design-pioneer.svg";
Expand Down Expand Up @@ -231,6 +232,10 @@ const RecognitionPage = () => {
<img src={DocsLogo} style={badgeStyle} />
<b>Docs</b> - awarded to the community members who make consistent and impactful contributions to the <a href="https://docs.meshery.io/">Meshery docs</a> in recognition and appreciation of their efforts.
</li>
<li>
<img src={EmployeeLogo} style={badgeStyle} />
<b>Employee</b> - awarded to the dedicated employees of layer5 who set the standards for excellence in all we do. interested in joining the team? <a href="https://layer5.io/careers">Apply here</a>.
</li>
</ul>
<a id="how-to-earn-badges">
<h3>How can I Earn Badges?</h3>
Expand Down
15 changes: 15 additions & 0 deletions src/sections/Community/Member-single/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import docsLogo from "../../../assets/images/docs/docs.svg";
import mesheryCatalogLogo from "../../../assets/images/meshery/meshery-catalog.svg";
import dockerExtensionLogo from "../../../assets/images/docker-extension/docker-extension-meshery-logo.svg";
import KanvasLogo from "../../../assets/images/kanvas/icon-only/kanvas-icon-color.svg";
import EmployeeLogo from "../../../assets/images/employee/employee.svg";
import Button from "../../../reusecore/Button";
import { ReactComponent as TwitterIcon } from "../../../assets/images/socialIcons/twitter.svg";

Expand Down Expand Up @@ -298,6 +299,20 @@ const MemberSingle = ({ frontmatter }) => {
<span className="tooltip-text writer">Writer</span>
</div>
)}
{badges.includes("employee") && (
<div className="tooltip">
<li>
<Link to="/careers">
<img
className="profile-social-links"
src={EmployeeLogo}
alt="Employee Logo"
/>
</Link>
</li>
<span className="tooltip-text employee">Employee</span>
</div>
)}
</ul>
</div>
)}
Expand Down
Loading