Skip to content

fix(site): refresh social preview image - #152

Merged
Sergey-Bar merged 3 commits into
mainfrom
fix/site-og-image
Dec 1, 2026
Merged

Sergey-Bar merged 3 commits into
mainfrom
fix/site-og-image

Conversation

@Sergey-Bar

@Sergey-Bar Sergey-Bar commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Replaces og-he/og-en (they showed the old hero copy) with a card built from the current headline and demo screenshot. Template: scripts/site/og-card.html (open with #he or #en, screenshot at 1200x630).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added a branded 1200 × 630 social sharing card featuring Penny branding, a badge, and a demo-image area.
    • The card displays Hebrew or English text based on the selected language and adjusts its text direction and demo image accordingly. Hebrew is shown by default when no language is specified.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 55 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 734ea63f-9b0d-41f3-82ef-894b5597420d
Commits

Reviewing files that changed from the base of the PR and between 5b9efcc and 073fc90.

Files ignored due to path filters: 6

  • scripts/site/og/map-en.png is excluded by !**/*.png
  • scripts/site/og/map-he.png is excluded by !**/*.png
  • website/assets/og-en.jpg is excluded by !**/*.jpg
  • website/assets/og-en.png is excluded by !**/*.png
  • website/assets/og-he.jpg is excluded by !**/*.jpg
  • website/assets/og-he.png is excluded by !**/*.png
Files selected for processing: 1

  • scripts/site/og-card.html

No actionable comments were generated in the recent review.

Walkthrough

Adds a 1200×630 Open Graph card with Penny branding, a badge, and a demo image. The URL hash selects Hebrew or English content. When the hash is absent, the card defaults to Hebrew.

Changes: Open Graph Card

Layer / File(s) Summary
Card layout and localized rendering
scripts/site/og-card.html
Adds the card styling and markup. A script selects Hebrew by default or uses English when selected by the URL hash, then sets the document language, direction, text, and demo-image path.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Merge Risk: Minimal · previous review 5b9ef · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "fix(site): refresh social preview image" matches the main change. The PR replaces the outdated og-he and og-en social preview cards with new cards built from a template (scripts/site/og-car…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "fix(site): refresh social preview image" matches the main change. The PR replaces the outdated og-he and og-en social preview cards with new cards built from a template (scripts/site/og-card.html) using the current headline and demo screenshot. The title is short, specific, and follows a conventional-commit style. It does not cover the template or the bilingual selection, which is acceptable.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b3e923b9-12c5-4cb7-9511-54de5a057ff5
Commits

Reviewing files that changed from the base of the PR and between 0cde638 and 5b9efcc.

Files ignored due to path filters: 4

  • website/assets/og-en.jpg is excluded by !**/*.jpg
  • website/assets/og-en.png is excluded by !**/*.png
  • website/assets/og-he.jpg is excluded by !**/*.jpg
  • website/assets/og-he.png is excluded by !**/*.png
Files selected for processing: 1

  • scripts/site/og-card.html

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Sergey-Bar and others added 2 commits December 1, 2026 19:14
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Sergey-Bar
Sergey-Bar enabled auto-merge (squash) December 1, 2026 17:16
@Sergey-Bar
Sergey-Bar merged commit 3aa6a51 into main Dec 1, 2026
13 checks passed
@Sergey-Bar
Sergey-Bar deleted the fix/site-og-image branch December 1, 2026 17:23
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