Re-add donate link.
This commit is contained in:
parent
4a46f327ab
commit
6936cb2969
|
@ -12,6 +12,13 @@ export class PageFooter extends Component<Props> {
|
||||||
const {manifest} = this.props;
|
const {manifest} = this.props;
|
||||||
const version = manifest.version;
|
const version = manifest.version;
|
||||||
|
|
||||||
|
const donateAttributes = {
|
||||||
|
href: 'https://liberapay.com/Holllo',
|
||||||
|
};
|
||||||
|
const donateLink = html`
|
||||||
|
<${PrivacyLink} attributes="${donateAttributes}">Donate<//>
|
||||||
|
`;
|
||||||
|
|
||||||
const versionLinkAttributes = {
|
const versionLinkAttributes = {
|
||||||
href: `https://git.bauke.xyz/Holllo/fangs/releases/tag/${version}`,
|
href: `https://git.bauke.xyz/Holllo/fangs/releases/tag/${version}`,
|
||||||
};
|
};
|
||||||
|
@ -21,7 +28,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