Skip to content

Add Open Graph meta tags for link previews - #1368

Merged
ebma merged 2 commits into
stagingfrom
feat/og-meta-tags
Sep 11, 2026
Merged

Add Open Graph meta tags for link previews#1368
ebma merged 2 commits into
stagingfrom
feat/og-meta-tags

Conversation

@ebma

@ebma ebma commented Sep 11, 2026

Copy link
Copy Markdown
Member

Why

vortexfinance.co emits no description or og:* tags, so LinkedIn, X, Slack, WhatsApp and iMessage cannot build a link preview. LinkedIn refuses the URL outright ("Es konnte keine Vorschau für diesen Link erstellt werden").

What

  • apps/frontend/src/routes/__root.tsx: add description, og:title, og:description, og:type, og:url, og:image and twitter:card to the root route's head() meta. Title and description reuse the site's own landing copy.
  • apps/frontend/public/og-image.png: 1200×630 placeholder made from the existing 512px mark on white. Swap in a designed asset at the same path; no code change needed.

Verification

  • bun run --cwd apps/frontend typecheck passes.
  • bun run --cwd apps/frontend build passes; dist/client/index.html contains all seven tags.
  • No unit test added: the change is head-meta configuration, and the prerender build is the check that matters. A test importing __root.tsx would pull in the wagmi/provider tree for no additional coverage.

After deploy

LinkedIn caches previews aggressively. Run the URL through https://www.linkedin.com/post-inspector/ once to force a re-crawl.

The site emitted no description or og:* tags, so LinkedIn, X, Slack and
messaging apps could not build a link preview for vortexfinance.co. The
og:image is the existing 512px mark padded to 1200x630 on white so the
preview works today; swap in a designed asset at public/og-image.png
without touching code.
@netlify

netlify Bot commented Sep 11, 2026

Copy link
Copy Markdown

Deploy Preview for vortex-sandbox ready!

Name Link
🔨 Latest commit abc5693
🔍 Latest deploy log https://app.netlify.com/projects/vortex-sandbox/deploys/6aa3d456606fd30008ca1c09
😎 Deploy Preview https://deploy-preview-1368--vortex-sandbox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Sep 11, 2026

Copy link
Copy Markdown

Deploy Preview for vortexfi ready!

Name Link
🔨 Latest commit abc5693
🔍 Latest deploy log https://app.netlify.com/projects/vortexfi/deploys/6aa3d4560cb73000074a1e8b
😎 Deploy Preview https://deploy-preview-1368--vortexfi.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Sep 11, 2026

Copy link
Copy Markdown

Deploy Preview for vrtx-dashboard canceled.

Name Link
🔨 Latest commit abc5693
🔍 Latest deploy log https://app.netlify.com/projects/vrtx-dashboard/deploys/6aa3d456de8397000836ce3b

The placeholder was the 32px circle icon upscaled to 1200x630, so link
previews were visibly pixelated. Render the navbar wordmark (blue.svg,
recolored white) on the landing page's blue-950 background instead.
@ebma
ebma merged commit d6e5435 into staging Sep 11, 2026
6 checks passed
@ebma
ebma deleted the feat/og-meta-tags branch September 11, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant