-
Notifications
You must be signed in to change notification settings - Fork 0
Create <Attribution /> component #215
Copy link
Copy link
Open
Labels
Milestone
Description
This component would be used to hold and display all important elements of an attribution for an image or other content. It would then be displayed with special styling.
Proposed example and spec:
<Attribution copyyears="2003-2019" copyholder="Johnson Corp" copyurl="https://www.fredjohnson.com" license="CC BY-SA 4.0" licenseurl="https://creativecommons.org/licenses/by-sa/4.0/" author="Fred Johnson" sourcetext="Image Title" sourceurl:"https://www.fredjohnson.com/stuff/filename.jpg" />
Required elements:
- copyyears
- copyholder
- license
Optional elements:
- copyurl
- licenseurl
- author
- source
- sourceurl
This would be rendered something like:
Copyright © 2003-2019 Johnson Corp with license CC BY-SA 4.0. Author: Fred Johnson. Source: Image Title.
Reactions are currently unavailable