Re-add donate link.

This commit is contained in:
Bauke 2022-10-03 18:50:52 +02:00
parent 4a46f327ab
commit 6936cb2969
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 11 additions and 1 deletions

View File

@ -12,6 +12,13 @@ export class PageFooter extends Component<Props> {
const {manifest} = this.props;
const version = manifest.version;
const donateAttributes = {
href: 'https://liberapay.com/Holllo',
};
const donateLink = html`
<${PrivacyLink} attributes="${donateAttributes}">Donate<//>
`;
const versionLinkAttributes = {
href: `https://git.bauke.xyz/Holllo/fangs/releases/tag/${version}`,
};
@ -21,7 +28,10 @@ export class PageFooter extends Component<Props> {
return html`
<footer class="page-footer">
<p>💖 ${versionLink} © Holllo Free and open-source, forever.</p>
<p>
${donateLink} 💖 ${versionLink} © Holllo Free and open-source,
forever.
</p>
</footer>
`;
}