Update PrivacyLinks to use new attributes.
This commit is contained in:
parent
75cbdcfb75
commit
f9ebb80db7
|
@ -12,16 +12,18 @@ 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`
|
const donateLink = html`
|
||||||
<${PrivacyLink} href="https://github.com/sponsors/Bauke">Donate<//>
|
<${PrivacyLink} attributes=${donateLinkAttributes}>Donate<//>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
const versionLinkAttributes = {
|
||||||
|
href: `https://github.com/Holllo/fangs/releases/tag/${version}`,
|
||||||
|
};
|
||||||
const versionLink = html`
|
const versionLink = html`
|
||||||
<${PrivacyLink}
|
<${PrivacyLink} attributes=${versionLinkAttributes}>v${version}<//>
|
||||||
href="https://github.com/Holllo/fangs/releases/tag/${version}"
|
|
||||||
>
|
|
||||||
v${version}
|
|
||||||
<//>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
return html`
|
return html`
|
||||||
|
|
Loading…
Reference in New Issue