Skip to content

Fix readme logo link #783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 29, 2025
Merged

Fix readme logo link #783

merged 6 commits into from
May 29, 2025

Conversation

miguelg719
Copy link
Collaborator

why

what changed

test plan

Copy link

changeset-bot bot commented May 29, 2025

🦋 Changeset detected

Latest commit: 50f7007

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@miguelg719 miguelg719 marked this pull request as ready for review May 29, 2025 21:52
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Updated the README.md logo source to use Next.js's image optimization service instead of a direct SVG link.

  • Logo source now uses Next.js's image optimization with specific width (384px) and quality (75%) parameters
  • Consider adding alt text to improve accessibility of the logo image
  • Verify that the dark mode source (logo-dark.svg) still functions correctly with the media query
  • Ensure the new .webp format is supported across all target platforms/browsers
  • Double check that the absolute URL www.stagehand.dev is the intended domain vs just stagehand.dev

1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

README.md Outdated
Comment on lines 5 to 6
<source media="(prefers-color-scheme: dark)" srcset="https://stagehand.dev/logo-dark.svg" />
<img alt="Stagehand" src="https://stagehand.dev/logo-light.svg" />
<img alt="Stagehand" src="https://www.stagehand.dev/_next/image?url=%2Flogos%2Fmain-logo.webp&w=384&q=75" />
Copy link
Contributor

Choose a reason for hiding this comment

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

style: Dark mode logo source remains unchanged while light mode uses a different domain (www vs non-www) and format (svg vs webp). This inconsistency could cause maintenance issues.

@miguelg719 miguelg719 merged commit 4de92a8 into main May 29, 2025
14 checks passed
@github-actions github-actions bot mentioned this pull request May 29, 2025
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.

2 participants