[object Object]

← back to Dw Marketing Viewer

B: center wordmark overlay on cinema hero (ivory+scrim), hide below-photo block

f27fe5c3e215a7d7cf5694b7fda3100679723824 · 2026-06-23 13:24:10 -0700 · Steve

Files touched

Diff

commit f27fe5c3e215a7d7cf5694b7fda3100679723824
Author: Steve <steve@designerwallcoverings.com>
Date:   Tue Jun 23 13:24:10 2026 -0700

    B: center wordmark overlay on cinema hero (ivory+scrim), hide below-photo block
---
 site-deploy/_remote-edit.py             |  19 +++++++++++++++++++
 site-deploy/apply-rebrand.sh            |   2 +-
 site-deploy/wpb-hero-wordmark-ivory.png | Bin 0 -> 37095 bytes
 3 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/site-deploy/_remote-edit.py b/site-deploy/_remote-edit.py
index 6079b78..b5dfee3 100644
--- a/site-deploy/_remote-edit.py
+++ b/site-deploy/_remote-edit.py
@@ -46,6 +46,25 @@ for old, new in swaps:
         s = s.replace(old, new, 1)
         notes.append("brand text swap")
 
+# ---- B: wordmark overlay centered on the cinema hero (ivory, with scrim) ----
+cwm_anchor = '  <div class="cinema-bg" id="heroBg"></div>'
+cwm_markup = (cwm_anchor + '\n  <div class="cinema-wm" aria-hidden="true">'
+              '<img src="/wpb-hero-wordmark-ivory.png" alt="%s"></div>' % BR)
+if 'cinema-wm' not in s and cwm_anchor in s:
+    s = s.replace(cwm_anchor, cwm_markup, 1)
+    notes.append("cinema hero overlay")
+cwm_css = ('.cinema-wm{position:absolute;inset:0;display:flex;align-items:center;'
+           'justify-content:center;z-index:4;pointer-events:none}'
+           '.cinema-wm::before{content:"";position:absolute;width:64%;height:46%;'
+           'background:radial-gradient(ellipse at center,rgba(12,16,12,.5),transparent 70%)}'
+           '.cinema-wm img{position:relative;width:min(680px,72vw);height:auto;'
+           'filter:drop-shadow(0 3px 16px rgba(0,0,0,.6))}'
+           '.hero-wordmark-block{display:none}')
+css_anchor = '.hero-wordmark-img{width:min(820px,86vw);height:auto;display:block;margin:18px auto 0}'
+if '.cinema-wm{' not in s and css_anchor in s:
+    s = s.replace(css_anchor, css_anchor + '\n' + cwm_css, 1)
+    notes.append("cinema overlay CSS")
+
 # ---- write index.html once, with a single backup ----
 if s != s0:
     open(idx + ".bak-rebrand-%d" % ts, "w").write(s0)
diff --git a/site-deploy/apply-rebrand.sh b/site-deploy/apply-rebrand.sh
index d91e2b1..b357a24 100755
--- a/site-deploy/apply-rebrand.sh
+++ b/site-deploy/apply-rebrand.sh
@@ -8,7 +8,7 @@ SRV="my-server"
 PUB="/root/public-projects/wallpapersback/public"
 
 echo "→ pushing assets (hero wordmark + favicon)…"
-scp -q "$SD/wpb-hero-wordmark.png" "$SD/favicon.svg" "$SD/favicon.ico" "$SRV:$PUB/"
+scp -q "$SD/wpb-hero-wordmark.png" "$SD/wpb-hero-wordmark-ivory.png" "$SD/favicon.svg" "$SD/favicon.ico" "$SRV:$PUB/"
 scp -q "$SD/_remote-edit.py" "$SRV:/tmp/wpb-remote-edit.py"
 
 echo "→ applying hero rebrand + .deploy.conf fix (backups made server-side)…"
diff --git a/site-deploy/wpb-hero-wordmark-ivory.png b/site-deploy/wpb-hero-wordmark-ivory.png
new file mode 100644
index 0000000..97e83cb
Binary files /dev/null and b/site-deploy/wpb-hero-wordmark-ivory.png differ

← b198a29 auto-save: 2026-06-23T13:21:53 (1 files) — site-deploy/_remo  ·  back to Dw Marketing Viewer  ·  auto-save: 2026-06-23T13:52:03 (1 files) — site-deploy/LIVE- 5c6864c →