Skip to content

Add more variations, or use standard codesΒ #23

@SaadBazaz

Description

@SaadBazaz

Hey, great repo.
Would love to have variations of the name. For example, I autoget these icons based on a Language field I have in my frontend. I lowercase it as such to get the icon:

  const languageCode = language
    .replaceAll(" ", "-")
    .toLowerCase()
  console.log("languageCode", languageCode)

  const src = `https://github.com/get-icon/geticon/raw/master/icons/${languageCode}.svg`

In there, I have "C++", which translates to "https://github.com/get-icon/geticon/raw/master/icons/c++.svg", which doesn't exist. Instead, it's called c-plusplus.svg.

It'd be nice to have standardization or duplication. i.e. keep both c-plusplus, c++.svg, and cplusplus.svg at the same level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions