Add credits to hero images
Requirement
Add support for displaying credits for hero images. These credits should appear in the bottom of the hero section.
Value proposition
Adding support for credits makes it easy to show where images came from in the image itself.
Design ideas
Define a string in the post frontmatter that is to be used to give credit for the image.
Two options to render that string:
- Show the text as is in the bottom right of the hero section (use small text and a dim colour)
- Add a icon to the bottom right and once that icon is clicked, show the image credits in more detail