Skip to content

Commit 37bdc0e

Browse files
Added qr and copy button
1 parent 9714d11 commit 37bdc0e

File tree

5 files changed

+235
-20
lines changed

5 files changed

+235
-20
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"multer": "1.4.5-lts.1",
5353
"next": "^14.2.1",
5454
"next-cloudinary": "^6.6.2",
55+
"next-qrcode": "^2.5.1",
5556
"next-themes": "^0.3.0",
5657
"node-fetch": "^3.3.2",
5758
"node-poppler": "^7.2.2",
@@ -67,6 +68,7 @@
6768
"react-dom": "^18.3.0",
6869
"react-dropzone": "^14.2.3",
6970
"react-hot-toast": "^2.4.1",
71+
"react-icons": "^5.4.0",
7072
"tailwind-merge": "^2.5.3",
7173
"tailwindcss-animate": "^1.0.7",
7274
"use-debounce": "^10.0.3",

pnpm-lock.yaml

Lines changed: 133 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/paper/[id]/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { extractBracketContent } from "@/util/utils";
88
import axios, { type AxiosResponse } from "axios";
99
import { type Metadata } from "next";
1010
import { redirect } from "next/navigation"; // Import redirect
11+
import QR from "@/components/qr";
1112

1213
export async function generateMetadata({
1314
params,

0 commit comments

Comments
 (0)