Skip to content

fix: use SvgWrapper in LinkCard & NavScreenMenuGroup#2381

Merged
SoonIter merged 2 commits intoweb-infra-dev:mainfrom
jbroma:fix/missing-svg-wrappers
Jul 15, 2025
Merged

fix: use SvgWrapper in LinkCard & NavScreenMenuGroup#2381
SoonIter merged 2 commits intoweb-infra-dev:mainfrom
jbroma:fix/missing-svg-wrappers

Conversation

@jbroma
Copy link
Copy Markdown
Contributor

@jbroma jbroma commented Jul 14, 2025

Summary

This PR fixes the issue were LinkCard would fail to render when replacing theme assets (as demonstrated here: https://v2.rspress.rs/guide/advanced/custom-theme#4-custom-icon). This is because it was not using SvgWrapper like every other theme component

I've also noticed the same issue with NavScreenMenuGroup and also fixed it within this PR

Related issue

n/a

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify bot commented Jul 14, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit f8639d7
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/68755036afe9630008214f85
😎 Deploy Preview https://deploy-preview-2381--rspress-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Jul 14, 2025

Deploy Preview for rspress ready!

Name Link
🔨 Latest commit f8639d7
🔍 Latest deploy log https://app.netlify.com/projects/rspress/deploys/68755036a018030008ef46fa
😎 Deploy Preview https://deploy-preview-2381--rspress.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 78 (🔴 down 18 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (🟢 up 9 from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@SoonIter
Copy link
Copy Markdown
Member

thanks❤

@SoonIter SoonIter merged commit ca01858 into web-infra-dev:main Jul 15, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants