This is a web component that can, at a minimum, add University of Iowa Libraries branding to a site (most probably the footer).
- This compnent will offer several, minimal branding styles that will connect the site to the University of Iowa Libraries.
- This compnent can optionally pull data specific to the site/project and include that.
- This first iteration was designed for project sites created in WordPress and Omeka by the Digital Scholarship & Publishing Studio.
https://ui-libraries.github.io/uilibraries-metadeets/
In the site, include the web component tag...
<uilibraries-metadeets></uilibraries-metadeets>
metadeets-id=xxxx
Where x
is the id of the project/site details. This example is opinionated and assumes the context of the Studio, which project/site details are we pulling from the REST API.
Example: <uilibraries-metadeets metadeets-id=2193></uilibraries-metadeets>
Select from 5 color schemes that adhere to UI branding (default: color-scheme-1
)
class="color-scheme-x"
Where x
is [1...5].
Example: <uilibraries-metadeets metadeets-id=2193 class="color-scheme-4"></uilibraries-metadeets>
Remove 'metadeets-id' attribute (hides button, also)
Example: <uilibraries-metadeets class="color-scheme-4"></uilibraries-metadeets>
class="auto-expanded"
Example: <uilibraries-metadeets metadeets-id=2193 class="color-scheme-4" auto-expanded></uilibraries-metadeets>
class="hide-button"
Example: <uilibraries-metadeets metadeets-id=2193 class="color-scheme-4" auto-expanded></uilibraries-metadeets>
button-text="More cool info"
Example: <uilibraries-metadeets metadeets-id=2193 class="color-scheme-4" button-text="More cool info"></uilibraries-metadeets>