File size: 22,404 Bytes
26dffe2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>DeployHub - Website Deployment Dashboard</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .gradient-bg {
            background: linear-gradient(135deg, #6e8efb, #a777e3);
        }
        .deploy-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .progress-bar {
            transition: width 0.5s ease-in-out;
        }
        .terminal {
            font-family: 'Courier New', monospace;
            background-color: #1e1e1e;
            color: #f8f8f2;
        }
    </style>
</head>
<body class="bg-gray-50 min-h-screen">
    <div class="gradient-bg text-white">
        <nav class="container mx-auto px-6 py-4 flex justify-between items-center">
            <div class="flex items-center space-x-2">
                <i class="fas fa-rocket text-2xl"></i>
                <span class="text-xl font-bold">DeployHub</span>
            </div>
            <div class="hidden md:flex space-x-8">
                <a href="#" class="hover:text-gray-200">Dashboard</a>
                <a href="#" class="hover:text-gray-200">Projects</a>
                <a href="#" class="hover:text-gray-200">Deployments</a>
                <a href="#" class="hover:text-gray-200">Settings</a>
            </div>
            <div class="flex items-center space-x-4">
                <button class="bg-white text-indigo-600 px-4 py-2 rounded-lg font-medium hover:bg-gray-100 transition">
                    <i class="fas fa-plus mr-2"></i>New Project
                </button>
                <div class="w-10 h-10 rounded-full bg-white flex items-center justify-center text-indigo-600 font-bold">
                    JD
                </div>
            </div>
        </nav>

        <header class="container mx-auto px-6 py-16 text-center">
            <h1 class="text-4xl md:text-5xl font-bold mb-6">Deploy Your Website</h1>
            <p class="text-xl max-w-2xl mx-auto mb-8">Simple, fast and reliable website deployment with zero configuration</p>
            <div class="flex flex-col md:flex-row justify-center space-y-4 md:space-y-0 md:space-x-4">
                <button class="bg-white text-indigo-600 px-8 py-3 rounded-lg font-medium hover:bg-gray-100 transition">
                    <i class="fas fa-play mr-2"></i>Deploy Now
                </button>
                <button class="bg-transparent border-2 border-white text-white px-8 py-3 rounded-lg font-medium hover:bg-white hover:text-indigo-600 transition">
                    <i class="fas fa-book mr-2"></i>Documentation
                </button>
            </div>
        </header>
    </div>

    <main class="container mx-auto px-6 py-12 -mt-12">
        <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
            <!-- Deployment Card 1 -->
            <div class="bg-white rounded-xl shadow-lg p-6 deploy-card transition duration-300">
                <div class="flex justify-between items-center mb-4">
                    <h3 class="text-lg font-semibold">Static Website</h3>
                    <span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Live</span>
                </div>
                <p class="text-gray-600 mb-6">Deploy HTML, CSS, and JavaScript files with global CDN</p>
                <div class="mb-4">
                    <div class="flex justify-between text-sm text-gray-500 mb-1">
                        <span>Storage</span>
                        <span>1.2GB / 5GB</span>
                    </div>
                    <div class="w-full bg-gray-200 rounded-full h-2">
                        <div class="bg-blue-500 h-2 rounded-full progress-bar" style="width: 24%"></div>
                    </div>
                </div>
                <button class="w-full bg-indigo-600 text-white py-2 rounded-lg hover:bg-indigo-700 transition">
                    <i class="fas fa-upload mr-2"></i>Deploy Files
                </button>
            </div>

            <!-- Deployment Card 2 -->
            <div class="bg-white rounded-xl shadow-lg p-6 deploy-card transition duration-300">
                <div class="flex justify-between items-center mb-4">
                    <h3 class="text-lg font-semibold">Node.js App</h3>
                    <span class="bg-yellow-100 text-yellow-800 text-xs px-2 py-1 rounded-full">Building</span>
                </div>
                <p class="text-gray-600 mb-6">Deploy server-side JavaScript applications with npm support</p>
                <div class="mb-4">
                    <div class="flex justify-between text-sm text-gray-500 mb-1">
                        <span>Build Progress</span>
                        <span>65%</span>
                    </div>
                    <div class="w-full bg-gray-200 rounded-full h-2">
                        <div class="bg-yellow-500 h-2 rounded-full progress-bar" style="width: 65%"></div>
                    </div>
                </div>
                <button class="w-full bg-gray-200 text-gray-700 py-2 rounded-lg cursor-not-allowed" disabled>
                    <i class="fas fa-cog fa-spin mr-2"></i>Building...
                </button>
            </div>

            <!-- Deployment Card 3 -->
            <div class="bg-white rounded-xl shadow-lg p-6 deploy-card transition duration-300">
                <div class="flex justify-between items-center mb-4">
                    <h3 class="text-lg font-semibold">Database</h3>
                    <span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Ready</span>
                </div>
                <p class="text-gray-600 mb-6">Set up PostgreSQL, MySQL, or MongoDB databases</p>
                <div class="mb-4">
                    <div class="flex justify-between text-sm text-gray-500 mb-1">
                        <span>Connections</span>
                        <span>12 active</span>
                    </div>
                    <div class="w-full bg-gray-200 rounded-full h-2">
                        <div class="bg-purple-500 h-2 rounded-full progress-bar" style="width: 60%"></div>
                    </div>
                </div>
                <button class="w-full bg-indigo-600 text-white py-2 rounded-lg hover:bg-indigo-700 transition">
                    <i class="fas fa-database mr-2"></i>Configure
                </button>
            </div>
        </div>

        <!-- Recent Deployments -->
        <section class="mt-16">
            <h2 class="text-2xl font-bold mb-6">Recent Deployments</h2>
            <div class="bg-white rounded-xl shadow-lg overflow-hidden">
                <div class="overflow-x-auto">
                    <table class="min-w-full divide-y divide-gray-200">
                        <thead class="bg-gray-50">
                            <tr>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Project</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Commit</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
                                <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
                            </tr>
                        </thead>
                        <tbody class="bg-white divide-y divide-gray-200">
                            <tr>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="flex items-center">
                                        <div class="flex-shrink-0 h-10 w-10 bg-indigo-100 rounded-full flex items-center justify-center text-indigo-600">
                                            <i class="fas fa-globe"></i>
                                        </div>
                                        <div class="ml-4">
                                            <div class="text-sm font-medium text-gray-900">Portfolio Website</div>
                                            <div class="text-sm text-gray-500">https://portfolio.johndoe.com</div>
                                        </div>
                                    </div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Success</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">a1b2c3d</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2 hours ago</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
                                    <a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">View</a>
                                    <a href="#" class="text-indigo-600 hover:text-indigo-900">Redeploy</a>
                                </td>
                            </tr>
                            <tr>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="flex items-center">
                                        <div class="flex-shrink-0 h-10 w-10 bg-blue-100 rounded-full flex items-center justify-center text-blue-600">
                                            <i class="fas fa-server"></i>
                                        </div>
                                        <div class="ml-4">
                                            <div class="text-sm font-medium text-gray-900">API Service</div>
                                            <div class="text-sm text-gray-500">https://api.johndoe.com</div>
                                        </div>
                                    </div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Building</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">e4f5g6h</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">15 minutes ago</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
                                    <a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">Logs</a>
                                </td>
                            </tr>
                            <tr>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="flex items-center">
                                        <div class="flex-shrink-0 h-10 w-10 bg-purple-100 rounded-full flex items-center justify-center text-purple-600">
                                            <i class="fas fa-shopping-cart"></i>
                                        </div>
                                        <div class="ml-4">
                                            <div class="text-sm font-medium text-gray-900">E-commerce Store</div>
                                            <div class="text-sm text-gray-500">https://store.johndoe.com</div>
                                        </div>
                                    </div>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Failed</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">i7j8k9l</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">1 day ago</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
                                    <a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">Debug</a>
                                    <a href="#" class="text-indigo-600 hover:text-indigo-900">Retry</a>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </section>

        <!-- Deployment Terminal -->
        <section class="mt-16">
            <h2 class="text-2xl font-bold mb-6">Deployment Terminal</h2>
            <div class="terminal rounded-xl shadow-lg overflow-hidden">
                <div class="px-4 py-3 bg-gray-800 flex items-center">
                    <div class="flex space-x-2 mr-4">
                        <div class="w-3 h-3 rounded-full bg-red-500"></div>
                        <div class="w-3 h-3 rounded-full bg-yellow-500"></div>
                        <div class="w-3 h-3 rounded-full bg-green-500"></div>
                    </div>
                    <div class="text-sm text-gray-400">bash ~/projects/portfolio-website</div>
                </div>
                <div class="p-4">
                    <div class="mb-2">
                        <span class="text-green-400">$</span>
                        <span class="text-gray-400 ml-2">git push deploy main</span>
                    </div>
                    <div class="text-blue-400 mb-2">Enumerating objects: 15, done.</div>
                    <div class="text-blue-400 mb-2">Counting objects: 100% (15/15), done.</div>
                    <div class="text-blue-400 mb-2">Delta compression using up to 8 threads</div>
                    <div class="text-blue-400 mb-2">Compressing objects: 100% (10/10), done.</div>
                    <div class="text-blue-400 mb-2">Writing objects: 100% (10/10), 1.45 KiB | 1.45 MiB/s, done.</div>
                    <div class="text-blue-400 mb-2">Total 10 (delta 5), reused 0 (delta 0)</div>
                    <div class="text-green-400 mb-2">remote: Starting build...</div>
                    <div class="text-green-400 mb-2">remote: Installing dependencies...</div>
                    <div class="text-yellow-400 mb-2">remote: npm install</div>
                    <div class="text-gray-400 mb-2">added 125 packages in 2.345s</div>
                    <div class="text-green-400 mb-2">remote: Building application...</div>
                    <div class="text-green-400 mb-2">remote: Deployment complete!</div>
                    <div class="text-green-400 font-bold mb-2">remote: Your site is live at https://portfolio-abc123.deployhub.app</div>
                    <div class="text-gray-400">To https://deployhub.app/portfolio-website.git</div>
                    <div class="text-gray-400">a1b2c3d..e4f5g6h main -> main</div>
                    <div class="mt-4">
                        <span class="text-green-400">$</span>
                        <span class="text-gray-400 ml-2"><span class="cursor-blink">_</span></span>
                    </div>
                </div>
            </div>
        </section>
    </main>

    <footer class="bg-gray-100 mt-16 py-12">
        <div class="container mx-auto px-6">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <h3 class="text-lg font-semibold mb-4">DeployHub</h3>
                    <p class="text-gray-600">The simplest way to deploy your websites and web applications with global scale.</p>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">Features</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-600 hover:text-indigo-600">Static Hosting</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-indigo-600">Serverless Functions</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-indigo-600">Edge Network</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-indigo-600">Automatic SSL</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">Resources</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-600 hover:text-indigo-600">Documentation</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-indigo-600">Guides</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-indigo-600">API Reference</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-indigo-600">Community</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">Company</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-600 hover:text-indigo-600">About</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-indigo-600">Blog</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-indigo-600">Careers</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-indigo-600">Contact</a></li>
                    </ul>
                </div>
            </div>
            <div class="border-t border-gray-200 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
                <p class="text-gray-500">© 2023 DeployHub. All rights reserved.</p>
                <div class="flex space-x-6 mt-4 md:mt-0">
                    <a href="#" class="text-gray-500 hover:text-indigo-600"><i class="fab fa-twitter"></i></a>
                    <a href="#" class="text-gray-500 hover:text-indigo-600"><i class="fab fa-github"></i></a>
                    <a href="#" class="text-gray-500 hover:text-indigo-600"><i class="fab fa-linkedin"></i></a>
                    <a href="#" class="text-gray-500 hover:text-indigo-600"><i class="fab fa-discord"></i></a>
                </div>
            </div>
        </div>
    </footer>

    <script>
        // Terminal cursor blink effect
        function blinkCursor() {
            const cursor = document.querySelector('.cursor-blink');
            if (cursor) {
                setInterval(() => {
                    cursor.style.visibility = cursor.style.visibility === 'hidden' ? 'visible' : 'hidden';
                }, 500);
            }
        }

        // Simulate deployment progress
        function simulateDeployment() {
            const progressBar = document.querySelector('.deploy-card:nth-child(2) .progress-bar');
            if (progressBar) {
                let width = 65;
                const interval = setInterval(() => {
                    width += Math.random() * 5;
                    if (width >= 100) {
                        width = 100;
                        clearInterval(interval);
                        
                        // Update status to "Success"
                        const statusElement = document.querySelector('.deploy-card:nth-child(2) span');
                        if (statusElement) {
                            statusElement.className = 'px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800';
                            statusElement.textContent = 'Success';
                            
                            // Update button
                            const button = document.querySelector('.deploy-card:nth-child(2) button');
                            if (button) {
                                button.innerHTML = '<i class="fas fa-eye mr-2"></i>View Deployment';
                                button.className = 'w-full bg-indigo-600 text-white py-2 rounded-lg hover:bg-indigo-700 transition';
                                button.disabled = false;
                            }
                        }
                    }
                    progressBar.style.width = `${width}%`;
                    
                    // Update percentage text
                    const percentText = document.querySelector('.deploy-card:nth-child(2) span:nth-child(2)');
                    if (percentText) {
                        percentText.textContent = `${Math.floor(width)}%`;
                    }
                }, 800);
            }
        }

        // Initialize
        document.addEventListener('DOMContentLoaded', () => {
            blinkCursor();
            simulateDeployment();
            
            // Add click event for deploy buttons
            document.querySelectorAll('.deploy-card button').forEach(button => {
                if (!button.disabled) {
                    button.addEventListener('click', () => {
                        alert('Deployment process started! Check the terminal for progress.');
                    });
                }
            });
        });
    </script>
<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=Hamado/my-app" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>