Update footer links.
This commit is contained in:
parent
8d63c2ae8f
commit
bc8a9b0efe
|
@ -12,15 +12,8 @@ export class PageFooter extends Component<Props> {
|
||||||
const {manifest} = this.props;
|
const {manifest} = this.props;
|
||||||
const version = manifest.version;
|
const version = manifest.version;
|
||||||
|
|
||||||
const donateLinkAttributes = {
|
|
||||||
href: 'https://github.com/sponsors/Bauke',
|
|
||||||
};
|
|
||||||
const donateLink = html`
|
|
||||||
<${PrivacyLink} attributes=${donateLinkAttributes}>Donate<//>
|
|
||||||
`;
|
|
||||||
|
|
||||||
const versionLinkAttributes = {
|
const versionLinkAttributes = {
|
||||||
href: `https://github.com/Holllo/fangs/releases/tag/${version}`,
|
href: `https://git.bauke.xyz/Holllo/fangs/releases/tag/${version}`,
|
||||||
};
|
};
|
||||||
const versionLink = html`
|
const versionLink = html`
|
||||||
<${PrivacyLink} attributes=${versionLinkAttributes}>v${version}<//>
|
<${PrivacyLink} attributes=${versionLinkAttributes}>v${version}<//>
|
||||||
|
@ -28,10 +21,7 @@ export class PageFooter extends Component<Props> {
|
||||||
|
|
||||||
return html`
|
return html`
|
||||||
<footer class="page-footer">
|
<footer class="page-footer">
|
||||||
<p>
|
<p>💖 ${versionLink} © Holllo — Free and open-source, forever.</p>
|
||||||
${donateLink} 💖 ${versionLink} © Holllo — Free and open-source,
|
|
||||||
forever.
|
|
||||||
</p>
|
|
||||||
</footer>
|
</footer>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue