From 2cc873151948f77e6a042326a3e6c3f6c65a6607 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Wed, 6 Mar 2024 22:41:12 +0200 Subject: [PATCH] guidelines download link --- pages/permits.tsx | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) 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}.

+ +
+ ))}