fix: enable svg thumbnail support in Card and listing queries#7388
Conversation
Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
|
@saurabhraghuvanshii Please Review . |
|
🚀 Preview for commit f053334 at: https://697cf4fcb364100077022b23--layer5.netlify.app |
|
Thanks @rishiraj38 lgtm!! |
|
Is this good or should I convert the SVGs to PNG or WebP and fix the issue? |
|
It would be better to convert to webp |
Signed-off-by: Rishi Raj <rishiraj438gt@gmail.com>
|
Having made the changes I think we should convert all SVGs to WebP or PNGs to avoid any future errors. |
|
I’ll fix that in the next PR. Please let me know if there’s anything else needs fixing. |
|
🚀 Preview for commit 28855b1 at: https://697d0718404c6541fc202452--layer5.netlify.app |
|
@rishiraj38 what about svgs images why didn't you remove them? Is they are missing? |
I kept them because some are still used inside the blog content itself (imported in the MDX). Deleting them would crash the build. |
|
🚀 Preview for commit 773b5f8 at: https://697d0be598129d5678744d5a--layer5.netlify.app |
|
Thanks @rishiraj38 lgtm!! |
Description
This PR fixes #7387 resolves an issue where blog posts using SVG thumbnails (e.g., "The Mythical 10x Engineer") were displaying blank cards on the blog listing page.
Signed commits