feat(brand): logo placeholder + smoke.sh defaults to wevisto.com
CI / test (push) Has been cancelled

Adds frontend/public/logo.svg as a placeholder (rendered at /build/logo.svg
after Vite build). Email template share_notification.html.twig swaps the
text "WeVisto" header for an <img> referencing /build/logo.svg via
absolute_url, so dropping in the final design swaps one file with no
template change.

bin/smoke.sh HOST now defaults to wevisto.com — legacy host still smoke-
testable via HOST=pictureframe.edholm.me bin/smoke.sh under the dual-
domain coexistence (Option C).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-14 21:51:43 -04:00
parent db80ea5262
commit 9c29788210
4 changed files with 35 additions and 3 deletions
+5 -2
View File
@@ -21,8 +21,11 @@
# the backgrounded SSE subscriber in step 5 sometimes gets killed before it
# receives data. Reproduces inside this script, not in interactive shell.
HOST="pictureframe.edholm.me"
SSH_HOST="pictureframe"
# Defaults to the new wevisto.com host; override with HOST=… to smoke-test
# the legacy pictureframe.edholm.me alias kept alive under the dual-domain
# migration (Option C).
HOST="${HOST:-wevisto.com}"
SSH_HOST="${SSH_HOST:-pictureframe}"
TESTBOT_EMAIL="testbot@example.com"
TESTBOT_PASS="testpass123"
RED="\033[31m"; GREEN="\033[32m"; RESET="\033[0m"
+13
View File
@@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 60" role="img" aria-label="WeVisto">
<!-- Placeholder logo. Replace this file with the final WeVisto mark
when the design lands; downstream consumers reference /build/logo.svg
and won't need code changes. -->
<rect x="1" y="1" width="238" height="58" rx="12" ry="12"
fill="#fdf6ee" stroke="#2a1e16" stroke-width="2" stroke-dasharray="4 3"/>
<text x="120" y="32" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif"
font-size="22" font-weight="700" fill="#2a1e16" text-anchor="middle"
dominant-baseline="middle">WeVisto</text>
<text x="120" y="48" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif"
font-size="9" font-weight="500" fill="#8a7060" text-anchor="middle"
letter-spacing="2">PLACEHOLDER</text>
</svg>

After

Width:  |  Height:  |  Size: 906 B

+13
View File
@@ -0,0 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 60" role="img" aria-label="WeVisto">
<!-- Placeholder logo. Replace this file with the final WeVisto mark
when the design lands; downstream consumers reference /build/logo.svg
and won't need code changes. -->
<rect x="1" y="1" width="238" height="58" rx="12" ry="12"
fill="#fdf6ee" stroke="#2a1e16" stroke-width="2" stroke-dasharray="4 3"/>
<text x="120" y="32" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif"
font-size="22" font-weight="700" fill="#2a1e16" text-anchor="middle"
dominant-baseline="middle">WeVisto</text>
<text x="120" y="48" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif"
font-size="9" font-weight="500" fill="#8a7060" text-anchor="middle"
letter-spacing="2">PLACEHOLDER</text>
</svg>

After

Width:  |  Height:  |  Size: 906 B

@@ -4,7 +4,10 @@
<body style="font-family:system-ui,sans-serif;background:#fdf6ee;margin:0;padding:2rem 1rem">
<div style="max-width:480px;margin:0 auto;background:#fff;border-radius:12px;overflow:hidden;border:1px solid #e8d9c4">
<div style="padding:1.5rem">
<p style="color:#8a7060;font-size:.875rem;margin-bottom:.5rem">WeVisto</p>
<img src="{{ absolute_url('/build/logo.svg') }}" alt="WeVisto"
width="120" height="30"
style="display:block;height:30px;width:auto;margin-bottom:.75rem">
<h1 style="font-size:1.25rem;font-weight:700;color:#3a2e22;margin-bottom:.5rem">{{ sharer.email }} shared a photo with you</h1>
<p style="color:#8a7060;font-size:.875rem;margin-bottom:1.25rem">Add it to your frame or decline — it's up to you.</p>
</div>