Whoaa57 commited on
Commit
bf32c1c
·
verified ·
1 Parent(s): 68a5166

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +6 -4
  2. index.html +559 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Meow
3
- emoji: 🚀
4
  colorFrom: yellow
5
- colorTo: gray
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: meow
3
+ emoji: 🐳
4
  colorFrom: yellow
5
+ colorTo: pink
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,559 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>PDF Master | Scan, Edit & Modify PDF Documents</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
12
+ }
13
+ .pdf-preview {
14
+ border: 2px dashed #cbd5e0;
15
+ transition: all 0.3s ease;
16
+ }
17
+ .pdf-preview:hover {
18
+ border-color: #667eea;
19
+ }
20
+ .tool-btn {
21
+ transition: all 0.2s ease;
22
+ }
23
+ .tool-btn:hover {
24
+ transform: translateY(-2px);
25
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
26
+ }
27
+ .page-thumbnail {
28
+ border: 1px solid #e2e8f0;
29
+ }
30
+ .page-thumbnail.active {
31
+ border-color: #667eea;
32
+ box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.5);
33
+ }
34
+ @keyframes pulse {
35
+ 0%, 100% {
36
+ opacity: 1;
37
+ }
38
+ 50% {
39
+ opacity: 0.5;
40
+ }
41
+ }
42
+ .animate-pulse {
43
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
44
+ }
45
+ </style>
46
+ </head>
47
+ <body class="font-sans bg-gray-50">
48
+ <!-- Header -->
49
+ <header class="gradient-bg text-white shadow-lg">
50
+ <div class="container mx-auto px-4 py-6">
51
+ <div class="flex justify-between items-center">
52
+ <div class="flex items-center space-x-2">
53
+ <i class="fas fa-file-pdf text-3xl"></i>
54
+ <h1 class="text-2xl font-bold">PDF Master</h1>
55
+ </div>
56
+ <nav class="hidden md:flex space-x-6">
57
+ <a href="#features" class="hover:text-gray-200 transition">Features</a>
58
+ <a href="#editor" class="hover:text-gray-200 transition">Editor</a>
59
+ <a href="#tools" class="hover:text-gray-200 transition">Tools</a>
60
+ <a href="#faq" class="hover:text-gray-200 transition">FAQ</a>
61
+ </nav>
62
+ <button class="md:hidden text-2xl" id="menu-toggle">
63
+ <i class="fas fa-bars"></i>
64
+ </button>
65
+ </div>
66
+ </div>
67
+
68
+ <!-- Mobile Menu -->
69
+ <div class="md:hidden hidden bg-indigo-800 py-4" id="mobile-menu">
70
+ <div class="container mx-auto px-4 flex flex-col space-y-3">
71
+ <a href="#features" class="hover:text-gray-200 transition">Features</a>
72
+ <a href="#editor" class="hover:text-gray-200 transition">Editor</a>
73
+ <a href="#tools" class="hover:text-gray-200 transition">Tools</a>
74
+ <a href="#faq" class="hover:text-gray-200 transition">FAQ</a>
75
+ </div>
76
+ </div>
77
+ </header>
78
+
79
+ <!-- Hero Section -->
80
+ <section class="gradient-bg text-white py-16">
81
+ <div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
82
+ <div class="md:w-1/2 mb-10 md:mb-0">
83
+ <h2 class="text-4xl font-bold mb-4">Your Complete PDF Solution</h2>
84
+ <p class="text-xl mb-6">Scan, edit, modify and manage your PDF documents with our powerful online tools. No installation required.</p>
85
+ <div class="flex flex-col sm:flex-row space-y-3 sm:space-y-0 sm:space-x-4">
86
+ <button class="bg-white text-indigo-700 font-semibold py-3 px-6 rounded-lg hover:bg-gray-100 transition flex items-center justify-center">
87
+ <i class="fas fa-upload mr-2"></i> Upload PDF
88
+ </button>
89
+ <button class="bg-indigo-800 text-white font-semibold py-3 px-6 rounded-lg hover:bg-indigo-900 transition flex items-center justify-center">
90
+ <i class="fas fa-camera mr-2"></i> Scan Document
91
+ </button>
92
+ </div>
93
+ </div>
94
+ <div class="md:w-1/2 flex justify-center">
95
+ <img src="https://cdn-icons-png.flaticon.com/512/337/337946.png" alt="PDF Document" class="w-64 h-64 object-contain">
96
+ </div>
97
+ </div>
98
+ </section>
99
+
100
+ <!-- Features Section -->
101
+ <section id="features" class="py-16 bg-white">
102
+ <div class="container mx-auto px-4">
103
+ <h2 class="text-3xl font-bold text-center mb-12">Powerful PDF Features</h2>
104
+ <div class="grid md:grid-cols-3 gap-8">
105
+ <!-- Feature 1 -->
106
+ <div class="bg-gray-50 p-6 rounded-lg shadow-md hover:shadow-lg transition">
107
+ <div class="text-indigo-600 text-4xl mb-4">
108
+ <i class="fas fa-camera-retro"></i>
109
+ </div>
110
+ <h3 class="text-xl font-semibold mb-2">Scan Documents</h3>
111
+ <p class="text-gray-600">Turn your physical documents into digital PDFs using your device's camera or scanner.</p>
112
+ </div>
113
+
114
+ <!-- Feature 2 -->
115
+ <div class="bg-gray-50 p-6 rounded-lg shadow-md hover:shadow-lg transition">
116
+ <div class="text-indigo-600 text-4xl mb-4">
117
+ <i class="fas fa-edit"></i>
118
+ </div>
119
+ <h3 class="text-xl font-semibold mb-2">Edit Text & Images</h3>
120
+ <p class="text-gray-600">Modify text, add images, draw shapes, and annotate your PDF documents with ease.</p>
121
+ </div>
122
+
123
+ <!-- Feature 3 -->
124
+ <div class="bg-gray-50 p-6 rounded-lg shadow-md hover:shadow-lg transition">
125
+ <div class="text-indigo-600 text-4xl mb-4">
126
+ <i class="fas fa-lock"></i>
127
+ </div>
128
+ <h3 class="text-xl font-semibold mb-2">Secure & Protect</h3>
129
+ <p class="text-gray-600">Add passwords, watermarks, and redact sensitive information from your PDFs.</p>
130
+ </div>
131
+ </div>
132
+ </div>
133
+ </section>
134
+
135
+ <!-- PDF Editor Section -->
136
+ <section id="editor" class="py-16 bg-gray-50">
137
+ <div class="container mx-auto px-4">
138
+ <h2 class="text-3xl font-bold text-center mb-12">PDF Editor</h2>
139
+
140
+ <div class="bg-white rounded-lg shadow-xl overflow-hidden">
141
+ <!-- Toolbar -->
142
+ <div class="bg-gray-100 p-4 border-b flex flex-wrap items-center gap-2">
143
+ <button class="tool-btn bg-white px-4 py-2 rounded-md border flex items-center">
144
+ <i class="fas fa-file-import mr-2"></i> Open
145
+ </button>
146
+ <button class="tool-btn bg-white px-4 py-2 rounded-md border flex items-center">
147
+ <i class="fas fa-save mr-2"></i> Save
148
+ </button>
149
+ <div class="h-8 border-l border-gray-300 mx-2"></div>
150
+ <button class="tool-btn bg-white px-4 py-2 rounded-md border flex items-center">
151
+ <i class="fas fa-font mr-2"></i> Text
152
+ </button>
153
+ <button class="tool-btn bg-white px-4 py-2 rounded-md border flex items-center">
154
+ <i class="fas fa-image mr-2"></i> Image
155
+ </button>
156
+ <button class="tool-btn bg-white px-4 py-2 rounded-md border flex items-center">
157
+ <i class="fas fa-highlighter mr-2"></i> Highlight
158
+ </button>
159
+ <button class="tool-btn bg-white px-4 py-2 rounded-md border flex items-center">
160
+ <i class="fas fa-pen mr-2"></i> Draw
161
+ </button>
162
+ <div class="h-8 border-l border-gray-300 mx-2"></div>
163
+ <button class="tool-btn bg-white px-4 py-2 rounded-md border flex items-center">
164
+ <i class="fas fa-lock mr-2"></i> Protect
165
+ </button>
166
+ <button class="tool-btn bg-white px-4 py-2 rounded-md border flex items-center">
167
+ <i class="fas fa-print mr-2"></i> Print
168
+ </button>
169
+ </div>
170
+
171
+ <!-- Editor Content -->
172
+ <div class="flex flex-col md:flex-row">
173
+ <!-- Sidebar -->
174
+ <div class="w-full md:w-1/6 bg-gray-50 p-4 border-r">
175
+ <h3 class="font-semibold mb-3">Pages</h3>
176
+ <div class="space-y-2" id="page-thumbnails">
177
+ <div class="page-thumbnail active p-2 bg-white rounded cursor-pointer">
178
+ <img src="https://via.placeholder.com/100x140?text=Page+1" alt="Page 1" class="w-full">
179
+ <p class="text-xs text-center mt-1">Page 1</p>
180
+ </div>
181
+ <div class="page-thumbnail p-2 bg-white rounded cursor-pointer">
182
+ <img src="https://via.placeholder.com/100x140?text=Page+2" alt="Page 2" class="w-full">
183
+ <p class="text-xs text-center mt-1">Page 2</p>
184
+ </div>
185
+ <div class="page-thumbnail p-2 bg-white rounded cursor-pointer">
186
+ <img src="https://via.placeholder.com/100x140?text=Page+3" alt="Page 3" class="w-full">
187
+ <p class="text-xs text-center mt-1">Page 3</p>
188
+ </div>
189
+ </div>
190
+ <button class="mt-4 w-full bg-indigo-600 text-white py-2 rounded hover:bg-indigo-700 transition flex items-center justify-center">
191
+ <i class="fas fa-plus mr-2"></i> Add Page
192
+ </button>
193
+ </div>
194
+
195
+ <!-- Main Editor Area -->
196
+ <div class="w-full md:w-5/6 p-6">
197
+ <div class="pdf-preview h-96 bg-white rounded-lg flex items-center justify-center relative">
198
+ <div class="text-center">
199
+ <i class="fas fa-file-pdf text-5xl text-gray-400 mb-4"></i>
200
+ <p class="text-gray-500">Upload or scan a PDF document to start editing</p>
201
+ <button class="mt-4 bg-indigo-600 text-white py-2 px-6 rounded hover:bg-indigo-700 transition">
202
+ Select File
203
+ </button>
204
+ </div>
205
+ </div>
206
+
207
+ <div class="mt-6 grid grid-cols-2 md:grid-cols-4 gap-4">
208
+ <div class="bg-white p-4 rounded-lg shadow-sm border text-center">
209
+ <i class="fas fa-file-upload text-3xl text-indigo-600 mb-2"></i>
210
+ <h3 class="font-medium">Upload PDF</h3>
211
+ <p class="text-sm text-gray-500 mt-1">From your device</p>
212
+ </div>
213
+ <div class="bg-white p-4 rounded-lg shadow-sm border text-center">
214
+ <i class="fas fa-camera text-3xl text-indigo-600 mb-2"></i>
215
+ <h3 class="font-medium">Scan PDF</h3>
216
+ <p class="text-sm text-gray-500 mt-1">Using your camera</p>
217
+ </div>
218
+ <div class="bg-white p-4 rounded-lg shadow-sm border text-center">
219
+ <i class="fas fa-cloud-upload-alt text-3xl text-indigo-600 mb-2"></i>
220
+ <h3 class="font-medium">Cloud Storage</h3>
221
+ <p class="text-sm text-gray-500 mt-1">Google Drive, Dropbox</p>
222
+ </div>
223
+ <div class="bg-white p-4 rounded-lg shadow-sm border text-center">
224
+ <i class="fas fa-link text-3xl text-indigo-600 mb-2"></i>
225
+ <h3 class="font-medium">From URL</h3>
226
+ <p class="text-sm text-gray-500 mt-1">Enter a web address</p>
227
+ </div>
228
+ </div>
229
+ </div>
230
+ </div>
231
+ </div>
232
+ </div>
233
+ </section>
234
+
235
+ <!-- Tools Section -->
236
+ <section id="tools" class="py-16 bg-white">
237
+ <div class="container mx-auto px-4">
238
+ <h2 class="text-3xl font-bold text-center mb-12">More PDF Tools</h2>
239
+
240
+ <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
241
+ <!-- Tool 1 -->
242
+ <div class="bg-gray-50 rounded-lg overflow-hidden shadow-md hover:shadow-lg transition group">
243
+ <div class="bg-indigo-100 p-6 flex justify-center">
244
+ <i class="fas fa-file-pdf text-6xl text-indigo-600 group-hover:text-indigo-700 transition"></i>
245
+ </div>
246
+ <div class="p-6">
247
+ <h3 class="text-xl font-semibold mb-2">Merge PDFs</h3>
248
+ <p class="text-gray-600 mb-4">Combine multiple PDF files into a single document in seconds.</p>
249
+ <button class="text-indigo-600 font-medium flex items-center">
250
+ Try it now <i class="fas fa-arrow-right ml-2"></i>
251
+ </button>
252
+ </div>
253
+ </div>
254
+
255
+ <!-- Tool 2 -->
256
+ <div class="bg-gray-50 rounded-lg overflow-hidden shadow-md hover:shadow-lg transition group">
257
+ <div class="bg-indigo-100 p-6 flex justify-center">
258
+ <i class="fas fa-cut text-6xl text-indigo-600 group-hover:text-indigo-700 transition"></i>
259
+ </div>
260
+ <div class="p-6">
261
+ <h3 class="text-xl font-semibold mb-2">Split PDF</h3>
262
+ <p class="text-gray-600 mb-4">Extract pages or split your PDF into multiple files.</p>
263
+ <button class="text-indigo-600 font-medium flex items-center">
264
+ Try it now <i class="fas fa-arrow-right ml-2"></i>
265
+ </button>
266
+ </div>
267
+ </div>
268
+
269
+ <!-- Tool 3 -->
270
+ <div class="bg-gray-50 rounded-lg overflow-hidden shadow-md hover:shadow-lg transition group">
271
+ <div class="bg-indigo-100 p-6 flex justify-center">
272
+ <i class="fas fa-file-word text-6xl text-indigo-600 group-hover:text-indigo-700 transition"></i>
273
+ </div>
274
+ <div class="p-6">
275
+ <h3 class="text-xl font-semibold mb-2">PDF to Word</h3>
276
+ <p class="text-gray-600 mb-4">Convert your PDF documents to editable Word files.</p>
277
+ <button class="text-indigo-600 font-medium flex items-center">
278
+ Try it now <i class="fas fa-arrow-right ml-2"></i>
279
+ </button>
280
+ </div>
281
+ </div>
282
+
283
+ <!-- Tool 4 -->
284
+ <div class="bg-gray-50 rounded-lg overflow-hidden shadow-md hover:shadow-lg transition group">
285
+ <div class="bg-indigo-100 p-6 flex justify-center">
286
+ <i class="fas fa-file-excel text-6xl text-indigo-600 group-hover:text-indigo-700 transition"></i>
287
+ </div>
288
+ <div class="p-6">
289
+ <h3 class="text-xl font-semibold mb-2">PDF to Excel</h3>
290
+ <p class="text-gray-600 mb-4">Convert PDF tables to editable Excel spreadsheets.</p>
291
+ <button class="text-indigo-600 font-medium flex items-center">
292
+ Try it now <i class="fas fa-arrow-right ml-2"></i>
293
+ </button>
294
+ </div>
295
+ </div>
296
+
297
+ <!-- Tool 5 -->
298
+ <div class="bg-gray-50 rounded-lg overflow-hidden shadow-md hover:shadow-lg transition group">
299
+ <div class="bg-indigo-100 p-6 flex justify-center">
300
+ <i class="fas fa-file-image text-6xl text-indigo-600 group-hover:text-indigo-700 transition"></i>
301
+ </div>
302
+ <div class="p-6">
303
+ <h3 class="text-xl font-semibold mb-2">PDF to JPG</h3>
304
+ <p class="text-gray-600 mb-4">Convert each PDF page to a JPG image.</p>
305
+ <button class="text-indigo-600 font-medium flex items-center">
306
+ Try it now <i class="fas fa-arrow-right ml-2"></i>
307
+ </button>
308
+ </div>
309
+ </div>
310
+
311
+ <!-- Tool 6 -->
312
+ <div class="bg-gray-50 rounded-lg overflow-hidden shadow-md hover:shadow-lg transition group">
313
+ <div class="bg-indigo-100 p-6 flex justify-center">
314
+ <i class="fas fa-file-signature text-6xl text-indigo-600 group-hover:text-indigo-700 transition"></i>
315
+ </div>
316
+ <div class="p-6">
317
+ <h3 class="text-xl font-semibold mb-2">Sign PDF</h3>
318
+ <p class="text-gray-600 mb-4">Add your digital signature to PDF documents.</p>
319
+ <button class="text-indigo-600 font-medium flex items-center">
320
+ Try it now <i class="fas fa-arrow-right ml-2"></i>
321
+ </button>
322
+ </div>
323
+ </div>
324
+ </div>
325
+ </div>
326
+ </section>
327
+
328
+ <!-- FAQ Section -->
329
+ <section id="faq" class="py-16 bg-gray-50">
330
+ <div class="container mx-auto px-4">
331
+ <h2 class="text-3xl font-bold text-center mb-12">Frequently Asked Questions</h2>
332
+
333
+ <div class="max-w-3xl mx-auto space-y-4">
334
+ <!-- FAQ Item 1 -->
335
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
336
+ <button class="faq-toggle w-full p-4 text-left flex justify-between items-center">
337
+ <span class="font-medium">How do I scan a document to PDF?</span>
338
+ <i class="fas fa-chevron-down transition-transform duration-300"></i>
339
+ </button>
340
+ <div class="faq-content px-4 pb-0 max-h-0 overflow-hidden transition-all duration-300">
341
+ <div class="pb-4 text-gray-600">
342
+ <p>To scan a document to PDF:</p>
343
+ <ol class="list-decimal pl-5 mt-2 space-y-1">
344
+ <li>Click on the "Scan Document" button</li>
345
+ <li>Allow camera access when prompted</li>
346
+ <li>Position your document within the frame</li>
347
+ <li>Capture the image</li>
348
+ <li>Adjust the edges if needed</li>
349
+ <li>Click "Create PDF" to generate your document</li>
350
+ </ol>
351
+ </div>
352
+ </div>
353
+ </div>
354
+
355
+ <!-- FAQ Item 2 -->
356
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
357
+ <button class="faq-toggle w-full p-4 text-left flex justify-between items-center">
358
+ <span class="font-medium">Is my PDF document secure?</span>
359
+ <i class="fas fa-chevron-down transition-transform duration-300"></i>
360
+ </button>
361
+ <div class="faq-content px-4 pb-0 max-h-0 overflow-hidden transition-all duration-300">
362
+ <div class="pb-4 text-gray-600">
363
+ <p>Yes, your documents are completely secure. We use industry-standard encryption for all file transfers and processing. Your files are never stored permanently on our servers unless you explicitly choose to save them.</p>
364
+ <p class="mt-2">For additional security, you can add passwords and permissions to your PDF documents using our protection tools.</p>
365
+ </div>
366
+ </div>
367
+ </div>
368
+
369
+ <!-- FAQ Item 3 -->
370
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
371
+ <button class="faq-toggle w-full p-4 text-left flex justify-between items-center">
372
+ <span class="font-medium">Can I edit text in a scanned PDF?</span>
373
+ <i class="fas fa-chevron-down transition-transform duration-300"></i>
374
+ </button>
375
+ <div class="faq-content px-4 pb-0 max-h-0 overflow-hidden transition-all duration-300">
376
+ <div class="pb-4 text-gray-600">
377
+ <p>Scanned PDFs are initially image-based. To edit text in a scanned PDF:</p>
378
+ <ol class="list-decimal pl-5 mt-2 space-y-1">
379
+ <li>Use our OCR (Optical Character Recognition) tool to convert the scanned image to editable text</li>
380
+ <li>Once processed, you can edit the text directly in the PDF editor</li>
381
+ <li>Save your changes to the document</li>
382
+ </ol>
383
+ <p class="mt-2">Note: OCR accuracy depends on the quality of the original scan.</p>
384
+ </div>
385
+ </div>
386
+ </div>
387
+
388
+ <!-- FAQ Item 4 -->
389
+ <div class="bg-white rounded-lg shadow-md overflow-hidden">
390
+ <button class="faq-toggle w-full p-4 text-left flex justify-between items-center">
391
+ <span class="font-medium">What file formats can I convert to PDF?</span>
392
+ <i class="fas fa-chevron-down transition-transform duration-300"></i>
393
+ </button>
394
+ <div class="faq-content px-4 pb-0 max-h-0 overflow-hidden transition-all duration-300">
395
+ <div class="pb-4 text-gray-600">
396
+ <p>You can convert the following file formats to PDF:</p>
397
+ <div class="grid grid-cols-2 md:grid-cols-3 gap-2 mt-2">
398
+ <div class="flex items-center">
399
+ <i class="fas fa-file-word text-indigo-600 mr-2"></i>
400
+ <span>Word (.doc, .docx)</span>
401
+ </div>
402
+ <div class="flex items-center">
403
+ <i class="fas fa-file-excel text-indigo-600 mr-2"></i>
404
+ <span>Excel (.xls, .xlsx)</span>
405
+ </div>
406
+ <div class="flex items-center">
407
+ <i class="fas fa-file-powerpoint text-indigo-600 mr-2"></i>
408
+ <span>PowerPoint (.ppt, .pptx)</span>
409
+ </div>
410
+ <div class="flex items-center">
411
+ <i class="fas fa-file-image text-indigo-600 mr-2"></i>
412
+ <span>Images (.jpg, .png)</span>
413
+ </div>
414
+ <div class="flex items-center">
415
+ <i class="fas fa-file-alt text-indigo-600 mr-2"></i>
416
+ <span>Text (.txt)</span>
417
+ </div>
418
+ <div class="flex items-center">
419
+ <i class="fas fa-file-code text-indigo-600 mr-2"></i>
420
+ <span>HTML (.html)</span>
421
+ </div>
422
+ </div>
423
+ </div>
424
+ </div>
425
+ </div>
426
+ </div>
427
+ </div>
428
+ </section>
429
+
430
+ <!-- CTA Section -->
431
+ <section class="gradient-bg text-white py-16">
432
+ <div class="container mx-auto px-4 text-center">
433
+ <h2 class="text-3xl font-bold mb-6">Ready to Master Your PDFs?</h2>
434
+ <p class="text-xl mb-8 max-w-2xl mx-auto">Join thousands of users who trust PDF Master for all their document needs. No registration required.</p>
435
+ <button class="bg-white text-indigo-700 font-semibold py-3 px-8 rounded-lg hover:bg-gray-100 transition text-lg">
436
+ Start Editing Now <i class="fas fa-arrow-right ml-2"></i>
437
+ </button>
438
+ </div>
439
+ </section>
440
+
441
+ <!-- Footer -->
442
+ <footer class="bg-gray-900 text-white py-12">
443
+ <div class="container mx-auto px-4">
444
+ <div class="grid md:grid-cols-4 gap-8">
445
+ <div>
446
+ <div class="flex items-center space-x-2 mb-4">
447
+ <i class="fas fa-file-pdf text-2xl text-indigo-400"></i>
448
+ <h3 class="text-xl font-bold">PDF Master</h3>
449
+ </div>
450
+ <p class="text-gray-400">Your complete solution for scanning, editing and managing PDF documents online.</p>
451
+ </div>
452
+
453
+ <div>
454
+ <h4 class="text-lg font-semibold mb-4">Quick Links</h4>
455
+ <ul class="space-y-2 text-gray-400">
456
+ <li><a href="#" class="hover:text-white transition">Home</a></li>
457
+ <li><a href="#features" class="hover:text-white transition">Features</a></li>
458
+ <li><a href="#editor" class="hover:text-white transition">Editor</a></li>
459
+ <li><a href="#tools" class="hover:text-white transition">Tools</a></li>
460
+ <li><a href="#faq" class="hover:text-white transition">FAQ</a></li>
461
+ </ul>
462
+ </div>
463
+
464
+ <div>
465
+ <h4 class="text-lg font-semibold mb-4">PDF Tools</h4>
466
+ <ul class="space-y-2 text-gray-400">
467
+ <li><a href="#" class="hover:text-white transition">Merge PDF</a></li>
468
+ <li><a href="#" class="hover:text-white transition">Split PDF</a></li>
469
+ <li><a href="#" class="hover:text-white transition">Compress PDF</a></li>
470
+ <li><a href="#" class="hover:text-white transition">PDF to Word</a></li>
471
+ <li><a href="#" class="hover:text-white transition">PDF to Excel</a></li>
472
+ </ul>
473
+ </div>
474
+
475
+ <div>
476
+ <h4 class="text-lg font-semibold mb-4">Connect With Us</h4>
477
+ <div class="flex space-x-4 mb-4">
478
+ <a href="#" class="text-gray-400 hover:text-white transition text-xl"><i class="fab fa-facebook"></i></a>
479
+ <a href="#" class="text-gray-400 hover:text-white transition text-xl"><i class="fab fa-twitter"></i></a>
480
+ <a href="#" class="text-gray-400 hover:text-white transition text-xl"><i class="fab fa-instagram"></i></a>
481
+ <a href="#" class="text-gray-400 hover:text-white transition text-xl"><i class="fab fa-linkedin"></i></a>
482
+ </div>
483
+ <p class="text-gray-400">[email protected]</p>
484
+ </div>
485
+ </div>
486
+
487
+ <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-400">
488
+ <p>&copy; 2023 PDF Master. All rights reserved.</p>
489
+ </div>
490
+ </div>
491
+ </footer>
492
+
493
+ <script>
494
+ // Mobile menu toggle
495
+ document.getElementById('menu-toggle').addEventListener('click', function() {
496
+ const menu = document.getElementById('mobile-menu');
497
+ menu.classList.toggle('hidden');
498
+ });
499
+
500
+ // FAQ accordion
501
+ document.querySelectorAll('.faq-toggle').forEach(button => {
502
+ button.addEventListener('click', () => {
503
+ const content = button.nextElementSibling;
504
+ const icon = button.querySelector('i');
505
+
506
+ // Toggle content
507
+ if (content.style.maxHeight) {
508
+ content.style.maxHeight = null;
509
+ icon.style.transform = 'rotate(0deg)';
510
+ } else {
511
+ content.style.maxHeight = content.scrollHeight + 'px';
512
+ icon.style.transform = 'rotate(180deg)';
513
+ }
514
+ });
515
+ });
516
+
517
+ // Page thumbnail selection
518
+ document.querySelectorAll('.page-thumbnail').forEach(thumbnail => {
519
+ thumbnail.addEventListener('click', () => {
520
+ document.querySelectorAll('.page-thumbnail').forEach(t => t.classList.remove('active'));
521
+ thumbnail.classList.add('active');
522
+ });
523
+ });
524
+
525
+ // Simulate file upload
526
+ document.querySelector('.pdf-preview button').addEventListener('click', function() {
527
+ const preview = document.querySelector('.pdf-preview');
528
+ preview.innerHTML = `
529
+ <div class="w-full h-full flex flex-col items-center justify-center p-8">
530
+ <div class="animate-pulse mb-4">
531
+ <i class="fas fa-file-pdf text-5xl text-indigo-600"></i>
532
+ </div>
533
+ <p class="text-gray-600 mb-4">Processing your document...</p>
534
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
535
+ <div class="bg-indigo-600 h-2.5 rounded-full" style="width: 45%"></div>
536
+ </div>
537
+ </div>
538
+ `;
539
+
540
+ // Simulate processing completion after 3 seconds
541
+ setTimeout(() => {
542
+ preview.innerHTML = `
543
+ <div class="w-full h-full relative">
544
+ <iframe src="https://mozilla.github.io/pdf.js/web/viewer.html" class="w-full h-full border-0"></iframe>
545
+ <div class="absolute bottom-4 right-4 flex space-x-2">
546
+ <button class="bg-indigo-600 text-white p-2 rounded-full hover:bg-indigo-700 transition">
547
+ <i class="fas fa-plus"></i>
548
+ </button>
549
+ <button class="bg-indigo-600 text-white p-2 rounded-full hover:bg-indigo-700 transition">
550
+ <i class="fas fa-download"></i>
551
+ </button>
552
+ </div>
553
+ </div>
554
+ `;
555
+ }, 3000);
556
+ });
557
+ </script>
558
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Whoaa57/meow" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
559
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ create a one page website , to scan pdf , edit and modify pdf documents