Spaces:
Running
Running
Add 3 files
Browse files- README.md +7 -5
- index.html +648 -19
- prompts.txt +2 -0
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
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: deploiement
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: purple
|
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,648 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="fr">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Générateur Pro - Déploiement Direct</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, #6e8efb 0%, #a777e3 100%);
|
12 |
+
}
|
13 |
+
.code-block {
|
14 |
+
font-family: 'Courier New', monospace;
|
15 |
+
background-color: #2d2d2d;
|
16 |
+
color: #f8f8f2;
|
17 |
+
border-radius: 0.5rem;
|
18 |
+
overflow-x: auto;
|
19 |
+
}
|
20 |
+
.deploy-progress {
|
21 |
+
height: 6px;
|
22 |
+
background-color: #e2e8f0;
|
23 |
+
border-radius: 3px;
|
24 |
+
overflow: hidden;
|
25 |
+
}
|
26 |
+
.deploy-progress-bar {
|
27 |
+
height: 100%;
|
28 |
+
background-color: #4f46e5;
|
29 |
+
transition: width 0.3s ease;
|
30 |
+
}
|
31 |
+
@keyframes pulse {
|
32 |
+
0%, 100% { opacity: 1; }
|
33 |
+
50% { opacity: 0.5; }
|
34 |
+
}
|
35 |
+
.animate-pulse-slow {
|
36 |
+
animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
37 |
+
}
|
38 |
+
</style>
|
39 |
+
</head>
|
40 |
+
<body class="bg-gray-50 min-h-screen">
|
41 |
+
<!-- Navigation -->
|
42 |
+
<nav class="gradient-bg text-white shadow-lg">
|
43 |
+
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
|
44 |
+
<div class="flex items-center space-x-2">
|
45 |
+
<i class="fas fa-code text-2xl"></i>
|
46 |
+
<span class="text-xl font-bold">Générateur Pro</span>
|
47 |
+
</div>
|
48 |
+
<div class="hidden md:flex space-x-6">
|
49 |
+
<a href="#" class="hover:text-gray-200 transition">Accueil</a>
|
50 |
+
<a href="#" class="hover:text-gray-200 transition">Fonctionnalités</a>
|
51 |
+
<a href="#" class="hover:text-gray-200 transition">Déploiement</a>
|
52 |
+
<a href="#" class="hover:text-gray-200 transition">Documentation</a>
|
53 |
+
</div>
|
54 |
+
<div class="flex items-center space-x-4">
|
55 |
+
<button class="hidden md:block bg-white text-purple-600 px-4 py-2 rounded-lg font-medium hover:bg-gray-100 transition">
|
56 |
+
Essai gratuit
|
57 |
+
</button>
|
58 |
+
<button class="md:hidden text-white">
|
59 |
+
<i class="fas fa-bars text-2xl"></i>
|
60 |
+
</button>
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
</nav>
|
64 |
+
|
65 |
+
<!-- Hero Section -->
|
66 |
+
<section class="gradient-bg text-white py-16">
|
67 |
+
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
|
68 |
+
<div class="md:w-1/2 mb-10 md:mb-0">
|
69 |
+
<h1 class="text-4xl md:text-5xl font-bold mb-6">Déploiement direct en un clic</h1>
|
70 |
+
<p class="text-xl mb-8">Publiez votre application sur les meilleures plateformes sans configuration complexe.</p>
|
71 |
+
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
|
72 |
+
<button id="deploy-now-btn" class="bg-white text-purple-600 px-6 py-3 rounded-lg font-bold hover:bg-gray-100 transition flex items-center justify-center">
|
73 |
+
<i class="fas fa-rocket mr-2"></i> Déployer maintenant
|
74 |
+
</button>
|
75 |
+
<button class="bg-transparent border-2 border-white text-white px-6 py-3 rounded-lg font-bold hover:bg-white hover:text-purple-600 transition flex items-center justify-center">
|
76 |
+
<i class="fas fa-book mr-2"></i> Voir les plateformes
|
77 |
+
</button>
|
78 |
+
</div>
|
79 |
+
</div>
|
80 |
+
<div class="md:w-1/2 flex justify-center">
|
81 |
+
<div class="relative w-full max-w-lg">
|
82 |
+
<div class="absolute -top-6 -left-6 w-32 h-32 bg-purple-300 rounded-full mix-blend-multiply filter blur-xl opacity-70 animate-blob"></div>
|
83 |
+
<div class="absolute -bottom-8 -right-8 w-32 h-32 bg-blue-300 rounded-full mix-blend-multiply filter blur-xl opacity-70 animate-blob animation-delay-2000"></div>
|
84 |
+
<div class="relative bg-white rounded-xl shadow-2xl overflow-hidden">
|
85 |
+
<div class="bg-gray-800 px-4 py-2 flex items-center">
|
86 |
+
<div class="flex space-x-2">
|
87 |
+
<div class="w-3 h-3 rounded-full bg-red-500"></div>
|
88 |
+
<div class="w-3 h-3 rounded-full bg-yellow-500"></div>
|
89 |
+
<div class="w-3 h-3 rounded-full bg-green-500"></div>
|
90 |
+
</div>
|
91 |
+
<div class="text-gray-400 text-sm ml-4">terminal</div>
|
92 |
+
</div>
|
93 |
+
<div class="code-block p-4 text-sm h-80 overflow-y-auto">
|
94 |
+
<span class="text-green-400">$</span> <span class="text-white">generateur-pro deploy --platform vercel</span>
|
95 |
+
<br><br>
|
96 |
+
<span class="text-blue-400">[INFO]</span> <span class="text-white">Initialisation du déploiement...</span>
|
97 |
+
<br>
|
98 |
+
<span class="text-blue-400">[INFO]</span> <span class="text-white">Compression des fichiers...</span>
|
99 |
+
<br>
|
100 |
+
<span class="text-blue-400">[INFO]</span> <span class="text-white">Connexion à la plateforme...</span>
|
101 |
+
<br>
|
102 |
+
<span class="text-blue-400">[INFO]</span> <span class="text-white">Téléversement des fichiers (45%)...</span>
|
103 |
+
<br>
|
104 |
+
<span class="text-blue-400">[INFO]</span> <span class="text-white">Configuration de l'environnement...</span>
|
105 |
+
<br>
|
106 |
+
<span class="text-blue-400">[INFO]</span> <span class="text-white">Construction de l'application...</span>
|
107 |
+
<br>
|
108 |
+
<span class="text-blue-400">[INFO]</span> <span class="text-white">Déploiement terminé avec succès!</span>
|
109 |
+
<br><br>
|
110 |
+
<span class="text-green-400">✔</span> <span class="text-white">Votre application est en ligne:</span>
|
111 |
+
<br>
|
112 |
+
<span class="text-purple-400">https://mon-app-123.vercel.app</span>
|
113 |
+
<br><br>
|
114 |
+
<span class="text-green-400">$</span> <span class="text-white cursor-pointer">_</span>
|
115 |
+
</div>
|
116 |
+
</div>
|
117 |
+
</div>
|
118 |
+
</div>
|
119 |
+
</div>
|
120 |
+
</section>
|
121 |
+
|
122 |
+
<!-- Deployment Platforms Section -->
|
123 |
+
<section class="py-16 bg-white">
|
124 |
+
<div class="container mx-auto px-4">
|
125 |
+
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Plateformes de déploiement</h2>
|
126 |
+
|
127 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
128 |
+
<!-- Vercel -->
|
129 |
+
<div class="bg-gray-50 p-6 rounded-xl shadow-md hover:shadow-lg transition border-2 border-transparent hover:border-purple-500">
|
130 |
+
<div class="flex items-center mb-4">
|
131 |
+
<img src="https://assets.vercel.com/image/upload/front/favicon/vercel/76x76.png" alt="Vercel" class="w-12 h-12 mr-3">
|
132 |
+
<h3 class="text-xl font-bold text-gray-800">Vercel</h3>
|
133 |
+
</div>
|
134 |
+
<p class="text-gray-600 mb-4">Plateforme idéale pour les applications React, Next.js et autres frameworks frontend.</p>
|
135 |
+
<ul class="space-y-2 mb-6">
|
136 |
+
<li class="flex items-center">
|
137 |
+
<i class="fas fa-check text-green-500 mr-2"></i>
|
138 |
+
<span class="text-gray-700">Déploiement instantané</span>
|
139 |
+
</li>
|
140 |
+
<li class="flex items-center">
|
141 |
+
<i class="fas fa-check text-green-500 mr-2"></i>
|
142 |
+
<span class="text-gray-700">CDN global</span>
|
143 |
+
</li>
|
144 |
+
<li class="flex items-center">
|
145 |
+
<i class="fas fa-check text-green-500 mr-2"></i>
|
146 |
+
<span class="text-gray-700">SSL automatique</span>
|
147 |
+
</li>
|
148 |
+
</ul>
|
149 |
+
<button class="deploy-platform-btn w-full bg-black text-white py-2 rounded-lg font-medium hover:bg-gray-800 transition" data-platform="vercel">
|
150 |
+
<i class="fab fa-vercel mr-2"></i> Déployer sur Vercel
|
151 |
+
</button>
|
152 |
+
</div>
|
153 |
+
|
154 |
+
<!-- Netlify -->
|
155 |
+
<div class="bg-gray-50 p-6 rounded-xl shadow-md hover:shadow-lg transition border-2 border-transparent hover:border-blue-500">
|
156 |
+
<div class="flex items-center mb-4">
|
157 |
+
<img src="https://www.netlify.com/v3/img/components/full-logo-dark.png" alt="Netlify" class="h-8 mr-3">
|
158 |
+
<h3 class="text-xl font-bold text-gray-800">Netlify</h3>
|
159 |
+
</div>
|
160 |
+
<p class="text-gray-600 mb-4">Solution tout-en-un pour les sites statiques et les applications JAMstack.</p>
|
161 |
+
<ul class="space-y-2 mb-6">
|
162 |
+
<li class="flex items-center">
|
163 |
+
<i class="fas fa-check text-green-500 mr-2"></i>
|
164 |
+
<span class="text-gray-700">Formulaires intégrés</span>
|
165 |
+
</li>
|
166 |
+
<li class="flex items-center">
|
167 |
+
<i class="fas fa-check text-green-500 mr-2"></i>
|
168 |
+
<span class="text-gray-700">Fonctions serverless</span>
|
169 |
+
</li>
|
170 |
+
<li class="flex items-center">
|
171 |
+
<i class="fas fa-check text-green-500 mr-2"></i>
|
172 |
+
<span class="text-gray-700">Intégration Git</span>
|
173 |
+
</li>
|
174 |
+
</ul>
|
175 |
+
<button class="deploy-platform-btn w-full bg-green-600 text-white py-2 rounded-lg font-medium hover:bg-green-700 transition" data-platform="netlify">
|
176 |
+
<i class="fas fa-server mr-2"></i> Déployer sur Netlify
|
177 |
+
</button>
|
178 |
+
</div>
|
179 |
+
|
180 |
+
<!-- AWS -->
|
181 |
+
<div class="bg-gray-50 p-6 rounded-xl shadow-md hover:shadow-lg transition border-2 border-transparent hover:border-yellow-500">
|
182 |
+
<div class="flex items-center mb-4">
|
183 |
+
<img src="https://a0.awsstatic.com/libra-css/images/logos/aws_logo_smile_1200x630.png" alt="AWS" class="h-8 mr-3">
|
184 |
+
<h3 class="text-xl font-bold text-gray-800">AWS Amplify</h3>
|
185 |
+
</div>
|
186 |
+
<p class="text-gray-600 mb-4">Infrastructure cloud scalable pour les applications professionnelles.</p>
|
187 |
+
<ul class="space-y-2 mb-6">
|
188 |
+
<li class="flex items-center">
|
189 |
+
<i class="fas fa-check text-green-500 mr-2"></i>
|
190 |
+
<span class="text-gray-700">Haute disponibilité</span>
|
191 |
+
</li>
|
192 |
+
<li class="flex items-center">
|
193 |
+
<i class="fas fa-check text-green-500 mr-2"></i>
|
194 |
+
<span class="text-gray-700">Base de données intégrée</span>
|
195 |
+
</li>
|
196 |
+
<li class="flex items-center">
|
197 |
+
<i class="fas fa-check text-green-500 mr-2"></i>
|
198 |
+
<span class="text-gray-700">Authentification</span>
|
199 |
+
</li>
|
200 |
+
</ul>
|
201 |
+
<button class="deploy-platform-btn w-full bg-yellow-500 text-black py-2 rounded-lg font-medium hover:bg-yellow-600 transition" data-platform="aws">
|
202 |
+
<i class="fab fa-aws mr-2"></i> Déployer sur AWS
|
203 |
+
</button>
|
204 |
+
</div>
|
205 |
+
</div>
|
206 |
+
</div>
|
207 |
+
</section>
|
208 |
+
|
209 |
+
<!-- Deployment Status Section (hidden by default) -->
|
210 |
+
<section id="deployment-status" class="py-16 bg-gray-50 hidden">
|
211 |
+
<div class="container mx-auto px-4 max-w-3xl">
|
212 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
213 |
+
<div class="flex items-center justify-between mb-6">
|
214 |
+
<h2 class="text-2xl font-bold text-gray-800 flex items-center">
|
215 |
+
<i class="fas fa-rocket mr-3 text-purple-600"></i>
|
216 |
+
<span id="deployment-title">Déploiement en cours</span>
|
217 |
+
</h2>
|
218 |
+
<span id="deployment-percent" class="text-xl font-bold text-purple-600">0%</span>
|
219 |
+
</div>
|
220 |
+
|
221 |
+
<div class="mb-4">
|
222 |
+
<div class="deploy-progress">
|
223 |
+
<div id="deploy-progress-bar" class="deploy-progress-bar" style="width: 0%"></div>
|
224 |
+
</div>
|
225 |
+
</div>
|
226 |
+
|
227 |
+
<div class="mb-6">
|
228 |
+
<div class="flex items-center mb-2">
|
229 |
+
<i class="fas fa-cloud-upload-alt text-gray-500 mr-3"></i>
|
230 |
+
<span id="deployment-step" class="text-gray-700">Initialisation du déploiement...</span>
|
231 |
+
</div>
|
232 |
+
<div class="ml-8 pl-4 border-l-2 border-gray-200">
|
233 |
+
<div id="deployment-details" class="text-sm text-gray-500 space-y-1">
|
234 |
+
<!-- Deployment details will be added here by JavaScript -->
|
235 |
+
</div>
|
236 |
+
</div>
|
237 |
+
</div>
|
238 |
+
|
239 |
+
<div id="deployment-success" class="hidden">
|
240 |
+
<div class="bg-green-50 border border-green-200 rounded-lg p-4 mb-6">
|
241 |
+
<div class="flex items-center">
|
242 |
+
<i class="fas fa-check-circle text-green-500 text-2xl mr-3"></i>
|
243 |
+
<div>
|
244 |
+
<h3 class="font-bold text-green-800">Déploiement réussi!</h3>
|
245 |
+
<p class="text-green-700">Votre application est maintenant en ligne.</p>
|
246 |
+
</div>
|
247 |
+
</div>
|
248 |
+
</div>
|
249 |
+
|
250 |
+
<div class="mb-6">
|
251 |
+
<h3 class="font-bold mb-2 text-gray-700">Liens utiles:</h3>
|
252 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-3">
|
253 |
+
<a id="live-url" href="#" target="_blank" class="flex items-center justify-between bg-gray-100 hover:bg-gray-200 rounded-lg p-3 transition">
|
254 |
+
<div class="flex items-center">
|
255 |
+
<i class="fas fa-globe text-purple-600 mr-3"></i>
|
256 |
+
<span class="font-medium">URL de l'application</span>
|
257 |
+
</div>
|
258 |
+
<i class="fas fa-external-link-alt text-gray-400"></i>
|
259 |
+
</a>
|
260 |
+
<a id="admin-url" href="#" target="_blank" class="flex items-center justify-between bg-gray-100 hover:bg-gray-200 rounded-lg p-3 transition">
|
261 |
+
<div class="flex items-center">
|
262 |
+
<i class="fas fa-cog text-blue-600 mr-3"></i>
|
263 |
+
<span class="font-medium">Panel d'administration</span>
|
264 |
+
</div>
|
265 |
+
<i class="fas fa-external-link-alt text-gray-400"></i>
|
266 |
+
</a>
|
267 |
+
</div>
|
268 |
+
</div>
|
269 |
+
|
270 |
+
<div class="flex justify-center">
|
271 |
+
<button id="new-deployment-btn" class="bg-purple-600 text-white px-6 py-3 rounded-lg font-bold hover:bg-purple-700 transition flex items-center">
|
272 |
+
<i class="fas fa-plus mr-2"></i> Nouveau déploiement
|
273 |
+
</button>
|
274 |
+
</div>
|
275 |
+
</div>
|
276 |
+
|
277 |
+
<div id="deployment-failure" class="hidden">
|
278 |
+
<div class="bg-red-50 border border-red-200 rounded-lg p-4 mb-6">
|
279 |
+
<div class="flex items-center">
|
280 |
+
<i class="fas fa-times-circle text-red-500 text-2xl mr-3"></i>
|
281 |
+
<div>
|
282 |
+
<h3 class="font-bold text-red-800">Échec du déploiement</h3>
|
283 |
+
<p class="text-red-700" id="error-message">Une erreur est survenue lors du déploiement.</p>
|
284 |
+
</div>
|
285 |
+
</div>
|
286 |
+
</div>
|
287 |
+
|
288 |
+
<div class="flex justify-center space-x-4">
|
289 |
+
<button id="retry-deployment-btn" class="bg-purple-600 text-white px-6 py-3 rounded-lg font-bold hover:bg-purple-700 transition flex items-center">
|
290 |
+
<i class="fas fa-redo mr-2"></i> Réessayer
|
291 |
+
</button>
|
292 |
+
<button id="contact-support-btn" class="bg-gray-200 text-gray-800 px-6 py-3 rounded-lg font-bold hover:bg-gray-300 transition flex items-center">
|
293 |
+
<i class="fas fa-headset mr-2"></i> Support
|
294 |
+
</button>
|
295 |
+
</div>
|
296 |
+
</div>
|
297 |
+
</div>
|
298 |
+
</div>
|
299 |
+
</section>
|
300 |
+
|
301 |
+
<!-- Features Section -->
|
302 |
+
<section class="py-16 bg-white">
|
303 |
+
<div class="container mx-auto px-4">
|
304 |
+
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Pourquoi choisir notre solution de déploiement?</h2>
|
305 |
+
|
306 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
307 |
+
<!-- Feature 1 -->
|
308 |
+
<div class="bg-gray-50 p-6 rounded-xl shadow-md hover:shadow-lg transition">
|
309 |
+
<div class="text-purple-600 mb-4">
|
310 |
+
<i class="fas fa-bolt text-4xl"></i>
|
311 |
+
</div>
|
312 |
+
<h3 class="text-xl font-bold mb-3 text-gray-800">Déploiement instantané</h3>
|
313 |
+
<p class="text-gray-600">Passez du code à la production en quelques secondes avec notre intégration transparente.</p>
|
314 |
+
</div>
|
315 |
+
|
316 |
+
<!-- Feature 2 -->
|
317 |
+
<div class="bg-gray-50 p-6 rounded-xl shadow-md hover:shadow-lg transition">
|
318 |
+
<div class="text-blue-600 mb-4">
|
319 |
+
<i class="fas fa-lock text-4xl"></i>
|
320 |
+
</div>
|
321 |
+
<h3 class="text-xl font-bold mb-3 text-gray-800">Sécurité intégrée</h3>
|
322 |
+
<p class="text-gray-600">SSL automatique, protection DDoS et sécurisation des données sans configuration.</p>
|
323 |
+
</div>
|
324 |
+
|
325 |
+
<!-- Feature 3 -->
|
326 |
+
<div class="bg-gray-50 p-6 rounded-xl shadow-md hover:shadow-lg transition">
|
327 |
+
<div class="text-green-600 mb-4">
|
328 |
+
<i class="fas fa-chart-line text-4xl"></i>
|
329 |
+
</div>
|
330 |
+
<h3 class="text-xl font-bold mb-3 text-gray-800">Surveillance en temps réel</h3>
|
331 |
+
<p class="text-gray-600">Analyse des performances et alertes en cas de problème avec votre application.</p>
|
332 |
+
</div>
|
333 |
+
|
334 |
+
<!-- Feature 4 -->
|
335 |
+
<div class="bg-gray-50 p-6 rounded-xl shadow-md hover:shadow-lg transition">
|
336 |
+
<div class="text-yellow-600 mb-4">
|
337 |
+
<i class="fas fa-arrows-alt text-4xl"></i>
|
338 |
+
</div>
|
339 |
+
<h3 class="text-xl font-bold mb-3 text-gray-800">Scalabilité automatique</h3>
|
340 |
+
<p class="text-gray-600">Votre application s'adapte automatiquement à la charge sans intervention.</p>
|
341 |
+
</div>
|
342 |
+
|
343 |
+
<!-- Feature 5 -->
|
344 |
+
<div class="bg-gray-50 p-6 rounded-xl shadow-md hover:shadow-lg transition">
|
345 |
+
<div class="text-red-600 mb-4">
|
346 |
+
<i class="fas fa-code-branch text-4xl"></i>
|
347 |
+
</div>
|
348 |
+
<h3 class="text-xl font-bold mb-3 text-gray-800">Intégration Git</h3>
|
349 |
+
<p class="text-gray-600">Déploiement continu avec chaque push sur votre dépôt Git.</p>
|
350 |
+
</div>
|
351 |
+
|
352 |
+
<!-- Feature 6 -->
|
353 |
+
<div class="bg-gray-50 p-6 rounded-xl shadow-md hover:shadow-lg transition">
|
354 |
+
<div class="text-indigo-600 mb-4">
|
355 |
+
<i class="fas fa-globe-europe text-4xl"></i>
|
356 |
+
</div>
|
357 |
+
<h3 class="text-xl font-bold mb-3 text-gray-800">Réseau global</h3>
|
358 |
+
<p class="text-gray-600">Livraison ultra-rapide grâce à notre réseau de serveurs répartis dans le monde entier.</p>
|
359 |
+
</div>
|
360 |
+
</div>
|
361 |
+
</div>
|
362 |
+
</section>
|
363 |
+
|
364 |
+
<!-- CTA Section -->
|
365 |
+
<section class="py-16 gradient-bg text-white">
|
366 |
+
<div class="container mx-auto px-4 text-center">
|
367 |
+
<h2 class="text-3xl font-bold mb-6">Prêt à déployer votre application?</h2>
|
368 |
+
<p class="text-xl mb-8 max-w-2xl mx-auto">Gagnez du temps et évitez les configurations complexes avec notre solution en un clic.</p>
|
369 |
+
<div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-6">
|
370 |
+
<button id="main-deploy-btn" class="bg-white text-purple-600 px-8 py-4 rounded-lg font-bold text-lg hover:bg-gray-100 transition">
|
371 |
+
<i class="fas fa-rocket mr-2"></i> Déployer maintenant
|
372 |
+
</button>
|
373 |
+
<button class="bg-transparent border-2 border-white text-white px-8 py-4 rounded-lg font-bold text-lg hover:bg-white hover:text-purple-600 transition">
|
374 |
+
<i class="fas fa-book-open mr-2"></i> Voir la documentation
|
375 |
+
</button>
|
376 |
+
</div>
|
377 |
+
</div>
|
378 |
+
</section>
|
379 |
+
|
380 |
+
<!-- Footer -->
|
381 |
+
<footer class="bg-gray-900 text-gray-400 py-12">
|
382 |
+
<div class="container mx-auto px-4">
|
383 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
384 |
+
<div>
|
385 |
+
<h3 class="text-white text-lg font-bold mb-4">Générateur Pro</h3>
|
386 |
+
<p class="mb-4">Solution avancée de déploiement d'applications web en un clic.</p>
|
387 |
+
<div class="flex space-x-4">
|
388 |
+
<a href="#" class="hover:text-white"><i class="fab fa-github text-xl"></i></a>
|
389 |
+
<a href="#" class="hover:text-white"><i class="fab fa-twitter text-xl"></i></a>
|
390 |
+
<a href="#" class="hover:text-white"><i class="fab fa-discord text-xl"></i></a>
|
391 |
+
</div>
|
392 |
+
</div>
|
393 |
+
<div>
|
394 |
+
<h3 class="text-white text-lg font-bold mb-4">Plateformes</h3>
|
395 |
+
<ul class="space-y-2">
|
396 |
+
<li><a href="#" class="hover:text-white">Vercel</a></li>
|
397 |
+
<li><a href="#" class="hover:text-white">Netlify</a></li>
|
398 |
+
<li><a href="#" class="hover:text-white">AWS Amplify</a></li>
|
399 |
+
<li><a href="#" class="hover:text-white">Firebase</a></li>
|
400 |
+
</ul>
|
401 |
+
</div>
|
402 |
+
<div>
|
403 |
+
<h3 class="text-white text-lg font-bold mb-4">Support</h3>
|
404 |
+
<ul class="space-y-2">
|
405 |
+
<li><a href="#" class="hover:text-white">FAQ</a></li>
|
406 |
+
<li><a href="#" class="hover:text-white">Documentation</a></li>
|
407 |
+
<li><a href="#" class="hover:text-white">Statut</a></li>
|
408 |
+
<li><a href="#" class="hover:text-white">Contact</a></li>
|
409 |
+
</ul>
|
410 |
+
</div>
|
411 |
+
<div>
|
412 |
+
<h3 class="text-white text-lg font-bold mb-4">Legal</h3>
|
413 |
+
<ul class="space-y-2">
|
414 |
+
<li><a href="#" class="hover:text-white">Conditions</a></li>
|
415 |
+
<li><a href="#" class="hover:text-white">Confidentialité</a></li>
|
416 |
+
<li><a href="#" class="hover:text-white">Licence</a></li>
|
417 |
+
</ul>
|
418 |
+
</div>
|
419 |
+
</div>
|
420 |
+
<div class="border-t border-gray-800 mt-8 pt-8 text-sm text-center">
|
421 |
+
© 2023 Générateur Pro Déploiement. Tous droits réservés.
|
422 |
+
</div>
|
423 |
+
</div>
|
424 |
+
</footer>
|
425 |
+
|
426 |
+
<script>
|
427 |
+
// Deployment simulation function
|
428 |
+
function simulateDeployment(platform) {
|
429 |
+
// Show deployment status section
|
430 |
+
document.getElementById('deployment-status').classList.remove('hidden');
|
431 |
+
|
432 |
+
// Update deployment title
|
433 |
+
document.getElementById('deployment-title').textContent = `Déploiement sur ${platform} en cours`;
|
434 |
+
|
435 |
+
// Hide success/failure messages
|
436 |
+
document.getElementById('deployment-success').classList.add('hidden');
|
437 |
+
document.getElementById('deployment-failure').classList.add('hidden');
|
438 |
+
|
439 |
+
// Reset progress bar
|
440 |
+
const progressBar = document.getElementById('deploy-progress-bar');
|
441 |
+
progressBar.style.width = '0%';
|
442 |
+
document.getElementById('deployment-percent').textContent = '0%';
|
443 |
+
|
444 |
+
// Clear previous deployment details
|
445 |
+
const detailsContainer = document.getElementById('deployment-details');
|
446 |
+
detailsContainer.innerHTML = '';
|
447 |
+
|
448 |
+
// Deployment steps (simulated)
|
449 |
+
const steps = [
|
450 |
+
{ percent: 10, message: "Initialisation du déploiement..." },
|
451 |
+
{ percent: 20, message: "Connexion à la plateforme..." },
|
452 |
+
{ percent: 35, message: "Vérification des dépendances..." },
|
453 |
+
{ percent: 50, message: "Compression des fichiers..." },
|
454 |
+
{ percent: 65, message: "Téléversement des fichiers..." },
|
455 |
+
{ percent: 80, message: "Configuration de l'environnement..." },
|
456 |
+
{ percent: 90, message: "Construction de l'application..." },
|
457 |
+
{ percent: 100, message: "Finalisation du déploiement..." }
|
458 |
+
];
|
459 |
+
|
460 |
+
// Simulate each step
|
461 |
+
steps.forEach((step, index) => {
|
462 |
+
setTimeout(() => {
|
463 |
+
// Update progress bar
|
464 |
+
progressBar.style.width = `${step.percent}%`;
|
465 |
+
document.getElementById('deployment-percent').textContent = `${step.percent}%`;
|
466 |
+
|
467 |
+
// Update current step
|
468 |
+
document.getElementById('deployment-step').textContent = step.message;
|
469 |
+
|
470 |
+
// Add to details
|
471 |
+
const stepElement = document.createElement('div');
|
472 |
+
stepElement.className = 'flex items-center';
|
473 |
+
stepElement.innerHTML = `
|
474 |
+
<i class="fas fa-check-circle text-green-500 mr-2"></i>
|
475 |
+
<span>${step.message}</span>
|
476 |
+
`;
|
477 |
+
detailsContainer.appendChild(stepElement);
|
478 |
+
|
479 |
+
// Scroll to bottom of details
|
480 |
+
detailsContainer.scrollTop = detailsContainer.scrollHeight;
|
481 |
+
|
482 |
+
// If last step, show success
|
483 |
+
if (index === steps.length - 1) {
|
484 |
+
setTimeout(() => {
|
485 |
+
// Random chance of failure (10%)
|
486 |
+
if (Math.random() < 0.1) {
|
487 |
+
showDeploymentFailure();
|
488 |
+
} else {
|
489 |
+
showDeploymentSuccess(platform);
|
490 |
+
}
|
491 |
+
}, 1000);
|
492 |
+
}
|
493 |
+
}, index * 1000);
|
494 |
+
});
|
495 |
+
}
|
496 |
+
|
497 |
+
function showDeploymentSuccess(platform) {
|
498 |
+
document.getElementById('deployment-title').textContent = `Déploiement sur ${platform} réussi!`;
|
499 |
+
document.getElementById('deployment-step').textContent = "Déploiement terminé avec succès";
|
500 |
+
|
501 |
+
// Generate random URL based on platform
|
502 |
+
const randomId = Math.floor(Math.random() * 10000);
|
503 |
+
let url, adminUrl;
|
504 |
+
|
505 |
+
switch(platform.toLowerCase()) {
|
506 |
+
case 'vercel':
|
507 |
+
url = `https://my-app-${randomId}.vercel.app`;
|
508 |
+
adminUrl = `https://vercel.com/dashboard`;
|
509 |
+
break;
|
510 |
+
case 'netlify':
|
511 |
+
url = `https://my-app-${randomId}.netlify.app`;
|
512 |
+
adminUrl = `https://app.netlify.com/sites`;
|
513 |
+
break;
|
514 |
+
case 'aws':
|
515 |
+
url = `https://${randomId}.amplifyapp.com`;
|
516 |
+
adminUrl = `https://console.aws.amazon.com/amplify`;
|
517 |
+
break;
|
518 |
+
default:
|
519 |
+
url = `https://my-app-${randomId}.example.com`;
|
520 |
+
adminUrl = `https://admin.example.com`;
|
521 |
+
}
|
522 |
+
|
523 |
+
// Update URLs
|
524 |
+
const liveUrl = document.getElementById('live-url');
|
525 |
+
liveUrl.href = url;
|
526 |
+
liveUrl.innerHTML = `
|
527 |
+
<div class="flex items-center">
|
528 |
+
<i class="fas fa-globe text-purple-600 mr-3"></i>
|
529 |
+
<div>
|
530 |
+
<div class="font-medium">URL de l'application</div>
|
531 |
+
<div class="text-xs text-gray-500 truncate" style="max-width: 200px;">${url}</div>
|
532 |
+
</div>
|
533 |
+
</div>
|
534 |
+
<i class="fas fa-external-link-alt text-gray-400"></i>
|
535 |
+
`;
|
536 |
+
|
537 |
+
const adminUrlElement = document.getElementById('admin-url');
|
538 |
+
adminUrlElement.href = adminUrl;
|
539 |
+
adminUrlElement.innerHTML = `
|
540 |
+
<div class="flex items-center">
|
541 |
+
<i class="fas fa-cog text-blue-600 mr-3"></i>
|
542 |
+
<div>
|
543 |
+
<div class="font-medium">Panel d'administration</div>
|
544 |
+
<div class="text-xs text-gray-500 truncate" style="max-width: 200px;">${adminUrl}</div>
|
545 |
+
</div>
|
546 |
+
</div>
|
547 |
+
<i class="fas fa-external-link-alt text-gray-400"></i>
|
548 |
+
`;
|
549 |
+
|
550 |
+
// Show success message
|
551 |
+
document.getElementById('deployment-success').classList.remove('hidden');
|
552 |
+
}
|
553 |
+
|
554 |
+
function showDeploymentFailure() {
|
555 |
+
document.getElementById('deployment-title').textContent = "Échec du déploiement";
|
556 |
+
document.getElementById('deployment-step').textContent = "Une erreur est survenue";
|
557 |
+
|
558 |
+
// Possible error messages
|
559 |
+
const errors = [
|
560 |
+
"Erreur de connexion à la plateforme",
|
561 |
+
"Problème de configuration détecté",
|
562 |
+
"Échec du téléversement des fichiers",
|
563 |
+
"Dépassement du quota de stockage",
|
564 |
+
"Erreur lors de la construction de l'application"
|
565 |
+
];
|
566 |
+
|
567 |
+
// Select random error
|
568 |
+
const errorMessage = errors[Math.floor(Math.random() * errors.length)];
|
569 |
+
document.getElementById('error-message').textContent = errorMessage;
|
570 |
+
|
571 |
+
// Add error to details
|
572 |
+
const detailsContainer = document.getElementById('deployment-details');
|
573 |
+
const errorElement = document.createElement('div');
|
574 |
+
errorElement.className = 'flex items-center';
|
575 |
+
errorElement.innerHTML = `
|
576 |
+
<i class="fas fa-times-circle text-red-500 mr-2"></i>
|
577 |
+
<span class="text-red-500">${errorMessage}</span>
|
578 |
+
`;
|
579 |
+
detailsContainer.appendChild(errorElement);
|
580 |
+
|
581 |
+
// Show failure message
|
582 |
+
document.getElementById('deployment-failure').classList.remove('hidden');
|
583 |
+
}
|
584 |
+
|
585 |
+
// Event listeners for deployment buttons
|
586 |
+
document.querySelectorAll('.deploy-platform-btn').forEach(btn => {
|
587 |
+
btn.addEventListener('click', () => {
|
588 |
+
const platform = btn.getAttribute('data-platform');
|
589 |
+
simulateDeployment(platform);
|
590 |
+
|
591 |
+
// Scroll to deployment status
|
592 |
+
document.getElementById('deployment-status').scrollIntoView({
|
593 |
+
behavior: 'smooth'
|
594 |
+
});
|
595 |
+
});
|
596 |
+
});
|
597 |
+
|
598 |
+
// Main deploy button
|
599 |
+
document.getElementById('main-deploy-btn').addEventListener('click', () => {
|
600 |
+
// Default to Vercel for main button
|
601 |
+
simulateDeployment('Vercel');
|
602 |
+
|
603 |
+
// Scroll to deployment status
|
604 |
+
document.getElementById('deployment-status').scrollIntoView({
|
605 |
+
behavior: 'smooth'
|
606 |
+
});
|
607 |
+
});
|
608 |
+
|
609 |
+
// Deploy now button in hero section
|
610 |
+
document.getElementById('deploy-now-btn').addEventListener('click', () => {
|
611 |
+
// Default to Vercel for main button
|
612 |
+
simulateDeployment('Vercel');
|
613 |
+
|
614 |
+
// Scroll to deployment status
|
615 |
+
document.getElementById('deployment-status').scrollIntoView({
|
616 |
+
behavior: 'smooth'
|
617 |
+
});
|
618 |
+
});
|
619 |
+
|
620 |
+
// New deployment button
|
621 |
+
document.getElementById('new-deployment-btn').addEventListener('click', () => {
|
622 |
+
// Hide deployment status section
|
623 |
+
document.getElementById('deployment-status').classList.add('hidden');
|
624 |
+
|
625 |
+
// Scroll to platforms section
|
626 |
+
document.querySelector('section.py-16.bg-white').scrollIntoView({
|
627 |
+
behavior: 'smooth'
|
628 |
+
});
|
629 |
+
});
|
630 |
+
|
631 |
+
// Retry deployment button
|
632 |
+
document.getElementById('retry-deployment-btn').addEventListener('click', () => {
|
633 |
+
// Get the platform from the title
|
634 |
+
const title = document.getElementById('deployment-title').textContent;
|
635 |
+
const platform = title.includes('Vercel') ? 'Vercel' :
|
636 |
+
title.includes('Netlify') ? 'Netlify' :
|
637 |
+
title.includes('AWS') ? 'AWS' : 'Vercel';
|
638 |
+
|
639 |
+
simulateDeployment(platform);
|
640 |
+
});
|
641 |
+
|
642 |
+
// Contact support button
|
643 |
+
document.getElementById('contact-support-btn').addEventListener('click', () => {
|
644 |
+
alert("Notre équipe de support va vous contacter sous peu. Merci pour votre patience!");
|
645 |
+
});
|
646 |
+
</script>
|
647 |
+
<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=docto41/deploiement" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
648 |
+
</html>
|
prompts.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
Générateur de sites complexes 1500+ lignes de code Créez des applications web complètes avec architecture professionnelle en quelques clics
|
2 |
+
les bouton ne fonctionne pas , je veux deploiement directt
|