From f9ebb80db78d1353d2f5035c347b37446ac6512c Mon Sep 17 00:00:00 2001 From: Bauke Date: Thu, 17 Mar 2022 19:55:54 +0100 Subject: [PATCH] Update PrivacyLinks to use new attributes. --- source/options/components/page-footer.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/source/options/components/page-footer.ts b/source/options/components/page-footer.ts index 56be2d2..5500ba1 100644 --- a/source/options/components/page-footer.ts +++ b/source/options/components/page-footer.ts @@ -12,16 +12,18 @@ export class PageFooter extends Component { const {manifest} = this.props; const version = manifest.version; + const donateLinkAttributes = { + href: 'https://github.com/sponsors/Bauke', + }; 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` - <${PrivacyLink} - href="https://github.com/Holllo/fangs/releases/tag/${version}" - > - v${version} - + <${PrivacyLink} attributes=${versionLinkAttributes}>v${version} `; return html`