← back to Linenwallpaper
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.
1f0e5ee531e764919adbf67080f23a9c6af83256 · 2026-06-19 16:33:19 -0700 · Steve
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Files touched
Diff
commit 1f0e5ee531e764919adbf67080f23a9c6af83256
Author: Steve <steve@designerwallcoverings.com>
Date: Fri Jun 19 16:33:19 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 3b4e3a7..63a6e41 100644
--- a/server.js
+++ b/server.js
@@ -199,6 +199,7 @@ require('./_universal-auth')(app, { siteName: "linenwallpaper" });
app.get(/^\/(history|vocabulary|sourcing|care|trade)\.html$/, (req, res) => res.redirect(301, '/' + req.params[0]));
app.get('/index.html', (req, res) => res.redirect(301, '/'));
+require('../_shared/_universal-promo-banner')(app, {}); // new-arrivals promo strip (Tier B)
app.use(express.static(path.join(__dirname, 'public')));
// Shared filter so /api/products and /api/facets agree on the active result set.
← f7a60cb fix: safeImg allow same-origin /img/ proxy urls (vendor-neut
·
back to Linenwallpaper
·
feat: add grid density slider (DW standard) — adjustable col b9d5fe0 →