-
-
Notifications
You must be signed in to change notification settings - Fork 22
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 featured sponsors SVG (404 error) #192
Conversation
Oooooh, I like how well-documented your issue is. I'm going to look into improving my own haha. |
Thanks, I compared the output for them:
There is a difference in |
This might take a little while. I tried a couple of approaches but I haven't reached the same results yet. |
I agree with any decision. The image has been down for almost two weeks, and I just noticed it now. If it can wait longer, I don't mind. |
The bottom line is, thanks to both of you for your work on this. |
Deploying ddev-com-front-end with
|
Latest commit: |
f3f5d40
|
Status: | ✅ Deploy successful! |
Preview URL: | https://a91f6ee5.ddev-com-front-end.pages.dev |
Branch Preview URL: | https://20240416-fix-featured-sponso.ddev-com-front-end.pages.dev |
Should be better now, without any library 🙂 Not sure why the test fails:
|
The Issue
The sponsors image is broken https://github.com/ddev/ddev#wonderful-sponsors
https://ddev.com/resources/featured-sponsors.svg
https://ddev.com/resources/featured-sponsors-darkmode.svg
https://github.com/ddev/ddev.com/actions/runs/8649477119/job/23715791078#step:6:227
How This PR Solves The Issue
There were two issues after:
changes in Astro routes, I fixed it with this instruction.
using node-base64-image - I don't know much about JS so I just changed the library back to base64-img.
Manual Testing Instructions
Check for
/resources/featured-sponsors.svg
and/resources/featured-sponsors-darkmode.svg
https://20240416-fix-featured-sponso.ddev-com-front-end.pages.dev/resources/featured-sponsors.svg
https://20240416-fix-featured-sponso.ddev-com-front-end.pages.dev/resources/featured-sponsors-darkmode.svg
Automated Testing Overview
Related Issue Link(s)
Release/Deployment Notes