Skip to content

Create <Attribution /> component #215

@jvgaultney

Description

@jvgaultney

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions