Mirador plugin that adds Harvard-specific customizations.
Current customizations include:
- Replace Mirador logo in lower left corner with Harvard shield (also no longer a link)
- Replace the license/attribution url text with "Copyright & Terms of Use" (rather than display the url itself)
- Run
nvm use
to ensure your version of matches that in the.nvmrc
file - Run
npm i
to install dependencies - Use one of the NPM scripts to perform the actions described below.
The following are some useful scripts can be ran using npm run <script>
. A full list can be seen in package.json
Script | Description |
---|---|
clean |
Removes the dist directories |
build |
Builds the source files into the ./dist directory |
serve |
Runs a local web server where the plugin can be viewed in a vanilla Mirador instance (helpful for testing and development) |
test |
Runs the automated test suites |
The mirador-harvard-custom-plugin
requires an instance of Mirador 3. Visit the Mirador wiki to learn how to install an existing plugin and for additional information about plugins.
Package you will need to install:
npm i @harvard-lts/mirador-harvard-custom-plugin
Mirador's development, design, and maintenance is driven by community needs and ongoing feedback and discussion. Join us at our regularly scheduled community calls, on IIIF slack #mirador, or the mirador-tech and iiif-discuss mailing lists. To suggest features, report bugs, and clarify usage, please submit a GitHub issue.