Skip to content

Replace React on Rails logo and brand assets#116

Merged
justin808 merged 1 commit into
mainfrom
jg-conductor/replace-ror-logo-assets
Jun 3, 2026
Merged

Replace React on Rails logo and brand assets#116
justin808 merged 1 commit into
mainfrom
jg-conductor/replace-ror-logo-assets

Conversation

@justin808
Copy link
Copy Markdown
Member

@justin808 justin808 commented Jun 3, 2026

Summary

Replaces the React on Rails logo and brand assets with the finalized mark — a full-triangle ruby, reduced tilt, with an angular glint — and retires the separate "Pro" artwork. The Pro tier now reuses the standard canonical mark everywhere (no more PRO badge variant).

Visual comparison

Brand mark

Before After

The gem is now a full triangle (previously clipped by the orbit), with reduced tilt and an angular highlight. Used for the favicon, navbar, homepage hero, and the Pro section.

Homepage social card (Open Graph)

Before After

Pro: retired badge → dedicated Pro social card

The old logo-mark-pro badge artwork is gone. The /pro page now reuses the standard mark and gets its own social card (same canonical icon, no separate Pro logo).

Before (Pro mark) After (Pro social card)

Changes

Assets (prototypes/docusaurus/static/img/)

  • Added canonical kit: icon-tile.svg (rounded dark-tile mark), favicon.ico, icon-192/512.png, mark-transparent.svg/.png (bare mark), and light/dark horizontal lockups (lockup-light/lockup-dark, svg + png).
  • Added social cards: react-on-rails-social-card.png (homepage/default OG) and react-on-rails-pro-social-card.png (Pro page OG).
  • Removed retired artifacts: logo-mark(.png/.svg), logo-mark-pro(.png/.svg), logo.png, logo-lockup-light/dark.svg, apple-touch-icon.png.

Wiring

  • docusaurus.config.ts: favicon → img/favicon.ico; navbar logo → img/icon-tile.svg.
  • src/pages/index.tsx: hero + Pro-section marks → img/icon-tile.svg.
  • src/pages/pro.tsx: set the Pro page OG image via PageMetadata → Pro social card.

Verification

Full production build (npm run build) passes. Confirmed in the generated HTML:

  • Favicon → /img/favicon.ico
  • Homepage OG/Twitter image → react-on-rails-social-card.png
  • /pro OG/Twitter image → react-on-rails-pro-social-card.png
  • Navbar + hero + Pro mark → /img/icon-tile.svg

(The build also surfaces pre-existing broken-link/anchor warnings in the upstream docs content, unrelated to this change.)

🤖 Generated with Claude Code


Note

Low Risk
Documentation-site static assets and image path updates only; no application logic, auth, or data handling.

Overview
This PR rolls out a new React on Rails brand kit in the Docusaurus prototype and points the site at the new assets instead of the retired logo-mark* files.

Site wiring now uses img/favicon.ico for the favicon, img/icon-tile.svg for the navbar logo, and the same tile mark on the homepage hero and Pro feature block (replacing logo-mark.png and the separate logo-mark-pro.svg). The Pro marketing page sets a dedicated Open Graph image via PageMetadata (react-on-rails-pro-social-card.png).

Static assets add SVG marks and lockups (icon-tile, mark-transparent, lockup-light/lockup-dark) with the updated full-triangle ruby + angular glint artwork, and delete the old logo-mark, logo-mark-pro, and logo-lockup-* SVGs.

Reviewed by Cursor Bugbot for commit 2fe6a3e. Bugbot is set up for automated code reviews on this repo. Configure here.

Swap in the finalized React on Rails brand mark (full-triangle ruby,
reduced tilt, angular glint) and retire the separate "Pro" artwork.

Assets (static/img):
- Add canonical kit: icon-tile.svg (rounded dark tile mark), favicon.ico,
  icon-192/512.png, mark-transparent.svg/.png, and light/dark horizontal
  lockups (svg + png).
- Add social cards: react-on-rails-social-card.png (homepage / default OG)
  and react-on-rails-pro-social-card.png (Pro page OG). Both use the same
  canonical icon; there is no separate Pro logo anymore.
- Remove retired artifacts: logo-mark(.png/.svg), logo-mark-pro(.png/.svg),
  logo.png, logo-lockup-light/dark.svg, and apple-touch-icon.png.

Wiring:
- docusaurus.config.ts: favicon -> img/favicon.ico; navbar logo ->
  img/icon-tile.svg. Default OG image filename is unchanged (new artwork).
- index.tsx: hero and Pro-section marks -> img/icon-tile.svg (Pro reuses
  the standard mark).
- pro.tsx: set the Pro page OG image via PageMetadata to the Pro social card.

Verified with a full production build: favicon, per-page OG/Twitter images,
and navbar/hero marks all resolve to the new assets.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 3, 2026

Warning

Review limit reached

@justin808, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 16 minutes and 45 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 927756d3-17a9-416d-87ca-879916209af0

📥 Commits

Reviewing files that changed from the base of the PR and between 78c978e and 2fe6a3e.

⛔ Files ignored due to path filters (20)
  • prototypes/docusaurus/static/img/apple-touch-icon.png is excluded by !**/*.png
  • prototypes/docusaurus/static/img/favicon.ico is excluded by !**/*.ico
  • prototypes/docusaurus/static/img/icon-192.png is excluded by !**/*.png
  • prototypes/docusaurus/static/img/icon-512.png is excluded by !**/*.png
  • prototypes/docusaurus/static/img/icon-tile.svg is excluded by !**/*.svg
  • prototypes/docusaurus/static/img/lockup-dark.png is excluded by !**/*.png
  • prototypes/docusaurus/static/img/lockup-dark.svg is excluded by !**/*.svg
  • prototypes/docusaurus/static/img/lockup-light.png is excluded by !**/*.png
  • prototypes/docusaurus/static/img/lockup-light.svg is excluded by !**/*.svg
  • prototypes/docusaurus/static/img/logo-lockup-dark.svg is excluded by !**/*.svg
  • prototypes/docusaurus/static/img/logo-lockup-light.svg is excluded by !**/*.svg
  • prototypes/docusaurus/static/img/logo-mark-pro.png is excluded by !**/*.png
  • prototypes/docusaurus/static/img/logo-mark-pro.svg is excluded by !**/*.svg
  • prototypes/docusaurus/static/img/logo-mark.png is excluded by !**/*.png
  • prototypes/docusaurus/static/img/logo-mark.svg is excluded by !**/*.svg
  • prototypes/docusaurus/static/img/logo.png is excluded by !**/*.png
  • prototypes/docusaurus/static/img/mark-transparent-1024.png is excluded by !**/*.png
  • prototypes/docusaurus/static/img/mark-transparent.svg is excluded by !**/*.svg
  • prototypes/docusaurus/static/img/react-on-rails-pro-social-card.png is excluded by !**/*.png
  • prototypes/docusaurus/static/img/react-on-rails-social-card.png is excluded by !**/*.png
📒 Files selected for processing (3)
  • prototypes/docusaurus/docusaurus.config.ts
  • prototypes/docusaurus/src/pages/index.tsx
  • prototypes/docusaurus/src/pages/pro.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jg-conductor/replace-ror-logo-assets

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

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is ON. A cloud agent has been kicked off to fix the reported issue.

Reviewed by Cursor Bugbot for commit 2fe6a3e. Configure here.


function ProSection() {
const proLogoSrc = useBaseUrl('/img/logo-mark-pro.svg');
const proLogoSrc = useBaseUrl('/img/icon-tile.svg');
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pro section alt mismatches image

Low Severity

The Pro feature block now uses the same icon-tile.svg mark as the hero, but the image alt still says it is a distinct Pro logo. That text no longer matches what is shown after retiring the Pro badge artwork.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 2fe6a3e. Configure here.

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Jun 3, 2026

Greptile Summary

Replaces the React on Rails brand assets across the Docusaurus site — new canonical icon, favicon, social cards, and lockup variants — and retires the old logo-mark and logo-mark-pro artwork. The Pro page now reuses the standard icon and gains its own Open Graph social card via PageMetadata.

  • docusaurus.config.ts: Favicon switched from logo-mark.png to favicon.ico; navbar logo switched to icon-tile.svg.
  • index.tsx / pro.tsx: Hero and Pro-section image refs updated to icon-tile.svg; PageMetadata image added to the /pro route for a dedicated OG card.
  • Assets: Eight retired files deleted (old logo-mark*, logo-lockup*, logo.png, apple-touch-icon.png); new canonical kit (icon-tile.svg, favicon, icon-192/512.png, lockups, social cards) added. No dangling references to removed assets remain in the source.

Confidence Score: 5/5

Safe to merge — purely a visual asset swap with no logic changes, and all retired file references have been cleaned up.

Every deleted asset (logo-mark, logo-mark-pro, logo-lockup-, logo.png, apple-touch-icon.png) has been confirmed to have no remaining references in source code. The three code-file changes are mechanical path updates, and the new PageMetadata image path follows the same convention already used by themeConfig.image in docusaurus.config.ts. Brand-kit extras (lockup-, mark-transparent-*) are intentionally added as unreferenced design artifacts for external use.

No files require special attention.

Important Files Changed

Filename Overview
prototypes/docusaurus/docusaurus.config.ts Favicon updated from PNG to ICO; navbar logo updated from logo-mark.png to icon-tile.svg — correct and consistent with Docusaurus conventions.
prototypes/docusaurus/src/pages/index.tsx Hero section and Pro section logo refs both updated to icon-tile.svg via useBaseUrl; straightforward swap with no issues.
prototypes/docusaurus/src/pages/pro.tsx PageMetadata added with Pro-specific OG image; image path pattern matches themeConfig.image convention in docusaurus.config.ts.
prototypes/docusaurus/static/img/icon-tile.svg New canonical brand mark SVG added; referenced by navbar, hero section, and Pro section.
prototypes/docusaurus/static/img/react-on-rails-pro-social-card.png New Pro page OG social card PNG added and wired to the /pro page via PageMetadata.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[docusaurus.config.ts] -->|favicon| B[img/favicon.ico]
    A -->|navbar logo| C[img/icon-tile.svg]
    A -->|global OG image| D[img/react-on-rails-social-card.png]

    E[src/pages/index.tsx] -->|hero logo| C
    E -->|Pro section logo| C

    F[src/pages/pro.tsx] -->|PageMetadata OG image| G[img/react-on-rails-pro-social-card.png]

    H[Brand kit extras] --> I[lockup-light.svg/png]
    H --> J[lockup-dark.svg/png]
    H --> K[mark-transparent.svg]
    H --> L[mark-transparent-1024.png]
    H --> M[icon-192.png / icon-512.png]
Loading

Reviews (1): Last reviewed commit: "Replace React on Rails logo and brand as..." | Re-trigger Greptile

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

Cloudflare preview deployed.

@justin808 justin808 merged commit 9d9a5a6 into main Jun 3, 2026
5 checks passed
@justin808 justin808 deleted the jg-conductor/replace-ror-logo-assets branch June 3, 2026 03:03
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