Skip to content

Comments

docs: remove HomeBackground and navTransparent hack#6601

Merged
chenjiahan merged 1 commit intomainfrom
syt/rspress
Nov 18, 2025
Merged

docs: remove HomeBackground and navTransparent hack#6601
chenjiahan merged 1 commit intomainfrom
syt/rspress

Conversation

@SoonIter
Copy link
Member

Summary

docs: remove HomeBackground and navTransparent hack

Related Links

web-infra-dev/rspack#12224

Checklist

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

Copilot AI review requested due to automatic review settings November 18, 2025 04:36
@netlify
Copy link

netlify bot commented Nov 18, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit e05396b
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/691bf7b59b666f0008ae321a
😎 Deploy Preview https://deploy-preview-6601--rsbuild.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: 70 (🔴 down 2 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

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

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes an unnecessary wrapper component and simplifies the home page implementation. The changes eliminate a workaround that was previously needed to achieve a transparent navigation bar at the top of the page.

  • Removed the HomeBackground wrapper component and the import of BasicHomeBackground from @rspress/core/theme
  • Simplified the home layout by directly using BackgroundImage instead of the wrapper

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chenjiahan chenjiahan merged commit 15a5de6 into main Nov 18, 2025
18 checks passed
@chenjiahan chenjiahan deleted the syt/rspress branch November 18, 2025 04:58
@chenjiahan chenjiahan mentioned this pull request Nov 18, 2025
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