Update social share image to warioX.png (landscape)
New image optimized for Twitter cards (1472x704). Updated all OG/Twitter meta tags across index, play, and server. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -217,7 +217,7 @@ app.get('/s/:code', async (req, res) => {
|
||||
const origin = getOrigin(req);
|
||||
const shortUrl = origin ? `${origin}/s/${encodeURIComponent(code)}` : `/s/${encodeURIComponent(code)}`;
|
||||
const playUrl = origin ? `${origin}${dest}` : dest;
|
||||
const imageUrl = origin ? `${origin}/wariosynthlogo.png` : '/wariosynthlogo.png';
|
||||
const imageUrl = origin ? `${origin}/warioX.png` : '/warioX.png';
|
||||
|
||||
const sharedTitle = (payload.title || '').trim();
|
||||
const ogTitle = sharedTitle ? `${sharedTitle} - Wario Synth` : 'Wario Synth 16-Bit Midi';
|
||||
@@ -236,8 +236,8 @@ app.get('/s/:code', async (req, res) => {
|
||||
<meta property="og:title" content="${escapeHtml(ogTitle)}" />
|
||||
<meta property="og:description" content="${escapeHtml(ogDescription)}" />
|
||||
<meta property="og:image" content="${escapeHtml(imageUrl)}" />
|
||||
<meta property="og:image:width" content="1180" />
|
||||
<meta property="og:image:height" content="912" />
|
||||
<meta property="og:image:width" content="1472" />
|
||||
<meta property="og:image:height" content="704" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="${escapeHtml(shortUrl)}" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user