Skip to content

Add QR code feature#207

Open
Dragon-Rage wants to merge 1 commit intoCodeChefVIT:prodfrom
Dragon-Rage:prod
Open

Add QR code feature#207
Dragon-Rage wants to merge 1 commit intoCodeChefVIT:prodfrom
Dragon-Rage:prod

Conversation

@Dragon-Rage
Copy link

image fixes #191

This pull request adds QR code sharing functionality to the timetable sharing features in both desktop and mobile views. The changes introduce a new QRCode component that uses the next-qrcode library, update UI layouts to accommodate QR codes, and clarify sharing instructions for users.

New QR code sharing feature:

  • Added the next-qrcode dependency to package.json to enable QR code generation.
  • Created a new reusable QRCode component in src/components/ui/QRCode.tsx that renders a QR code for a given URL using the next-qrcode library.

UI updates for sharing:

  • Updated the sharing popup in Popup.tsx to show a QR code and reorganized the layout for sharing links, making it easier for users to scan or copy the link.
  • Updated the mobile view in PopupMobile.tsx to display a QR code alongside the shareable link when sharing is enabled.

@Dragon-Rage Dragon-Rage marked this pull request as draft March 4, 2026 10:32
@Dragon-Rage Dragon-Rage marked this pull request as ready for review March 4, 2026 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QR to share time tables

1 participant