Skip to content

Add QR code feature#207

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

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

Conversation

@Dragon-Rage
Copy link
Copy Markdown

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
@atharvaSharma17 atharvaSharma17 self-requested a review April 29, 2026 20:53
Copy link
Copy Markdown
Collaborator

@atharvaSharma17 atharvaSharma17 left a comment

Choose a reason for hiding this comment

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

Lgtm.

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

2 participants