diff --git a/src/AppFooter.tsx b/src/AppFooter.tsx index 18f12f5..0fc225c 100644 --- a/src/AppFooter.tsx +++ b/src/AppFooter.tsx @@ -4,6 +4,16 @@ const RELEASE = /^v\d+\.\d+\.\d+$/.test(__APP_VERSION__) ? `${REPO}/releases/tag/${__APP_VERSION__}` : null; +/** The Ko-fi link wears a different joke each page load; its title/aria-label says what it is. */ +const KOFI_JOKES = [ + 'Buy me a drill bit', + 'Buy me a cut-off wheel', + 'Buy me a sanding drum', + 'Buy me safety glasses', +]; +const KOFI_JOKE = KOFI_JOKES[Math.floor(Math.random() * KOFI_JOKES.length)]; +const KOFI_TITLE = 'Support libreble on Ko-fi'; + export default function AppFooter() { return (