← back to Corkwallcovering
Mount _universal-promo-banner (reference site) — new-arrivals strip injected + verified in browser (3 real products, /sample links, banned-word clean)
ac14d66b44db91cbd4b17e3e0c130d3c056cf925 · 2026-06-19 16:30:48 -0700 · Steve
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Files touched
A screenshot-promo-strip.pngM server.js
Diff
commit ac14d66b44db91cbd4b17e3e0c130d3c056cf925
Author: Steve <steve@designerwallcoverings.com>
Date: Fri Jun 19 16:30:48 2026 -0700
Mount _universal-promo-banner (reference site) — new-arrivals strip injected + verified in browser (3 real products, /sample links, banned-word clean)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---
screenshot-promo-strip.png | Bin 0 -> 5197549 bytes
server.js | 3 +++
2 files changed, 3 insertions(+)
diff --git a/screenshot-promo-strip.png b/screenshot-promo-strip.png
new file mode 100644
index 0000000..b99ba64
Binary files /dev/null and b/screenshot-promo-strip.png differ
diff --git a/server.js b/server.js
index 7d7d3cd..eafba8a 100644
--- a/server.js
+++ b/server.js
@@ -107,6 +107,9 @@ app.use(require('../_shared/api-vendor-redact'));
// Universal contact module — modals, /api/send-inquiry, /api/send-sample, /zd-loader.js
require('./_universal-contact')(app, { siteName: "Cork Wallcovering", zdColor: "#a87030", zdPosition: 'right' });
require('./_universal-auth')(app, { siteName: "corkwallcovering" });
+// Universal new-products promo banner — injects /dw-promo-banner.js into HTML
+// responses (text-only rotating "NEW · <title> →" strip). Mounted BEFORE static.
+require('../_shared/_universal-promo-banner')(app, { slug: SITE_SLUG });
// Clean-URL canonicalization — 301 legacy /foo.html to /foo. Runs BEFORE
// express.static so the .html form never serves directly (avoids duplicate
← 5315be5 fix: safeImg allow same-origin /img/ proxy urls (vendor-neut
·
back to Corkwallcovering
·
Add promo-banner LIVE verification screenshot from prior run 2677980 →