-
Notifications
You must be signed in to change notification settings - Fork 955
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
Fix readme logo link #783
Conversation
🦋 Changeset detectedLatest 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 |
There was a problem hiding this 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 juststagehand.dev
1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
README.md
Outdated
<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" /> |
There was a problem hiding this comment.
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.
why
what changed
test plan