fix(pdf-viewer): use PDF.js with client-side rendering

- Created PDFViewerClient component with PDF.js
- Uses dynamic import with ssr: false to avoid server-side issues
- Full page navigation and zoom controls
- Upload or load from URL
This commit is contained in:
2026-03-23 21:51:16 +01:00
parent 6c605a5391
commit 76e37e2363
5 changed files with 296 additions and 190 deletions
+1
View File
@@ -21,6 +21,7 @@
"framer-motion": "^12.23.12",
"lightweight-charts": "^5.1.0",
"next": "^15.5.3",
"pdfjs-dist": "^5.5.207",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-pdf": "^10.4.1",