Files
SnapOtter/scripts/branding/sync-og.sh
T
SnapOtterandGitHub 5b86eaa2c5 chore(branding): multi-modal press kit, hero OG + dashboard.gif (#323)
- Recolor banner/wordmark SVGs to the Otter Orange palette with brand fonts
- Rebuild social-preview.png as a hero-style OG card (trust badges, headline, five modality cards with section counts), synced to apps/landing + apps/web og-image.png
- Replace static dashboard PNGs with dashboard.gif: a guided tab tour of all 157 tools across the five modalities
- Update branding/README.md (Otter Palette, brand fonts, asset list); add scripts/branding generator + sync helpers
2026-06-22 19:51:35 +08:00

10 lines
442 B
Bash
Executable File

#!/usr/bin/env bash
# Propagate the canonical social card to the app OG-image locations.
# Run after regenerating branding/social-preview.png.
set -euo pipefail
root="$(cd "$(dirname "$0")/../.." && pwd)"
src="$root/branding/social-preview.png"
cp "$src" "$root/apps/landing/public/og-image.png"
cp "$src" "$root/apps/web/public/og-image.png"
echo "synced social-preview.png -> apps/landing/public/og-image.png, apps/web/public/og-image.png"