Skip to content

Commit

Permalink
Added qr and copy button
Browse files Browse the repository at this point in the history
  • Loading branch information
abhitrueprogrammer committed Jan 14, 2025
1 parent 9714d11 commit 37bdc0e
Show file tree
Hide file tree
Showing 5 changed files with 235 additions and 20 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"multer": "1.4.5-lts.1",
"next": "^14.2.1",
"next-cloudinary": "^6.6.2",
"next-qrcode": "^2.5.1",
"next-themes": "^0.3.0",
"node-fetch": "^3.3.2",
"node-poppler": "^7.2.2",
Expand All @@ -67,6 +68,7 @@
"react-dom": "^18.3.0",
"react-dropzone": "^14.2.3",
"react-hot-toast": "^2.4.1",
"react-icons": "^5.4.0",
"tailwind-merge": "^2.5.3",
"tailwindcss-animate": "^1.0.7",
"use-debounce": "^10.0.3",
Expand Down
133 changes: 133 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/app/paper/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { extractBracketContent } from "@/util/utils";
import axios, { type AxiosResponse } from "axios";
import { type Metadata } from "next";
import { redirect } from "next/navigation"; // Import redirect
import QR from "@/components/qr";

export async function generateMetadata({
params,
Expand Down
Loading

0 comments on commit 37bdc0e

Please sign in to comment.