← back to AbramsEgo
build-queue/done/38-ads-slot.md
13 lines
# Task 38 — ads engine: house-ad slot + ads.txt stub (engine 4)
Read SPEC.md. Smallest engine — placeholder-to-live scaffolding only. ~8 min.
1. public/landing.html: add ONE tasteful ad-slot component (footer area) that renders a HOUSE ad
(self-promo card for the Fleet Health Report / waitlist) unless env AD_NETWORK_PUB_ID is set —
when set, it renders the network's snippet instead (write the generic container + comment where
the pub id goes; joining a network is Steve's gated switch).
2. Add public/ads.txt stub with a comment header (populated when a network account exists); serve
it at /ads.txt (PUBLIC_LANDING allowlist).
3. Engine pill: ads flips "live" only when AD_NETWORK_PUB_ID is present.
4. pm2 restart; verify the house ad renders on /landing. Commit `feat(ads): house-ad slot + ads.txt stub`.