← back to Silverleafwallpaper
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.
12078bffb4b1725eca234df5c1ef5840995d3fe2 · 2026-06-19 16:33:23 -0700 · Steve
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Files touched
Diff
commit 12078bffb4b1725eca234df5c1ef5840995d3fe2
Author: Steve <steve@designerwallcoverings.com>
Date: Fri Jun 19 16:33:23 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 5b4dced..ccd2b01 100644
--- a/server.js
+++ b/server.js
@@ -151,6 +151,7 @@ require('./_universal-auth')(app, { siteName: "silverleafwallpaper" });
// Canonical clean URLs — 301 legacy /<page>.html (and /index.html) to the
// extension-less form so the static dir doesn't serve duplicate content. The
+require('../_shared/_universal-promo-banner')(app, {}); // new-arrivals promo strip (Tier B)
// nav links already point at the clean URLs; express.static(extensions:['html'])
// resolves /care -> care.html. MUST run before express.static.
app.get(/^\/(about|care|history|sourcing|trade)\.html$/, (req, res) => {
← 87f3e89 fix: safeImg allow same-origin /img/ proxy urls (vendor-neut
·
back to Silverleafwallpaper
·
corner-nav: move login to its own hamburger in upper-left (p 4da6b2e →