inegrao commited on
Commit
4f032d5
·
verified ·
1 Parent(s): a386f09

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +545 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Post
3
- emoji: 🐢
4
- colorFrom: green
5
- colorTo: purple
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: post
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: blue
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,545 @@
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="pt-BR">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Blog Post | Modern Design</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
+ .prose {
11
+ max-width: 65ch;
12
+ }
13
+ .prose img {
14
+ border-radius: 0.5rem;
15
+ margin: 1.5rem auto;
16
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
17
+ }
18
+ .prose blockquote {
19
+ border-left: 4px solid #3b82f6;
20
+ padding-left: 1rem;
21
+ font-style: italic;
22
+ color: #4b5563;
23
+ }
24
+ .prose code {
25
+ background-color: #f3f4f6;
26
+ padding: 0.2rem 0.4rem;
27
+ border-radius: 0.25rem;
28
+ font-family: monospace;
29
+ }
30
+ .prose pre {
31
+ background-color: #1e293b;
32
+ color: white;
33
+ padding: 1rem;
34
+ border-radius: 0.5rem;
35
+ overflow-x: auto;
36
+ }
37
+ .reading-progress {
38
+ height: 4px;
39
+ background: #3b82f6;
40
+ position: fixed;
41
+ top: 0;
42
+ left: 0;
43
+ z-index: 50;
44
+ }
45
+ .fade-in {
46
+ animation: fadeIn 0.5s ease-in-out;
47
+ }
48
+ @keyframes fadeIn {
49
+ from { opacity: 0; transform: translateY(10px); }
50
+ to { opacity: 1; transform: translateY(0); }
51
+ }
52
+ </style>
53
+ </head>
54
+ <body class="bg-gray-50 text-gray-800 font-sans">
55
+ <!-- Reading progress bar -->
56
+ <div id="progress" class="reading-progress"></div>
57
+
58
+ <!-- Header -->
59
+ <header class="bg-white shadow-sm sticky top-0 z-40">
60
+ <div class="container mx-auto px-4 py-4 flex justify-between items-center">
61
+ <a href="#" class="text-2xl font-bold text-blue-600 flex items-center">
62
+ <i class="fas fa-blog mr-2"></i> BlogModern
63
+ </a>
64
+ <nav class="hidden md:flex space-x-6">
65
+ <a href="#" class="hover:text-blue-600 transition">Home</a>
66
+ <a href="#" class="hover:text-blue-600 transition">Categories</a>
67
+ <a href="#" class="hover:text-blue-600 transition">About</a>
68
+ <a href="#" class="hover:text-blue-600 transition">Contact</a>
69
+ </nav>
70
+ <div class="flex items-center space-x-4">
71
+ <button class="md:hidden text-gray-600">
72
+ <i class="fas fa-bars text-xl"></i>
73
+ </button>
74
+ <button class="hidden md:block bg-blue-600 text-white px-4 py-2 rounded-full hover:bg-blue-700 transition">
75
+ Subscribe
76
+ </button>
77
+ </div>
78
+ </div>
79
+ </header>
80
+
81
+ <!-- Mobile Menu (hidden by default) -->
82
+ <div id="mobileMenu" class="hidden bg-white shadow-lg absolute w-full z-50">
83
+ <div class="container mx-auto px-4 py-3 flex flex-col space-y-3">
84
+ <a href="#" class="py-2 hover:text-blue-600 transition">Home</a>
85
+ <a href="#" class="py-2 hover:text-blue-600 transition">Categories</a>
86
+ <a href="#" class="py-2 hover:text-blue-600 transition">About</a>
87
+ <a href="#" class="py-2 hover:text-blue-600 transition">Contact</a>
88
+ <button class="bg-blue-600 text-white px-4 py-2 rounded-full hover:bg-blue-700 transition w-full">
89
+ Subscribe
90
+ </button>
91
+ </div>
92
+ </div>
93
+
94
+ <!-- Main Content -->
95
+ <main class="container mx-auto px-4 py-8 md:py-12">
96
+ <div class="flex flex-col lg:flex-row gap-8">
97
+ <!-- Article Content -->
98
+ <article class="lg:w-2/3 fade-in">
99
+ <!-- Post Header -->
100
+ <div class="mb-8">
101
+ <div class="flex items-center space-x-2 text-sm text-gray-500 mb-4">
102
+ <span>Technology</span>
103
+ <span>•</span>
104
+ <span>8 min read</span>
105
+ </div>
106
+ <h1 class="text-3xl md:text-4xl font-bold mb-4 leading-tight">The Future of Web Development: Trends to Watch in 2023</h1>
107
+
108
+ <div class="flex items-center justify-between mb-6">
109
+ <div class="flex items-center space-x-3">
110
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Author" class="w-10 h-10 rounded-full">
111
+ <div>
112
+ <p class="font-medium">John Doe</p>
113
+ <p class="text-sm text-gray-500">Published on May 15, 2023</p>
114
+ </div>
115
+ </div>
116
+ <div class="flex space-x-3">
117
+ <button class="text-gray-500 hover:text-blue-600 transition">
118
+ <i class="far fa-bookmark"></i>
119
+ </button>
120
+ <button class="text-gray-500 hover:text-blue-600 transition">
121
+ <i class="fas fa-share-alt"></i>
122
+ </button>
123
+ </div>
124
+ </div>
125
+
126
+ <img src="https://images.unsplash.com/photo-1547658719-da2b51169166?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1300&q=80" alt="Featured Image" class="w-full h-auto rounded-lg shadow-md mb-6">
127
+ </div>
128
+
129
+ <!-- Post Content -->
130
+ <div class="prose max-w-none">
131
+ <p class="lead">The web development landscape is constantly evolving, with new technologies and approaches emerging every year. As we move through 2023, several key trends are shaping the future of how we build and interact with web applications.</p>
132
+
133
+ <h2>1. The Rise of AI-Assisted Development</h2>
134
+ <p>Artificial Intelligence is no longer just a buzzword in web development. Tools like GitHub Copilot and ChatGPT are revolutionizing how developers write code, offering intelligent suggestions and even generating entire code blocks.</p>
135
+
136
+ <p>These AI-powered tools can:</p>
137
+ <ul>
138
+ <li>Automate repetitive coding tasks</li>
139
+ <li>Suggest optimizations and best practices</li>
140
+ <li>Help debug complex issues</li>
141
+ <li>Generate boilerplate code quickly</li>
142
+ </ul>
143
+
144
+ <img src="https://images.unsplash.com/photo-1677442136013-0d0360a4af59?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80" alt="AI Development">
145
+
146
+ <h2>2. WebAssembly (Wasm) Goes Mainstream</h2>
147
+ <p>WebAssembly continues to gain traction, enabling near-native performance for web applications. With major browsers now supporting Wasm, we're seeing more performance-critical applications moving to the web.</p>
148
+
149
+ <blockquote>
150
+ "WebAssembly is changing what's possible on the web. Applications that were previously only feasible as native apps can now run in the browser with near-native performance."
151
+ </blockquote>
152
+
153
+ <p>Use cases include:</p>
154
+ <ul>
155
+ <li>Video and image editing tools</li>
156
+ <li>CAD and 3D modeling applications</li>
157
+ <li>Scientific simulations</li>
158
+ <li>Games with complex physics engines</li>
159
+ </ul>
160
+
161
+ <h2>3. Edge Computing for Faster Experiences</h2>
162
+ <p>The traditional client-server model is being augmented by edge computing, where processing happens closer to the user. This reduces latency and improves performance for globally distributed applications.</p>
163
+
164
+ <p>Modern frameworks like Next.js and Remix are embracing edge functions, allowing developers to:</p>
165
+ <pre><code>// Example of an edge function in Next.js
166
+ export const config = {
167
+ runtime: 'edge',
168
+ }
169
+
170
+ export default function handler(request) {
171
+ return new Response('Hello from the edge!', {
172
+ status: 200,
173
+ headers: {
174
+ 'content-type': 'text/plain',
175
+ },
176
+ })
177
+ }</code></pre>
178
+
179
+ <h2>4. Progressive Enhancement with Modern CSS</h2>
180
+ <p>CSS continues to evolve with new features like container queries, cascade layers, and the :has() selector. These allow for more sophisticated layouts and designs without relying on JavaScript.</p>
181
+
182
+ <div class="bg-blue-50 p-4 rounded-lg border border-blue-100">
183
+ <h3 class="text-blue-800 font-medium mb-2">Pro Tip:</h3>
184
+ <p class="text-blue-700">Start adopting CSS container queries today for more flexible components that adapt to their container rather than just the viewport.</p>
185
+ </div>
186
+
187
+ <h2>5. The JAMStack Evolution</h2>
188
+ <p>While JAMStack (JavaScript, APIs, Markup) remains popular, the approach is evolving with more dynamic capabilities. The lines between static and dynamic are blurring with techniques like:</p>
189
+ <ul>
190
+ <li>Incremental Static Regeneration (ISR)</li>
191
+ <li>On-demand Revalidation</li>
192
+ <li>Edge-side rendering</li>
193
+ </ul>
194
+
195
+ <h2>Conclusion</h2>
196
+ <p>2023 is proving to be an exciting year for web development. By staying informed about these trends and selectively adopting the ones that fit your projects, you can build faster, more capable, and more maintainable web applications.</p>
197
+
198
+ <p>What trends are you most excited about? Share your thoughts in the comments below!</p>
199
+ </div>
200
+
201
+ <!-- Tags -->
202
+ <div class="mt-8 flex flex-wrap gap-2">
203
+ <a href="#" class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-gray-200 transition">#webdev</a>
204
+ <a href="#" class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-gray-200 transition">#javascript</a>
205
+ <a href="#" class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-gray-200 transition">#trends</a>
206
+ <a href="#" class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-gray-200 transition">#ai</a>
207
+ <a href="#" class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-gray-200 transition">#webassembly</a>
208
+ </div>
209
+
210
+ <!-- Author Bio -->
211
+ <div class="mt-12 p-6 bg-gray-50 rounded-lg border border-gray-200">
212
+ <div class="flex items-center space-x-4">
213
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Author" class="w-16 h-16 rounded-full">
214
+ <div>
215
+ <h3 class="font-bold text-lg">John Doe</h3>
216
+ <p class="text-gray-600">Senior Web Developer with 10+ years of experience. Passionate about JavaScript, performance optimization, and teaching others.</p>
217
+ <div class="mt-2 flex space-x-3">
218
+ <a href="#" class="text-blue-600 hover:text-blue-800"><i class="fab fa-twitter"></i></a>
219
+ <a href="#" class="text-blue-600 hover:text-blue-800"><i class="fab fa-github"></i></a>
220
+ <a href="#" class="text-blue-600 hover:text-blue-800"><i class="fab fa-linkedin"></i></a>
221
+ </div>
222
+ </div>
223
+ </div>
224
+ </div>
225
+
226
+ <!-- Comments Section -->
227
+ <div class="mt-12">
228
+ <h3 class="text-xl font-bold mb-6">Comments (3)</h3>
229
+
230
+ <div class="space-y-6">
231
+ <!-- Comment 1 -->
232
+ <div class="flex space-x-4">
233
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-10 h-10 rounded-full">
234
+ <div class="flex-1">
235
+ <div class="bg-gray-50 p-4 rounded-lg">
236
+ <div class="flex justify-between items-start">
237
+ <div>
238
+ <h4 class="font-medium">Sarah Johnson</h4>
239
+ <p class="text-xs text-gray-500">2 days ago</p>
240
+ </div>
241
+ <button class="text-gray-400 hover:text-gray-600">
242
+ <i class="fas fa-ellipsis-h"></i>
243
+ </button>
244
+ </div>
245
+ <p class="mt-2 text-gray-700">Great article! I've been experimenting with WebAssembly for a game project and the performance gains are incredible compared to pure JavaScript.</p>
246
+ <div class="mt-3 flex space-x-4 text-sm">
247
+ <button class="text-gray-500 hover:text-blue-600 flex items-center">
248
+ <i class="far fa-thumbs-up mr-1"></i> 5
249
+ </button>
250
+ <button class="text-gray-500 hover:text-blue-600 flex items-center">
251
+ <i class="far fa-thumbs-down mr-1"></i> 0
252
+ </button>
253
+ <button class="text-gray-500 hover:text-blue-600">
254
+ Reply
255
+ </button>
256
+ </div>
257
+ </div>
258
+ </div>
259
+ </div>
260
+
261
+ <!-- Comment 2 -->
262
+ <div class="flex space-x-4">
263
+ <img src="https://randomuser.me/api/portraits/men/22.jpg" alt="User" class="w-10 h-10 rounded-full">
264
+ <div class="flex-1">
265
+ <div class="bg-gray-50 p-4 rounded-lg">
266
+ <div class="flex justify-between items-start">
267
+ <div>
268
+ <h4 class="font-medium">Michael Chen</h4>
269
+ <p class="text-xs text-gray-500">1 week ago</p>
270
+ </div>
271
+ <button class="text-gray-400 hover:text-gray-600">
272
+ <i class="fas fa-ellipsis-h"></i>
273
+ </button>
274
+ </div>
275
+ <p class="mt-2 text-gray-700">What are your thoughts on HTMX as an alternative to heavy JavaScript frameworks? It seems to be gaining popularity for simpler interactive sites.</p>
276
+ <div class="mt-3 flex space-x-4 text-sm">
277
+ <button class="text-gray-500 hover:text-blue-600 flex items-center">
278
+ <i class="far fa-thumbs-up mr-1"></i> 3
279
+ </button>
280
+ <button class="text-gray-500 hover:text-blue-600 flex items-center">
281
+ <i class="far fa-thumbs-down mr-1"></i> 1
282
+ </button>
283
+ <button class="text-gray-500 hover:text-blue-600">
284
+ Reply
285
+ </button>
286
+ </div>
287
+ </div>
288
+ </div>
289
+ </div>
290
+
291
+ <!-- Comment 3 -->
292
+ <div class="flex space-x-4">
293
+ <img src="https://randomuser.me/api/portraits/women/63.jpg" alt="User" class="w-10 h-10 rounded-full">
294
+ <div class="flex-1">
295
+ <div class="bg-gray-50 p-4 rounded-lg">
296
+ <div class="flex justify-between items-start">
297
+ <div>
298
+ <h4 class="font-medium">Emma Rodriguez</h4>
299
+ <p class="text-xs text-gray-500">3 weeks ago</p>
300
+ </div>
301
+ <button class="text-gray-400 hover:text-gray-600">
302
+ <i class="fas fa-ellipsis-h"></i>
303
+ </button>
304
+ </div>
305
+ <p class="mt-2 text-gray-700">I'd love to see more content about implementing AI features in web apps. Maybe a follow-up article with practical examples?</p>
306
+ <div class="mt-3 flex space-x-4 text-sm">
307
+ <button class="text-gray-500 hover:text-blue-600 flex items-center">
308
+ <i class="far fa-thumbs-up mr-1"></i> 8
309
+ </button>
310
+ <button class="text-gray-500 hover:text-blue-600 flex items-center">
311
+ <i class="far fa-thumbs-down mr-1"></i> 0
312
+ </button>
313
+ <button class="text-gray-500 hover:text-blue-600">
314
+ Reply
315
+ </button>
316
+ </div>
317
+ </div>
318
+ </div>
319
+ </div>
320
+ </div>
321
+
322
+ <!-- Comment Form -->
323
+ <div class="mt-8">
324
+ <h4 class="font-medium mb-4">Leave a comment</h4>
325
+ <form class="space-y-4">
326
+ <div>
327
+ <textarea rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="Write your comment here..."></textarea>
328
+ </div>
329
+ <div class="flex justify-between items-center">
330
+ <div class="flex space-x-2">
331
+ <button type="button" class="text-gray-500 hover:text-gray-700">
332
+ <i class="far fa-smile"></i>
333
+ </button>
334
+ <button type="button" class="text-gray-500 hover:text-gray-700">
335
+ <i class="fas fa-paperclip"></i>
336
+ </button>
337
+ </div>
338
+ <button type="submit" class="bg-blue-600 text-white px-4 py-2 rounded-lg hover:bg-blue-700 transition">
339
+ Post Comment
340
+ </button>
341
+ </div>
342
+ </form>
343
+ </div>
344
+ </div>
345
+ </article>
346
+
347
+ <!-- Sidebar -->
348
+ <aside class="lg:w-1/3 space-y-8 fade-in">
349
+ <!-- Newsletter -->
350
+ <div class="bg-blue-50 p-6 rounded-lg border border-blue-100">
351
+ <h3 class="font-bold text-lg text-blue-800 mb-3">Subscribe to Newsletter</h3>
352
+ <p class="text-blue-700 mb-4">Get the latest articles and news delivered to your inbox every week.</p>
353
+ <form class="space-y-3">
354
+ <input type="email" placeholder="Your email" class="w-full px-4 py-2 rounded-lg border border-blue-200 focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
355
+ <button type="submit" class="w-full bg-blue-600 text-white px-4 py-2 rounded-lg hover:bg-blue-700 transition">
356
+ Subscribe
357
+ </button>
358
+ </form>
359
+ </div>
360
+
361
+ <!-- Popular Posts -->
362
+ <div class="bg-white p-6 rounded-lg border border-gray-200 shadow-sm">
363
+ <h3 class="font-bold text-lg mb-4">Popular Posts</h3>
364
+ <div class="space-y-4">
365
+ <a href="#" class="flex group">
366
+ <div class="w-16 h-16 flex-shrink-0">
367
+ <img src="https://images.unsplash.com/photo-1547658719-da2b51169166?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=200&q=80" alt="Post" class="w-full h-full object-cover rounded">
368
+ </div>
369
+ <div class="ml-3">
370
+ <h4 class="font-medium group-hover:text-blue-600 transition">The Future of Web Development</h4>
371
+ <p class="text-sm text-gray-500">May 15, 2023</p>
372
+ </div>
373
+ </a>
374
+ <a href="#" class="flex group">
375
+ <div class="w-16 h-16 flex-shrink-0">
376
+ <img src="https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=200&q=80" alt="Post" class="w-full h-full object-cover rounded">
377
+ </div>
378
+ <div class="ml-3">
379
+ <h4 class="font-medium group-hover:text-blue-600 transition">React 18 Features Explained</h4>
380
+ <p class="text-sm text-gray-500">April 28, 2023</p>
381
+ </div>
382
+ </a>
383
+ <a href="#" class="flex group">
384
+ <div class="w-16 h-16 flex-shrink-0">
385
+ <img src="https://images.unsplash.com/photo-1620712943543-bcc4688e7485?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=200&q=80" alt="Post" class="w-full h-full object-cover rounded">
386
+ </div>
387
+ <div class="ml-3">
388
+ <h4 class="font-medium group-hover:text-blue-600 transition">CSS Container Queries Guide</h4>
389
+ <p class="text-sm text-gray-500">March 10, 2023</p>
390
+ </div>
391
+ </a>
392
+ </div>
393
+ </div>
394
+
395
+ <!-- Categories -->
396
+ <div class="bg-white p-6 rounded-lg border border-gray-200 shadow-sm">
397
+ <h3 class="font-bold text-lg mb-4">Categories</h3>
398
+ <div class="space-y-2">
399
+ <a href="#" class="flex justify-between items-center py-2 px-3 hover:bg-gray-50 rounded-lg transition">
400
+ <span>JavaScript</span>
401
+ <span class="bg-gray-100 text-gray-600 text-xs px-2 py-1 rounded-full">24</span>
402
+ </a>
403
+ <a href="#" class="flex justify-between items-center py-2 px-3 hover:bg-gray-50 rounded-lg transition">
404
+ <span>React</span>
405
+ <span class="bg-gray-100 text-gray-600 text-xs px-2 py-1 rounded-full">18</span>
406
+ </a>
407
+ <a href="#" class="flex justify-between items-center py-2 px-3 hover:bg-gray-50 rounded-lg transition">
408
+ <span>CSS</span>
409
+ <span class="bg-gray-100 text-gray-600 text-xs px-2 py-1 rounded-full">15</span>
410
+ </a>
411
+ <a href="#" class="flex justify-between items-center py-2 px-3 hover:bg-gray-50 rounded-lg transition">
412
+ <span>Performance</span>
413
+ <span class="bg-gray-100 text-gray-600 text-xs px-2 py-1 rounded-full">12</span>
414
+ </a>
415
+ <a href="#" class="flex justify-between items-center py-2 px-3 hover:bg-gray-50 rounded-lg transition">
416
+ <span>Web Design</span>
417
+ <span class="bg-gray-100 text-gray-600 text-xs px-2 py-1 rounded-full">9</span>
418
+ </a>
419
+ </div>
420
+ </div>
421
+
422
+ <!-- Tags Cloud -->
423
+ <div class="bg-white p-6 rounded-lg border border-gray-200 shadow-sm">
424
+ <h3 class="font-bold text-lg mb-4">Tags</h3>
425
+ <div class="flex flex-wrap gap-2">
426
+ <a href="#" class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-gray-200 transition">#javascript</a>
427
+ <a href="#" class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-gray-200 transition">#react</a>
428
+ <a href="#" class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-gray-200 transition">#css</a>
429
+ <a href="#" class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-gray-200 transition">#webdev</a>
430
+ <a href="#" class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-gray-200 transition">#beginners</a>
431
+ <a href="#" class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-gray-200 transition">#tutorial</a>
432
+ <a href="#" class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-gray-200 transition">#performance</a>
433
+ <a href="#" class="px-3 py-1 bg-gray-100 rounded-full text-sm hover:bg-gray-200 transition">#accessibility</a>
434
+ </div>
435
+ </div>
436
+ </aside>
437
+ </div>
438
+ </main>
439
+
440
+ <!-- Footer -->
441
+ <footer class="bg-gray-800 text-white py-12">
442
+ <div class="container mx-auto px-4">
443
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
444
+ <div>
445
+ <h3 class="text-xl font-bold mb-4">BlogModern</h3>
446
+ <p class="text-gray-400">Sharing knowledge about web development, design, and technology trends.</p>
447
+ <div class="mt-4 flex space-x-4">
448
+ <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-twitter"></i></a>
449
+ <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-github"></i></a>
450
+ <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-linkedin"></i></a>
451
+ <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-youtube"></i></a>
452
+ </div>
453
+ </div>
454
+ <div>
455
+ <h4 class="font-bold mb-4">Quick Links</h4>
456
+ <ul class="space-y-2">
457
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Home</a></li>
458
+ <li><a href="#" class="text-gray-400 hover:text-white transition">About</a></li>
459
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
460
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
461
+ </ul>
462
+ </div>
463
+ <div>
464
+ <h4 class="font-bold mb-4">Categories</h4>
465
+ <ul class="space-y-2">
466
+ <li><a href="#" class="text-gray-400 hover:text-white transition">JavaScript</a></li>
467
+ <li><a href="#" class="text-gray-400 hover:text-white transition">CSS</a></li>
468
+ <li><a href="#" class="text-gray-400 hover:text-white transition">React</a></li>
469
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Performance</a></li>
470
+ </ul>
471
+ </div>
472
+ <div>
473
+ <h4 class="font-bold mb-4">Newsletter</h4>
474
+ <p class="text-gray-400 mb-4">Subscribe to get notified about new posts.</p>
475
+ <form class="flex">
476
+ <input type="email" placeholder="Your email" class="px-4 py-2 rounded-l-lg text-gray-800 w-full">
477
+ <button type="submit" class="bg-blue-600 px-4 py-2 rounded-r-lg hover:bg-blue-700 transition">
478
+ <i class="fas fa-paper-plane"></i>
479
+ </button>
480
+ </form>
481
+ </div>
482
+ </div>
483
+ <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
484
+ <p>&copy; 2023 BlogModern. All rights reserved.</p>
485
+ </div>
486
+ </div>
487
+ </footer>
488
+
489
+ <!-- Back to Top Button -->
490
+ <button id="backToTop" class="fixed bottom-6 right-6 bg-blue-600 text-white p-3 rounded-full shadow-lg opacity-0 invisible transition-all duration-300 hover:bg-blue-700">
491
+ <i class="fas fa-arrow-up"></i>
492
+ </button>
493
+
494
+ <script>
495
+ // Mobile menu toggle
496
+ document.querySelector('header button').addEventListener('click', function() {
497
+ const menu = document.getElementById('mobileMenu');
498
+ menu.classList.toggle('hidden');
499
+ });
500
+
501
+ // Reading progress bar
502
+ window.addEventListener('scroll', function() {
503
+ const winScroll = document.body.scrollTop || document.documentElement.scrollTop;
504
+ const height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
505
+ const scrolled = (winScroll / height) * 100;
506
+ document.getElementById('progress').style.width = scrolled + '%';
507
+
508
+ // Back to top button
509
+ const backToTop = document.getElementById('backToTop');
510
+ if (winScroll > 300) {
511
+ backToTop.classList.remove('opacity-0', 'invisible');
512
+ backToTop.classList.add('opacity-100', 'visible');
513
+ } else {
514
+ backToTop.classList.remove('opacity-100', 'visible');
515
+ backToTop.classList.add('opacity-0', 'invisible');
516
+ }
517
+ });
518
+
519
+ // Back to top functionality
520
+ document.getElementById('backToTop').addEventListener('click', function() {
521
+ window.scrollTo({
522
+ top: 0,
523
+ behavior: 'smooth'
524
+ });
525
+ });
526
+
527
+ // Add fade-in animation to elements as they come into view
528
+ const fadeElements = document.querySelectorAll('.fade-in');
529
+
530
+ const fadeInObserver = new IntersectionObserver((entries) => {
531
+ entries.forEach(entry => {
532
+ if (entry.isIntersecting) {
533
+ entry.target.classList.add('animate-fadeIn');
534
+ }
535
+ });
536
+ }, {
537
+ threshold: 0.1
538
+ });
539
+
540
+ fadeElements.forEach(element => {
541
+ fadeInObserver.observe(element);
542
+ });
543
+ </script>
544
+ <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=inegrao/post" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
545
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ cria agora a página do post