Add a link to Liberapay.

This commit is contained in:
Bauke 2020-11-16 22:46:01 +01:00
parent e1cbcc8d9b
commit ec9f64e1d3
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 8 additions and 3 deletions

View File

@ -3,7 +3,7 @@
"manifest_version": 2, "manifest_version": 2,
"name": "Queue", "name": "Queue",
"description": "A WebExtension for queueing links.", "description": "A WebExtension for queueing links.",
"version": "0.1.4", "version": "0.1.5",
"permissions": [ "permissions": [
"contextMenus", "contextMenus",
"storage", "storage",

View File

@ -7,6 +7,11 @@ type FooterProps = {
}; };
export function PageFooter(props: FooterProps): QComponent { export function PageFooter(props: FooterProps): QComponent {
const donateLink = html`<${Link}
text="Donate"
url="https://liberapay.com/Holllo"
/>`;
const version = props.manifest.version; const version = props.manifest.version;
const versionLink = html`<${Link} const versionLink = html`<${Link}
text="v${version}" text="v${version}"
@ -18,8 +23,8 @@ export function PageFooter(props: FooterProps): QComponent {
return html` return html`
<footer class="page-footer"> <footer class="page-footer">
<p> <p>
${versionUpdated} ${versionLink} 🄯 Holllo Free and open-source, ${donateLink} ${versionUpdated} ${versionLink} 🄯 Holllo Free and
forever. open-source, forever.
</p> </p>
</footer> </footer>
`; `;