Re-add donate link.
This commit is contained in:
parent
f54b3d6712
commit
ab6ef97d91
|
@ -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>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue