Re-add donate link.

This commit is contained in:
Bauke 2022-10-03 18:48:14 +02:00
parent f54b3d6712
commit ab6ef97d91
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 11 additions and 1 deletions

View File

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