746615e095
- Loads PDF.js from CDN to avoid SSR issues - Component handles loading state while PDF.js initializes - No more dynamic import errors
20 lines
643 B
TypeScript
20 lines
643 B
TypeScript
"use client";
|
|
|
|
import BackToMC from "@/components/mission-control/BackToMC";
|
|
import PDFViewerClient from "@/components/mission-control/PDFViewerClient";
|
|
|
|
export default function PdfViewerPage() {
|
|
return (
|
|
<div className="min-h-screen bg-slate-950 text-white flex flex-col">
|
|
<div className="bg-slate-900 border-b border-slate-800 px-6 py-4 flex-shrink-0">
|
|
<h1 className="text-2xl font-bold text-white">📄 PDF Viewer</h1>
|
|
<p className="text-slate-400 text-sm">View and analyze PDF documents</p>
|
|
</div>
|
|
|
|
<div className="flex-1 overflow-hidden">
|
|
<PDFViewerClient />
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|