Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alliance-pcsg/primo-explore-resource-icons
:vhs: adds resource icons from the noun project to primo-explore search results.
https://github.com/alliance-pcsg/primo-explore-resource-icons
primo-explore
Last synced: about 1 month ago
JSON representation
:vhs: adds resource icons from the noun project to primo-explore search results.
- Host: GitHub
- URL: https://github.com/alliance-pcsg/primo-explore-resource-icons
- Owner: alliance-pcsg
- Created: 2017-01-20T20:31:10.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-05T18:31:38.000Z (over 6 years ago)
- Last Synced: 2024-04-26T07:02:50.091Z (9 months ago)
- Topics: primo-explore
- Language: HTML
- Homepage:
- Size: 829 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# primo-explore-resource-icons
## installation
### setting up the dev environment
if you don't have a `package.json` as part of your view code, go to your package directory (e.g. `/primo-explore/custom/LCC_NEWUI`) and run:
```sh
npm init
```follow the prompts and fill out basic information for your package.
### installing the icons
from inside your package directory (e.g. `/primo-explore/custom/LCC_NEWUI`), run:
```sh
npm install primo-explore-resource-icons
```the icons used are from [The Noun Project](https://thenounproject.com/) under a Creative Commons Attribution (CC BY) license, so you need to credit them in a credits page on your site.
one way to do this is by adding the below code to your `home_en_US.html`:
```html
Icon Credits
```alternatively, you can host the html located in anywhere (e.g. libguides) and provide a link to it yourself.
you can learn more about the license [here](https://thenounproject.zendesk.com/hc/en-us/sections/200137528-Icon-Credit-Requirements).
### uninstalling the icons
from inside your package directory (e.g. `/primo-explore/custom/LCC_NEWUI`), run:
```sh
npm uninstall primo-explore-resource-icons
```