Samsailo commited on
Commit
5572f8e
·
verified ·
1 Parent(s): be77f60

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +671 -19
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Ooh Ggf
3
- emoji: 🏢
4
- colorFrom: purple
5
- colorTo: blue
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: ooh-ggf
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: green
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,671 @@
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>BookWright - Professional Book Design Tool</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
9
+ <script>
10
+ tailwind.config = {
11
+ theme: {
12
+ extend: {
13
+ colors: {
14
+ primary: '#2563eb',
15
+ secondary: '#0ea5e9',
16
+ accent: '#8b5cf6',
17
+ dark: '#1e293b',
18
+ light: '#f8fafc'
19
+ },
20
+ fontFamily: {
21
+ sans: ['Inter', 'sans-serif']
22
+ }
23
+ }
24
+ }
25
+ }
26
+ </script>
27
+ <style>
28
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
29
+
30
+ body {
31
+ font-family: 'Inter', sans-serif;
32
+ overflow: hidden;
33
+ -webkit-font-smoothing: antialiased;
34
+ -moz-osx-font-smoothing: grayscale;
35
+ }
36
+
37
+ .canvas-container {
38
+ position: relative;
39
+ overflow: auto;
40
+ background-image: linear-gradient(45deg, #f1f5f9 25%, transparent 25%),
41
+ linear-gradient(-45deg, #f1f5f9 25%, transparent 25%),
42
+ linear-gradient(45deg, transparent 75%, #f1f5f9 75%),
43
+ linear-gradient(-45deg, transparent 75%, #f1f5f9 75%);
44
+ background-size: 20px 20px;
45
+ background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
46
+ }
47
+
48
+ .book-page {
49
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
50
+ border: 1px solid #cbd5e1;
51
+ background: white;
52
+ }
53
+
54
+ .grid-guide {
55
+ position: absolute;
56
+ border-style: dashed;
57
+ pointer-events: none;
58
+ }
59
+
60
+ .tool-icon {
61
+ @apply w-10 h-10 flex items-center justify-center rounded-md text-indigo-700 hover:bg-indigo-100 transition-all cursor-pointer;
62
+ }
63
+
64
+ .draggable-item {
65
+ @apply cursor-grab active:cursor-grabbing select-none;
66
+ }
67
+
68
+ .draggable-item:hover {
69
+ transform: translateY(-2px);
70
+ filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
71
+ }
72
+
73
+ /* Custom scrollbar */
74
+ ::-webkit-scrollbar {
75
+ width: 8px;
76
+ height: 8px;
77
+ }
78
+
79
+ ::-webkit-scrollbar-track {
80
+ background: #f1f5f9;
81
+ }
82
+
83
+ ::-webkit-scrollbar-thumb {
84
+ background: #cbd5e1;
85
+ border-radius: 4px;
86
+ }
87
+ </style>
88
+ </head>
89
+ <body class="bg-slate-50 text-slate-800 flex flex-col h-screen">
90
+ <!-- Top Toolbar -->
91
+ <header class="bg-white border-b border-slate-200 py-2 px-4 shadow-sm">
92
+ <div class="flex items-center justify-between">
93
+ <div class="flex items-center space-x-6">
94
+ <div class="flex items-center">
95
+ <span class="text-indigo-700 mr-2">
96
+ <i class="fas fa-book text-2xl"></i>
97
+ </span>
98
+ <h1 class="text-xl font-bold text-indigo-700">BookWright</h1>
99
+ </div>
100
+
101
+ <div class="flex items-center space-x-2">
102
+ <button class="px-4 py-1.5 bg-indigo-600 hover:bg-indigo-700 text-white rounded-md text-sm font-medium transition-colors">
103
+ <i class="fas fa-plus mr-1"></i> New Project
104
+ </button>
105
+ <button class="px-4 py-1.5 bg-white border border-slate-300 hover:bg-slate-50 rounded-md text-sm font-medium transition-colors">
106
+ <i class="fas fa-folder-open mr-1"></i> Open
107
+ </button>
108
+ <button class="px-4 py-1.5 bg-white border border-slate-300 hover:bg-slate-50 rounded-md text-sm font-medium transition-colors">
109
+ <i class="fas fa-save mr-1"></i> Save
110
+ </button>
111
+ </div>
112
+ </div>
113
+
114
+ <div class="flex items-center space-x-4">
115
+ <div class="flex space-x-2">
116
+ <button id="printBtn" class="flex items-center px-4 py-1.5 bg-emerald-600 hover:bg-emerald-700 text-white rounded-md text-sm font-medium transition-colors">
117
+ <i class="fas fa-print mr-2"></i> Export
118
+ </button>
119
+ <button id="settingsBtn" class="flex items-center px-3 py-1.5 bg-white border border-slate-300 hover:bg-slate-50 rounded-md text-sm font-medium transition-colors">
120
+ <i class="fas fa-cog"></i>
121
+ </button>
122
+ </div>
123
+
124
+ <div class="flex items-center">
125
+ <div class="h-8 w-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-700 font-bold mr-2">
126
+ U
127
+ </div>
128
+ <span class="font-medium text-sm">User</span>
129
+ </div>
130
+ </div>
131
+ </div>
132
+ </header>
133
+
134
+ <!-- Main Content Area -->
135
+ <div class="flex flex-1 overflow-hidden">
136
+ <!-- Left Panel (Collapsible) -->
137
+ <aside class="bg-white border-r border-slate-200 w-64 flex flex-col transition-all" id="leftPanel">
138
+ <div class="p-3 bg-white border-b border-slate-200 flex items-center justify-between">
139
+ <h2 class="font-semibold text-slate-700">Design Tools</h2>
140
+ <button id="collapseLeftBtn" class="text-slate-400 hover:text-slate-600">
141
+ <i class="fas fa-chevron-left"></i>
142
+ </button>
143
+ </div>
144
+
145
+ <div class="flex-1 overflow-y-auto p-3">
146
+ <!-- Templates Section -->
147
+ <div class="mb-6">
148
+ <div class="flex items-center justify-between mb-3">
149
+ <h3 class="font-medium text-slate-700">Templates</h3>
150
+ <button class="text-sm text-indigo-600 hover:text-indigo-800">View All</button>
151
+ </div>
152
+ <div class="grid grid-cols-2 gap-3">
153
+ <div class="rounded border border-slate-200 overflow-hidden cursor-pointer hover:shadow-md transition-all">
154
+ <div class="h-20 bg-indigo-100 flex items-center justify-center">
155
+ <span class="bg-white rounded py-1 px-2 text-xs text-indigo-700">Novel</span>
156
+ </div>
157
+ </div>
158
+ <div class="rounded border border-slate-200 overflow-hidden cursor-pointer hover:shadow-md transition-all">
159
+ <div class="h-20 bg-amber-100 flex items-center justify-center">
160
+ <span class="bg-white rounded py-1 px-2 text-xs text-amber-700">Cookbook</span>
161
+ </div>
162
+ </div>
163
+ <div class="rounded border border-slate-200 overflow-hidden cursor-pointer hover:shadow-md transition-all">
164
+ <div class="h-20 bg-blue-100 flex items-center justify-center">
165
+ <span class="bg-white rounded py-1 px-2 text-xs text-blue-700">Textbook</span>
166
+ </div>
167
+ </div>
168
+ <div class="rounded border border-slate-200 overflow-hidden cursor-pointer hover:shadow-md transition-all">
169
+ <div class="h-20 bg-purple-100 flex items-center justify-center">
170
+ <span class="bg-white rounded py-1 px-2 text-xs text-purple-700">Portfolio</span>
171
+ </div>
172
+ </div>
173
+ </div>
174
+ </div>
175
+
176
+ <!-- Elements Section -->
177
+ <div class="mb-6">
178
+ <h3 class="font-medium text-slate-700 mb-3">Elements</h3>
179
+ <div class="flex flex-wrap gap-2 mb-4">
180
+ <button class="py-1.5 px-3 bg-slate-100 hover:bg-slate-200 text-slate-700 text-sm rounded transition-colors">
181
+ <i class="fas fa-heading mr-1"></i> Text
182
+ </button>
183
+ <button class="py-1.5 px-3 bg-slate-100 hover:bg-slate-200 text-slate-700 text-sm rounded transition-colors">
184
+ <i class="fas fa-image mr-1"></i> Image
185
+ </button>
186
+ <button class="py-1.5 px-3 bg-slate-100 hover:bg-slate-200 text-slate-700 text-sm rounded transition-colors">
187
+ <i class="fas fa-table mr-1"></i> Table
188
+ </button>
189
+ </div>
190
+ <div class="flex flex-wrap gap-2">
191
+ <button class="py-1.5 px-3 bg-slate-100 hover:bg-slate-200 text-slate-700 text-sm rounded transition-colors">
192
+ <i class="fas fa-quote-right mr-1"></i> Blockquote
193
+ </button>
194
+ <button class="py-1.5 px-3 bg-slate-100 hover:bg-slate-200 text-slate-700 text-sm rounded transition-colors">
195
+ <i class="fas fa-square mr-1"></i> Shape
196
+ </button>
197
+ <button class="py-1.5 px-3 bg-slate-100 hover:bg-slate-200 text-slate-700 text-sm rounded transition-colors">
198
+ <i class="fas fa-arrows-alt-h mr-1"></i> Line
199
+ </button>
200
+ </div>
201
+ </div>
202
+
203
+ <!-- Text Tools Section -->
204
+ <div class="mb-6">
205
+ <h3 class="font-medium text-slate-700 mb-3">Text Tools</h3>
206
+ <div class="flex flex-wrap gap-2">
207
+ <button class="tool-icon">
208
+ <i class="fas fa-bold"></i>
209
+ </button>
210
+ <button class="tool-icon">
211
+ <i class="fas fa-italic"></i>
212
+ </button>
213
+ <button class="tool-icon">
214
+ <i class="fas fa-underline"></i>
215
+ </button>
216
+ <button class="tool-icon">
217
+ <i class="fas fa-align-left"></i>
218
+ </button>
219
+ <button class="tool-icon">
220
+ <i class="fas fa-align-center"></i>
221
+ </button>
222
+ <button class="tool-icon">
223
+ <i class="fas fa-align-right"></i>
224
+ </button>
225
+ <button class="tool-icon">
226
+ <i class="fas fa-align-justify"></i>
227
+ </button>
228
+ <button class="tool-icon">
229
+ <i class="fas fa-list-ul"></i>
230
+ </button>
231
+ <button class="tool-icon">
232
+ <i class="fas fa-list-ol"></i>
233
+ </button>
234
+ </div>
235
+ <div class="mt-3">
236
+ <label class="text-xs text-slate-500 mb-1 block">Font Family</label>
237
+ <select class="w-full text-sm border border-slate-200 rounded px-2 py-1.5 focus:ring-2 focus:ring-indigo-200 focus:border-indigo-500">
238
+ <option>Playfair Display</option>
239
+ <option>Roboto</option>
240
+ <option>Merriweather</option>
241
+ <option>Georgia</option>
242
+ </select>
243
+ </div>
244
+ <div class="mt-3 grid grid-cols-2 gap-3">
245
+ <div>
246
+ <label class="text-xs text-slate-500 mb-1 block">Font Size</label>
247
+ <select class="w-full text-sm border border-slate-200 rounded px-2 py-1.5 focus:ring-2 focus:ring-indigo-200 focus:border-indigo-500">
248
+ <option>9pt</option>
249
+ <option>10pt</option>
250
+ <option>11pt</option>
251
+ <option selected>12pt</option>
252
+ <option>14pt</option>
253
+ <option>16pt</option>
254
+ <option>18pt</option>
255
+ </select>
256
+ </div>
257
+ <div>
258
+ <label class="text-xs text-slate-500 mb-1 block">Line Spacing</label>
259
+ <select class="w-full text-sm border border-slate-200 rounded px-2 py-1.5 focus:ring-2 focus:ring-indigo-200 focus:border-indigo-500">
260
+ <option>Single</option>
261
+ <option selected>1.15</option>
262
+ <option>1.5</option>
263
+ <option>Double</option>
264
+ </select>
265
+ </div>
266
+ </div>
267
+ </div>
268
+
269
+ <!-- HTML Editor -->
270
+ <div>
271
+ <h3 class="font-medium text-slate-700 mb-3">HTML Editor</h3>
272
+ <button class="w-full py-2 bg-slate-100 hover:bg-slate-200 rounded-md text-sm font-medium text-slate-700 transition-colors">
273
+ <i class="fas fa-code mr-2"></i> Edit Source Code
274
+ </button>
275
+ </div>
276
+ </div>
277
+ </aside>
278
+
279
+ <!-- Main Canvas Area -->
280
+ <main class="flex-1 overflow-hidden flex flex-col">
281
+ <div class="p-2 bg-slate-100 border-b border-slate-200">
282
+ <div class="flex items-center justify-between">
283
+ <div class="flex space-x-2">
284
+ <button class="tool-icon">
285
+ <i class="fas fa-search-plus"></i>
286
+ </button>
287
+ <button class="tool-icon">
288
+ <i class="fas fa-search-minus"></i>
289
+ </button>
290
+ <button class="tool-icon">
291
+ <i class="fas fa-expand-arrows-alt"></i>
292
+ </button>
293
+ <div class="border-l border-slate-300 mx-2"></div>
294
+ <button class="tool-icon">
295
+ <i class="fas fa-border-none"></i>
296
+ </button>
297
+ <button class="tool-icon">
298
+ <i class="fas fa-ruler"></i>
299
+ </button>
300
+ <button class="tool-icon">
301
+ <i class="fas fa-lightbulb"></i>
302
+ </button>
303
+ </div>
304
+
305
+ <div class="flex items-center space-x-4">
306
+ <div class="flex items-center text-sm">
307
+ <label class="text-slate-600 mr-2">Zoom:</label>
308
+ <select class="bg-white border border-slate-300 rounded py-1 px-2 text-sm">
309
+ <option>100%</option>
310
+ <option>75%</option>
311
+ <option selected>Fit to Screen</option>
312
+ </select>
313
+ </div>
314
+
315
+ <div class="flex items-center text-sm">
316
+ <label class="text-slate-600 mr-2">Template:</label>
317
+ <select class="bg-white border border-slate-300 rounded py-1 px-2 text-sm">
318
+ <option selected>Novel (6"×9")</option>
319
+ <option>Cookbook (8.5"×11")</option>
320
+ <option>Textbook (8.25"×10.75")</option>
321
+ </select>
322
+ </div>
323
+ </div>
324
+ </div>
325
+ </div>
326
+
327
+ <!-- Interactive Canvas -->
328
+ <div class="flex-1 overflow-auto canvas-container flex items-center justify-center" id="canvasContainer">
329
+ <div class="relative">
330
+ <!-- Bleed Area -->
331
+ <div class="absolute inset-0 -inset-4 border border-red-300 rounded-sm pointer-events-none"></div>
332
+
333
+ <!-- Margin Guides -->
334
+ <div class="grid-guide top-10 border-t border-blue-200 border-dashed w-full"></div>
335
+ <div class="grid-guide bottom-10 border-t border-blue-200 border-dashed w-full"></div>
336
+ <div class="grid-guide left-20 border-l border-blue-200 border-dashed h-full"></div>
337
+ <div class="grid-guide right-20 border-l border-blue-200 border-dashed h-full"></div>
338
+
339
+ <!-- Book Page -->
340
+ <div class="book-page bg-white w-[600px] h-[780px] relative overflow-hidden">
341
+ <!-- Page content would be interactive and dynamic in the real app -->
342
+ <div class="p-10 h-full">
343
+ <h1 class="text-3xl font-serif font-bold text-slate-800 mb-6 draggable-item" draggable="true">Chapter One: The Beginning</h1>
344
+
345
+ <div class="draggable-item" draggable="true">
346
+ <p class="mb-4 leading-relaxed">
347
+ It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair...
348
+ </p>
349
+
350
+ <p class="mb-4 leading-relaxed">
351
+ There were a king with a large jaw and a queen with a plain face, on the throne of England; there were a king with a large jaw and a queen with a fair face, on the throne of France.
352
+ </p>
353
+ </div>
354
+
355
+ <div class="flex justify-center my-8 draggable-item" draggable="true">
356
+ <div class="bg-slate-200 border-2 border-dashed rounded-xl w-64 h-40 flex items-center justify-center text-slate-500">
357
+ <i class="fas fa-image text-3xl mr-2"></i> Placeholder Image
358
+ </div>
359
+ </div>
360
+
361
+ <div class="draggable-item" draggable="true">
362
+ <p class="leading-relaxed">
363
+ My father's family name being Pirrip, and my Christian name Philip, my infant tongue could make of both names nothing longer or more explicit than Pip. So, I called myself Pip, and came to be called Pip.
364
+ </p>
365
+ </div>
366
+
367
+ <div class="mt-8 p-4 border-l-4 border-indigo-500 bg-indigo-50 draggable-item" draggable="true">
368
+ <p class="italic leading-relaxed">
369
+ "Character counts in moments of conflict, not comfort. How we respond when tested defines who we truly are."
370
+ </p>
371
+ <p class="mt-2 text-slate-600">- Wisdom to Remember</p>
372
+ </div>
373
+ </div>
374
+ </div>
375
+ </div>
376
+ </div>
377
+ </main>
378
+
379
+ <!-- Right Panel -->
380
+ <aside class="bg-white border-l border-slate-200 w-64 flex flex-col">
381
+ <div class="p-3 bg-white border-b border-slate-200 flex items-center justify-between">
382
+ <h2 class="font-semibold text-slate-700">Properties</h2>
383
+ <button id="collapseRightBtn" class="text-slate-400 hover:text-slate-600">
384
+ <i class="fas fa-chevron-right"></i>
385
+ </button>
386
+ </div>
387
+
388
+ <div class="flex-1 overflow-y-auto">
389
+ <!-- Tabs for Properties -->
390
+ <div class="border-b border-slate-200 px-3">
391
+ <div class="flex">
392
+ <button class="py-2 px-3 font-medium text-sm text-indigo-600 border-b-2 border-indigo-600">Layers</button>
393
+ <button class="py-2 px-3 font-medium text-sm text-slate-500 hover:text-slate-700">Styles</button>
394
+ <button class="py-2 px-3 font-medium text-sm text-slate-500 hover:text-slate-700">Settings</button>
395
+ </div>
396
+ </div>
397
+
398
+ <!-- Layers Panel -->
399
+ <div class="p-3">
400
+ <div class="flex items-center justify-between mb-2">
401
+ <h3 class="font-medium text-slate-700">Page Elements</h3>
402
+ <button class="text-slate-500 hover:text-slate-700">
403
+ <i class="fas fa-sort"></i>
404
+ </button>
405
+ </div>
406
+
407
+ <ul class="space-y-2">
408
+ <li class="flex items-center justify-between p-2 bg-indigo-50 border border-indigo-100 rounded">
409
+ <div class="flex items-center">
410
+ <i class="fas fa-heading text-indigo-600 mr-2"></i>
411
+ <span class="text-sm">Chapter Title</span>
412
+ </div>
413
+ <div class="flex space-x-1">
414
+ <button class="w-6 h-6 text-slate-500 hover:text-slate-700">
415
+ <i class="fas fa-eye"></i>
416
+ </button>
417
+ <button class="w-6 h-6 text-slate-500 hover:text-slate-700">
418
+ <i class="fas fa-lock"></i>
419
+ </button>
420
+ </div>
421
+ </li>
422
+ <li class="flex items-center justify-between p-2 hover:bg-slate-50 rounded">
423
+ <div class="flex items-center">
424
+ <i class="fas fa-font text-blue-600 mr-2"></i>
425
+ <span class="text-sm">Paragraph 1</span>
426
+ </div>
427
+ <div class="flex space-x-1">
428
+ <button class="w-6 h-6 text-slate-500 hover:text-slate-700">
429
+ <i class="fas fa-eye"></i>
430
+ </button>
431
+ <button class="w-6 h-6 text-slate-500 hover:text-slate-700">
432
+ <i class="fas fa-lock"></i>
433
+ </button>
434
+ </div>
435
+ </li>
436
+ <li class="flex items-center justify-between p-2 hover:bg-slate-50 rounded">
437
+ <div class="flex items-center">
438
+ <i class="fas fa-font text-blue-600 mr-2"></i>
439
+ <span class="text-sm">Paragraph 2</span>
440
+ </div>
441
+ <div class="flex space-x-1">
442
+ <button class="w-6 h-6 text-slate-500 hover:text-slate-700">
443
+ <i class="fas fa-eye"></i>
444
+ </button>
445
+ <button class="w-6 h-6 text-slate-500 hover:text-slate-700">
446
+ <i class="fas fa-lock"></i>
447
+ </button>
448
+ </div>
449
+ </li>
450
+ <li class="flex items-center justify-between p-2 hover:bg-slate-50 rounded">
451
+ <div class="flex items-center">
452
+ <i class="fas fa-image text-green-600 mr-2"></i>
453
+ <span class="text-sm">Landscape Image</span>
454
+ </div>
455
+ <div class="flex space-x-1">
456
+ <button class="w-6 h-6 text-slate-500 hover:text-slate-700">
457
+ <i class="fas fa-eye"></i>
458
+ </button>
459
+ <button class="w-6 h-6 text-slate-500 hover:text-slate-700">
460
+ <i class="fas fa-lock"></i>
461
+ </button>
462
+ </div>
463
+ </li>
464
+ <li class="flex items-center justify-between p-2 hover:bg-slate-50 rounded">
465
+ <div class="flex items-center">
466
+ <i class="fas fa-font text-blue-600 mr-2"></i>
467
+ <span class="text-sm">Paragraph 3</span>
468
+ </div>
469
+ <div class="flex space-x-1">
470
+ <button class="w-6 h-6 text-slate-500 hover:text-slate-700">
471
+ <i class="fas fa-eye"></i>
472
+ </button>
473
+ <button class="w-6 h-6 text-slate-500 hover:text-slate-700">
474
+ <i class="fas fa-lock"></i>
475
+ </button>
476
+ </div>
477
+ </li>
478
+ <li class="flex items-center justify-between p-2 bg-indigo-50 border border-indigo-100 rounded">
479
+ <div class="flex items-center">
480
+ <i class="fas fa-quote-right text-purple-600 mr-2"></i>
481
+ <span class="text-sm">Blockquote</span>
482
+ </div>
483
+ <div class="flex space-x-1">
484
+ <button class="w-6 h-6 text-slate-500 hover:text-slate-700">
485
+ <i class="fas fa-eye"></i>
486
+ </button>
487
+ <button class="w-6 h-6 text-slate-500 hover:text-slate-700">
488
+ <i class="fas fa-lock"></i>
489
+ </button>
490
+ </div>
491
+ </li>
492
+ </ul>
493
+ </div>
494
+
495
+ <!-- Style Controls -->
496
+ <div class="border-t border-slate-200 p-3">
497
+ <div class="flex justify-between items-center mb-3">
498
+ <h3 class="font-medium text-slate-700">Element Styles</h3>
499
+ <button class="text-sm text-indigo-600 hover:text-indigo-800">Save as Style</button>
500
+ </div>
501
+
502
+ <div class="space-y-4">
503
+ <div>
504
+ <label class="block text-xs text-slate-500 mb-1">Font Family</label>
505
+ <select class="w-full text-sm border border-slate-200 rounded px-2 py-1.5 focus:ring-2 focus:ring-indigo-200 focus:border-indigo-500">
506
+ <option>Georgia</option>
507
+ <option>Times New Roman</option>
508
+ <option selected>Playfair Display</option>
509
+ <option>Merriweather</option>
510
+ </select>
511
+ </div>
512
+
513
+ <div>
514
+ <label class="block text-xs text-slate-500 mb-1">Font Size</label>
515
+ <div class="flex items-center gap-2">
516
+ <input type="range" min="8" max="72" value="18" class="w-full">
517
+ <span class="text-sm w-10">18pt</span>
518
+ </div>
519
+ </div>
520
+
521
+ <div>
522
+ <label class="block text-xs text-slate-500 mb-1">Alignment</label>
523
+ <div class="flex gap-1">
524
+ <button class="flex-1 py-1.5 bg-indigo-600 text-white rounded-md text-sm">
525
+ <i class="fas fa-align-left"></i>
526
+ </button>
527
+ <button class="flex-1 py-1.5 bg-white border border-slate-200 rounded-md text-sm">
528
+ <i class="fas fa-align-center"></i>
529
+ </button>
530
+ <button class="flex-1 py-1.5 bg-white border border-slate-200 rounded-md text-sm">
531
+ <i class="fas fa-align-right"></i>
532
+ </button>
533
+ <button class="flex-1 py-1.5 bg-white border border-slate-200 rounded-md text-sm">
534
+ <i class="fas fa-align-justify"></i>
535
+ </button>
536
+ </div>
537
+ </div>
538
+
539
+ <div>
540
+ <label class="block text-xs text-slate-500 mb-1">Text Color</label>
541
+ <div class="flex gap-2">
542
+ <div class="w-6 h-6 rounded border border-slate-300 bg-slate-800 cursor-pointer"></div>
543
+ <div class="w-6 h-6 rounded border border-slate-300 bg-indigo-600 cursor-pointer ring-2 ring-indigo-500"></div>
544
+ <div class="w-6 h-6 rounded border border-slate-300 bg-red-600 cursor-pointer"></div>
545
+ <div class="w-6 h-6 rounded border border-slate-300 bg-green-600 cursor-pointer"></div>
546
+ <div class="relative">
547
+ <div class="w-6 h-6 rounded border border-slate-300 cursor-pointer flex items-center justify-center">
548
+ <i class="fas fa-plus text-xs text-slate-500"></i>
549
+ </div>
550
+ </div>
551
+ </div>
552
+ </div>
553
+
554
+ <div class="grid grid-cols-2 gap-3">
555
+ <div>
556
+ <label class="block text-xs text-slate-500 mb-1">Line Height</label>
557
+ <select class="w-full text-sm border border-slate-200 rounded px-2 py-1.5 focus:ring-2 focus:ring-indigo-200 focus:border-indigo-500">
558
+ <option>1.0</option>
559
+ <option>1.15</option>
560
+ <option selected>1.3</option>
561
+ <option>1.5</option>
562
+ <option>2.0</option>
563
+ </select>
564
+ </div>
565
+ <div>
566
+ <label class="block text-xs text-slate-500 mb-1">Paragraph Space</label>
567
+ <select class="w-full text-sm border border-slate-200 rounded px-2 py-1.5 focus:ring-2 focus:ring-indigo-200 focus:border-indigo-500">
568
+ <option>0</option>
569
+ <option>4pt</option>
570
+ <option selected>8pt</option>
571
+ <option>12pt</option>
572
+ <option>16pt</option>
573
+ </select>
574
+ </div>
575
+ </div>
576
+ </div>
577
+ </div>
578
+ </div>
579
+ </aside>
580
+ </div>
581
+
582
+ <!-- Bottom Toolbar -->
583
+ <footer class="bg-white border-t border-slate-200 py-2 px-4 flex items-center justify-between">
584
+ <div class="flex items-center space-x-4">
585
+ <button class="p-1 w-8 h-8 rounded hover:bg-slate-100">
586
+ <i class="fas fa-fast-backward text-slate-500"></i>
587
+ </button>
588
+ <button class="p-1 w-8 h-8 rounded hover:bg-slate-100">
589
+ <i class="fas fa-step-backward text-slate-500"></i>
590
+ </button>
591
+ <div class="text-sm text-slate-600">
592
+ Page <span class="font-medium">1</span> of <span class="font-medium">56</span>
593
+ </div>
594
+ <button class="p-1 w-8 h-8 rounded hover:bg-slate-100">
595
+ <i class="fas fa-step-forward text-slate-500"></i>
596
+ </button>
597
+ <button class="p-1 w-8 h-8 rounded hover:bg-slate-100">
598
+ <i class="fas fa-fast-forward text-slate-500"></i>
599
+ </button>
600
+ </div>
601
+
602
+ <div class="flex items-center space-x-4">
603
+ <div class="flex items-center text-sm text-slate-600">
604
+ <i class="fas fa-info-circle mr-2 text-indigo-600"></i>
605
+ <span>Intelligent layout applied</span>
606
+ </div>
607
+ <div class="flex items-center">
608
+ <div class="h-2 w-2 rounded-full bg-green-500 mr-2"></div>
609
+ <span class="text-sm text-slate-600">Autosave complete</span>
610
+ </div>
611
+ </div>
612
+
613
+ <div class="flex items-center space-x-2">
614
+ <button class="flex items-center px-3 py-1 bg-slate-100 hover:bg-slate-200 rounded-md text-sm font-medium text-slate-700 transition-colors">
615
+ <i class="fas fa-history mr-2"></i> History
616
+ </button>
617
+ <button class="flex items-center px-3 py-1 bg-indigo-100 hover:bg-indigo-200 rounded-md text-sm font-medium text-indigo-700 transition-colors">
618
+ <i class="fas fa-play-circle mr-2"></i> Preview
619
+ </button>
620
+ </div>
621
+ </footer>
622
+
623
+ <script>
624
+ // Collapse/Expand panels
625
+ document.getElementById('collapseLeftBtn').addEventListener('click', function() {
626
+ document.getElementById('leftPanel').classList.toggle('w-16');
627
+ document.getElementById('leftPanel').classList.toggle('w-64');
628
+ });
629
+
630
+ document.getElementById('collapseRightBtn').addEventListener('click', function() {
631
+ document.getElementById('rightPanel').classList.toggle('w-16');
632
+ document.getElementById('rightPanel').classList.toggle('w-64');
633
+ });
634
+
635
+ // Export modal functionality
636
+ document.getElementById('printBtn').addEventListener('click', function() {
637
+ alert('Export functionality would open a modal in the production version');
638
+ });
639
+
640
+ // Draggable item functionality
641
+ const draggableItems = document.querySelectorAll('.draggable-item');
642
+ draggableItems.forEach(item => {
643
+ item.addEventListener('dragstart', function(e) {
644
+ e.dataTransfer.setData('text/plain', 'dragged-element');
645
+ this.classList.add('opacity-50');
646
+ });
647
+
648
+ item.addEventListener('dragend', function() {
649
+ this.classList.remove('opacity-50');
650
+ });
651
+ });
652
+
653
+ // Canvas hover effect
654
+ const canvasContainer = document.getElementById('canvasContainer');
655
+ canvasContainer.addEventListener('dragover', function(e) {
656
+ e.preventDefault();
657
+ this.classList.add('bg-blue-50');
658
+ });
659
+
660
+ canvasContainer.addEventListener('dragleave', function() {
661
+ this.classList.remove('bg-blue-50');
662
+ });
663
+
664
+ canvasContainer.addEventListener('drop', function(e) {
665
+ e.preventDefault();
666
+ this.classList.remove('bg-blue-50');
667
+ // In a real app, we would handle the element placement
668
+ });
669
+ </script>
670
+ <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=Samsailo/ooh-ggf" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
671
+ </html>
prompts.txt ADDED
File without changes