Stack POL Pro pages (Marty 2026-11-09): a Pro member's page shows their own LinkSpin Banner Spins in the ad spots (a spot with no fitting size keeps the network zone), their spin links, a purple Polygon QR to the page (/qr/<username>.svg, qrcode module) and a "Want a personalized page like this?" panel (join under the member, or Unlock Pro in IAP). Every page opened with ?ref=<Pro member> credits them on every call to action (join links, game links, program pages, internal links carry the ref) and shows their banners; no ref or a non-Pro ref = the standard network pages and zones. Blog posts now carry an ad spot after the third paragraph, and personalized posts end with the member's links and the Pro panel. Member pages also get a network spot and the latest blog posts. Indexer reads pro[] from IAP stack-optin.json and adds each Pro member's active spins and spin links (matched by username in LinkSpin).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-09 15:31:39 -06:00
parent e53565051b
commit 05f3514b9e
9 changed files with 431 additions and 21 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
FROM node:20-alpine
WORKDIR /app
COPY package.json server.js layout.js blog.js programs.js ./
COPY package.json package-lock.json server.js layout.js blog.js programs.js ./
RUN npm ci --omit=dev --no-audit --no-fund
COPY content/ ./content/
COPY public/ ./public/
ENV NODE_ENV=production PORT=80