Skip to content

fix: improve Open Graph meta tags with 1200x630 social preview image - #631

Closed
astra-intelligence wants to merge 2 commits into
NextCommunity:mainfrom
astra-intelligence:main
Closed

astra-intelligence wants to merge 2 commits into
NextCommunity:mainfrom
astra-intelligence:main

Conversation

@astra-intelligence

Copy link
Copy Markdown

Summary

This PR fixes the Open Graph meta tags on the NextCommunity site by:

  1. Adding og:image:width (1200) and og:image:height (630) — These required tags ensure social platforms (Twitter, LinkedIn, Facebook, Discord) properly render the preview at the correct aspect ratio instead of guessing or falling back.

  2. Updating the default OG image from next.jpeg (small logo) to a proper 1200x630 social preview banner — The new image features "NextCommunity Developer Directory" branding with a modern dark-tech aesthetic and blue (#2563eb) accent theme, matching the site's design language.

Testing

  • Run the site locally with npx @11ty/eleventy --serve and verify the OG tags appear in the HTML head
  • Preview at https://www.opengraph.xyz/ after deployment

Related

Closes #499

- Added og:image:width (1200) and og:image:height (630) meta tags
- Changed default OG image from small logo (next.jpeg) to proper 1200x630
  social preview banner (/assets/img/og-default.jpg)
- OG image features 'NextCommunity Developer Directory' branding with
  modern dark tech aesthetic and blue (#2563eb) accent theme

Closes NextCommunity#499
@deepsource-io

deepsource-io Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 937b3eb...7931c00 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
JavaScript Sep 29, 2026 2:30p.m. Review ↗
Secrets Sep 29, 2026 2:30p.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

Both index.njk and games.njk had frontmatter explicitly overriding the
default OG image with next.jpeg. Updated to og-default.jpg so the new
1200x630 social preview banner is used across all pages.
@astra-intelligence

Copy link
Copy Markdown
Author

Closing this PR as it was submitted without prior assignment per the bounty rules (Issue #613: Assignment Mandatory). I have requested assignment on the underlying issue and will reopen/refile after receiving it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Open Graph Meta Tags Issues

1 participant