Use wariosynthlogo.png for all social sharing
- Updated og:image and twitter:image across all pages - Updated server.ts for dynamic share links - Image dimensions: 1180x912 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+4
-4
@@ -8,9 +8,9 @@
|
||||
<!-- OpenGraph / Social Media Preview -->
|
||||
<meta property="og:title" content="WARIO SYNTH">
|
||||
<meta property="og:description" content="Turn any song into retro game console music">
|
||||
<meta property="og:image" content="/wario-synth.png">
|
||||
<meta property="og:image:width" content="1472">
|
||||
<meta property="og:image:height" content="704">
|
||||
<meta property="og:image" content="/wariosynthlogo.png">
|
||||
<meta property="og:image:width" content="1180">
|
||||
<meta property="og:image:height" content="912">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="https://motif-self.vercel.app">
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:title" content="WARIO SYNTH">
|
||||
<meta name="twitter:description" content="Turn any song into retro game console music">
|
||||
<meta name="twitter:image" content="/wario-synth.png">
|
||||
<meta name="twitter:image" content="/wariosynthlogo.png">
|
||||
|
||||
<!-- General Meta -->
|
||||
<meta name="description" content="WARIO SYNTH - Transform any song into retro Gameboy-style game console music. Search, preview MIDI, and generate chiptune versions.">
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
<!-- OpenGraph / Social Media Preview -->
|
||||
<meta property="og:title" content="WARIO SYNTH" />
|
||||
<meta property="og:description" content="Tap to play this Gameboy tune" />
|
||||
<meta property="og:image" content="https://motif-self.vercel.app/wario-synth.png" />
|
||||
<meta property="og:image:width" content="1472" />
|
||||
<meta property="og:image:height" content="704" />
|
||||
<meta property="og:image" content="https://motif-self.vercel.app/wariosynthlogo.png" />
|
||||
<meta property="og:image:width" content="1180" />
|
||||
<meta property="og:image:height" content="912" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://motif-self.vercel.app/play" />
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:title" content="WARIO SYNTH" />
|
||||
<meta name="twitter:description" content="Tap to play this Gameboy tune" />
|
||||
<meta name="twitter:image" content="https://motif-self.vercel.app/wario-synth.png" />
|
||||
<meta name="twitter:image" content="https://motif-self.vercel.app/wariosynthlogo.png" />
|
||||
|
||||
<style>
|
||||
/* Local Pixel Font */
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.0 MiB |
@@ -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}/wario-synth.png` : '/wario-synth.png';
|
||||
const imageUrl = origin ? `${origin}/wariosynthlogo.png` : '/wariosynthlogo.png';
|
||||
|
||||
const sharedTitle = (payload.title || '').trim();
|
||||
const ogTitle = sharedTitle || 'WARIO SYNTH';
|
||||
@@ -234,8 +234,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="1472" />
|
||||
<meta property="og:image:height" content="704" />
|
||||
<meta property="og:image:width" content="1180" />
|
||||
<meta property="og:image:height" content="912" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="${escapeHtml(shortUrl)}" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user