[object Object]

← back to Carmelwallpapers

fix: drop dead 'Raffia' nav links — 0 products tagged raffia, was a 404-equivalent

ff4542f56fa1adb06ee5eb76f0e2c93ab41e7958 · 2026-05-25 20:53:23 -0700 · Steve

Header and footer linked /?type=raffia but the catalog has zero raffia products
(rails listed it; data never matched). Header swaps in /?type=natural (136 items);
footer simply drops raffia. Facet chips were already filtering on count so they
were correct.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit ff4542f56fa1adb06ee5eb76f0e2c93ab41e7958
Author: Steve <steve@designerwallcoverings.com>
Date:   Mon May 25 20:53:23 2026 -0700

    fix: drop dead 'Raffia' nav links — 0 products tagged raffia, was a 404-equivalent
    
    Header and footer linked /?type=raffia but the catalog has zero raffia products
    (rails listed it; data never matched). Header swaps in /?type=natural (136 items);
    footer simply drops raffia. Facet chips were already filtering on count so they
    were correct.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---
 server.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server.js b/server.js
index d200957..4ee06bd 100644
--- a/server.js
+++ b/server.js
@@ -309,7 +309,7 @@ const HEADER_HTML = (q, sort, density) => `
     <a href="/?type=linen">Linen</a>
     <a href="/?type=botanical">Botanical</a>
     <a href="/?type=coastal">Coastal</a>
-    <a href="/?type=raffia">Raffia</a>
+    <a href="/?type=natural">Natural</a>
     <a href="mailto:info@carmelwallpapers.com" class="nav-contact">Contact</a>
     ${SUN_MOON_SVG}
   </nav>
@@ -520,7 +520,7 @@ ${HEADER_HTML(q, sort, density)}
     <div class="footer-col">
       <strong>Aesthetics</strong>
       <ul>
-        ${['grasscloth','linen','botanical','coastal','raffia','natural'].map(a=>`<li><a href="/?type=${a}">${a.charAt(0).toUpperCase()+a.slice(1)}</a></li>`).join('')}
+        ${['grasscloth','linen','botanical','coastal','natural'].map(a=>`<li><a href="/?type=${a}">${a.charAt(0).toUpperCase()+a.slice(1)}</a></li>`).join('')}
       </ul>
     </div>
   </div>

← fafb001 fix: scrub p.vendor leaks from customer-facing UI (use "Desi  ·  back to Carmelwallpapers  ·  wire api-vendor-redact middleware (close vendor leak in /api f338d34 →