← back to Wallco Ai
/designs: dismissible hint pointing trade users to the /brief proposal builder
89a8e15128c8d2bd2f765f7de741fb8c020146fe · 2026-05-12 18:51:26 -0700 · SteveStudio2
Files touched
Diff
commit 89a8e15128c8d2bd2f765f7de741fb8c020146fe
Author: SteveStudio2 <steve@designerwallcoverings.com>
Date: Tue May 12 18:51:26 2026 -0700
/designs: dismissible hint pointing trade users to the /brief proposal builder
---
server.js | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/server.js b/server.js
index f9290c8..93cb78d 100644
--- a/server.js
+++ b/server.js
@@ -2416,6 +2416,28 @@ ${htmlHeader('/designs')}
<p class="result-count">${total} design${total===1?'':'s'}${cat?' in '+cat:''}${motifQ?' with '+motifQ:''}${roomQ?' with room preview':''}${q?' matching "'+q+'"':''}</p>
+ <!-- One-time hint pointing trade users to the /brief proposal builder. Dismissible; -->
+ <!-- once dismissed it stays hidden via localStorage('wallco.hint.brief.dismissed'). -->
+ <div id="brief-hint" style="display:none;margin:6px 0 14px;padding:9px 14px;border:1px dashed var(--line,#ddd);border-radius:6px;background:var(--card-bg,#faf8f3);font:12px/1.5 var(--sans,system-ui);color:var(--ink-soft,#555);display:flex;align-items:center;gap:10px;flex-wrap:wrap">
+ <span aria-hidden="true">📄</span>
+ <span>Building a proposal? Pick up to 6 designs and assemble a single client-ready brief.</span>
+ <a href="/brief" style="color:var(--ink,#111);font-weight:500;text-decoration:underline;text-underline-offset:2px">Open /brief →</a>
+ <a id="brief-hint-dismiss" href="javascript:void(0)" style="margin-left:auto;color:var(--ink-faint,#999);text-decoration:underline;font-size:11px">Hide</a>
+ </div>
+ <script>
+ (function(){
+ var el = document.getElementById('brief-hint');
+ if (!el) return;
+ try { if (localStorage.getItem('wallco.hint.brief.dismissed') === '1') return; } catch(e){}
+ el.style.display = 'flex';
+ var btn = document.getElementById('brief-hint-dismiss');
+ if (btn) btn.addEventListener('click', function(){
+ el.style.display = 'none';
+ try { localStorage.setItem('wallco.hint.brief.dismissed', '1'); } catch(e){}
+ });
+ })();
+ </script>
+
<div id="surprise-result" style="display:none;margin-bottom:18px;padding:16px;border:1px solid var(--gold);border-radius:8px;background:var(--card-bg)"></div>
<script>
(function(){
← 307a374 drunk-animals: fix launchd PATH for PIL + retro-backfill 26
·
back to Wallco Ai
·
drunk-animals: category-aware titler (Hiccup/Tipple/Tableau/ a5f9d55 →