← back to Silkwallpaper
Mount new-arrivals promo strip (Tier B): require ../_shared/_universal-promo-banner before express.static — text-only rotating 'New · <product> →' banner from /api/products?sort=newest. Local only; deploy gated.
74d5c3b38cc0c3a6852e4b5d79c1d062683f9f4b · 2026-06-19 16:33:22 -0700 · Steve
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Files touched
Diff
commit 74d5c3b38cc0c3a6852e4b5d79c1d062683f9f4b
Author: Steve <steve@designerwallcoverings.com>
Date: Fri Jun 19 16:33:22 2026 -0700
Mount new-arrivals promo strip (Tier B): require ../_shared/_universal-promo-banner before express.static — text-only rotating 'New · <product> →' banner from /api/products?sort=newest. Local only; deploy gated.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---
server.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/server.js b/server.js
index 7d58993..0521e60 100644
--- a/server.js
+++ b/server.js
@@ -207,6 +207,7 @@ app.get(/^\/(history|vocabulary|sourcing|care|trade|about|index)\.html$/i, (req,
res.redirect(301, slug === 'index' ? '/' : '/' + slug);
});
+require('../_shared/_universal-promo-banner')(app, {}); // new-arrivals promo strip (Tier B)
app.use(express.static(path.join(__dirname, 'public')));
app.get('/api/products', (req, res) => {
← 91b70e4 fix: safeImg allow same-origin /img/ proxy urls (vendor-neut
·
back to Silkwallpaper
·
feat: add grid density slider (DW standard) — adjustable col 0e42c43 →