We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2803db commit a8ddcb0Copy full SHA for a8ddcb0
public/qrcode.png
328 KB
src/App.tsx
@@ -74,7 +74,7 @@ export default function App() {
74
onPlaybackRateChange={playerActions.setPlaybackRate}
75
/>
76
77
- <FloatingBall qrCodeUrl="/qrcode.svg" />
+ <FloatingBall qrCodeUrl={`${import.meta.env.BASE_URL}qrcode.png`} />
78
</div>
79
)
80
}
src/components/FloatingBall.tsx
@@ -21,7 +21,7 @@ export function FloatingBall({ qrCodeUrl }: FloatingBallProps) {
21
{isHovered && (
22
<div className={styles.qrCode}>
23
<img src={qrCodeUrl} alt="微信交流群二维码" className={styles.qrImage} />
24
- <p className={styles.qrText}>扫码加入交流群</p>
+ <p className={styles.qrText}>使用微信扫码发送"leetcode"加入算法交流群</p>
25
26
)}
27
0 commit comments