Skip to content

feat: add open graph and twitter meta tags for anvil-cmg (#4797)#4799

Draft
frano-m wants to merge 5 commits intomainfrom
fran/4797-anvil-cmg-og-meta
Draft

feat: add open graph and twitter meta tags for anvil-cmg (#4797)#4799
frano-m wants to merge 5 commits intomainfrom
fran/4797-anvil-cmg-og-meta

Conversation

@frano-m
Copy link
Copy Markdown
Contributor

@frano-m frano-m commented May 1, 2026

Summary

  • Add OgMeta component rendering OG and Twitter meta tags for rich link sharing
  • Wire into _app.tsx so all pages get tags automatically
  • Add 1200x630 OG image with AnVIL branding
  • Default description for all pages; pageTitle flows through from existing getStaticProps

Closes #4797

Test plan

  • Build succeeds (npm run build-cc-dev:anvil-cmg)
  • Unit tests pass (101/101)
  • Inspect HTML source for OG tags on datasets, donors, files pages
  • Validate with https://opengraph.xyz or similar tool

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
frano-m and others added 3 commits May 1, 2026 21:05
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…om labels (#4797)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

[AnVIL DX] Add Open Graph and Twitter meta tags

2 participants