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

Add ORCID Social Icon #928

Merged
merged 1 commit into from
May 27, 2022
Merged

Add ORCID Social Icon #928

merged 1 commit into from
May 27, 2022

Conversation

jskherman
Copy link
Contributor

@jskherman jskherman commented May 26, 2022

What does this PR change? What problem does it solve?

This PR adds the ORCID social icon to the svg.html partial. Having the ORCID social icon may be useful for researchers using ORCID and those using this theme for their Hugo-powered site. The icon used was sourced straight from ORCID's website and official brand assets, particularly the file ORCID-iD_icon_reversed_vector.svg which has been modified to use the theme's currentColor variable for the fill color.

The ORCID social icon in action:
image
image

Additional Information

Note
ORCID (Open Researcher and Contributor ID) is a global, not-for-profit organization and platform which assigns a nonproprietary alphanumeric code to a person to uniquely identify authors and contributors of scholarly communication or research. ORCID's website has services to look up authors and their bibliographic output (and other user-supplied pieces of information).

Was the change discussed in an issue or in the Discussions before?

No, this change was not yet raised in an issue or in the Discussions. I was about to create a topic in Discussions but the change seems fairly simple, so I went straight for the PR.

PR Checklist

  • This change adds/updates translations and I have used the template present here.
  • I have enabled maintainer edits for this PR.
  • I have verified that the code works as described/as intended.
  • This change adds a Social Icon which has a permissive license to use it.
  • This change does not include any CDN resources/links.
  • This change does not include any unrelated scripts such as bash and python scripts.
  • This change updates the overridden internal templates from HUGO's repository.

@sonarcloud
Copy link

sonarcloud bot commented May 26, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@adityatelange adityatelange merged commit 282ad5b into adityatelange:master May 27, 2022
romainx pushed a commit to romainx/hugo-PaperMod that referenced this pull request Jul 26, 2022
minyeamer pushed a commit to minyeamer/hugo-PaperMod that referenced this pull request Sep 16, 2022
dunklecat pushed a commit to dunklecat/hugo-PaperModX that referenced this pull request Oct 8, 2022
kylethedeveloper pushed a commit to kylethedeveloper/hugo-PaperMod that referenced this pull request Feb 21, 2023
@deepakshilkar
Copy link

Could not find the icon in the current release.

{{- else if (eq $icon_name "orcid") -}} <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 256 256" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <style type="text/css"> .st0{fill:#A6CE39;} .st1{fill:#FFFFFF;} </style> <path class="st0" d="M256,128c0,70.7-57.3,128-128,128C57.3,256,0,198.7,0,128C0,57.3,57.3,0,128,0C198.7,0,256,57.3,256,128z"></path> <g> <path class="st1" d="M86.3,186.2H70.9V79.1h15.4v48.4V186.2z"></path> <path class="st1" d="M108.9,79.1h41.6c39.6,0,57,28.3,57,53.6c0,27.5-21.5,53.6-56.8,53.6h-41.8V79.1z M124.3,172.4h24.5 c34.9,0,42.9-26.5,42.9-39.7c0-21.5-13.7-39.7-43.7-39.7h-23.7V172.4z"></path> <path class="st1" d="M88.7,56.8c0,5.5-4.5,10.1-10.1,10.1c-5.6,0-10.1-4.6-10.1-10.1c0-5.6,4.5-10.1,10.1-10.1 C84.2,46.7,88.7,51.3,88.7,56.8z"></path> </g> </svg> {{- end -}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants