diff --git a/src/views/pages.js b/src/views/pages.js new file mode 100644 index 0000000..20d31d0 --- /dev/null +++ b/src/views/pages.js @@ -0,0 +1,93 @@ +"use strict"; + +function escapeHtml(value) { + return String(value) + .replaceAll("&", "&") + .replaceAll("<", "<") + .replaceAll(">", ">") + .replaceAll('"', """) + .replaceAll("'", "'"); +} + +function layout({ title, content }) { + return ` + +
+ + +x-user-id in API calls.No jobs yet.
` + : ``; + + return layout({ + title: "X Article to Audio", + content: ` +Webhook-first mention bot MVP with permanent paid unlocks.
+ ${authBlock} +${escapeHtml(audio.storageKey)}Duration: ${audio.durationSec}s