From 3ae4f0e2a9e31f7eef1ffe13fe867eb68c2f965b Mon Sep 17 00:00:00 2001 From: OpenClawd Date: Fri, 20 Feb 2026 09:59:40 +0000 Subject: [PATCH] feat: prominent diagonal tiled watermark on demo PDFs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace easily-croppable bottom bar with full-page diagonal repeating 'DEMO — docfast.dev' watermark pattern (80 tiles, rotated -35deg, 18% opacity). Bottom bar retained for branding. Content remains readable but watermark cannot be cropped out. --- src/routes/demo.ts | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/routes/demo.ts b/src/routes/demo.ts index e664862..78e968c 100644 --- a/src/routes/demo.ts +++ b/src/routes/demo.ts @@ -6,7 +6,26 @@ import logger from "../services/logger.js"; const router = Router(); -const WATERMARK_HTML = `
Generated by DocFast — docfast.dev | Upgrade to Pro for clean PDFs
`; +const WATERMARK_HTML = ` + +
${Array(80).fill('
DEMO — docfast.dev
').join("")}
+
Generated by DocFast — docfast.dev | Upgrade to Pro for clean PDFs
`; function injectWatermark(html: string): string { if (html.includes("")) {