diff --git a/pages/permits.tsx b/pages/permits.tsx index a4d359e..2ffced7 100644 --- a/pages/permits.tsx +++ b/pages/permits.tsx @@ -9,10 +9,19 @@ const PDFViewerPage = ({ pdfFiles }) => { return ( -

Разрешителни

+

Разрешителни

{/* Adjust the 100px based on your header/footer size */} - + {/*

+ {pdfFiles.map((file, index) => ( +

+ + Свали: {file.name} + +

+ ))} +

*/} {pdfFiles.map((file, index) => ( + // // {index > 0 &&
} {/* Vertical line separator */} // { // {file.name} // //
-
- < object data={file.url} type="application/pdf" style={{ width: '100%', height: '100%' }}> -

Вашият браузър не поддържа PDFs файлове. Моля свалете файла за да го разгледате: Свали {file.name}.

-

Your browser does not support PDFs. Please download the PDF to view it: {file.name}.

- -
- + <>

+ + Свали: {file.name} + +

+
+ < object data={file.url} type="application/pdf" style={{ width: '100%', height: '100%' }}> +

Вашият браузър не поддържа PDFs файлове. Моля свалете файла за да го разгледате: Свали {file.name}.

+

Your browser does not support PDFs. Please download the PDF to view it: {file.name}.

+ +
+ ))}