import {PrivacyLink} from '@holllo/gram'; import {html} from 'htm/preact'; import {Component} from 'preact'; import {Settings} from '../../settings/settings.js'; type Props = { settings: Settings; }; export class PageFooter extends Component { render() { const {settings} = this.props; const version = settings.manifest.version; const donateLink = html` <${PrivacyLink} href="https://github.com/sponsors/Bauke">Donate `; const versionLink = html` <${PrivacyLink} href="https://github.com/Holllo/queue/releases/tag/${version}" > v${version} `; return html` `; } }