joinel commited on
Commit
a650b9a
·
verified ·
1 Parent(s): f7b391e

BON CORRIGE LE BUG - Follow Up Deployment

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +270 -19
  3. prompts.txt +8 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Webcreator
3
- emoji: 🐠
4
- colorFrom: indigo
5
- colorTo: red
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: webcreator
3
+ emoji: 🐳
4
+ colorFrom: gray
5
+ colorTo: yellow
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,270 @@
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="fr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Mes Réseaux Sociaux</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
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Poppins', sans-serif;
14
+ background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
15
+ min-height: 100vh;
16
+ }
17
+
18
+ .social-card {
19
+ transition: all 0.3s ease;
20
+ transform: translateY(0);
21
+ }
22
+
23
+ .social-card:hover {
24
+ transform: translateY(-5px);
25
+ box-shadow: 0 10px 20px rgba(0,0,0,0.1);
26
+ }
27
+
28
+ .pulse {
29
+ animation: pulse 2s infinite;
30
+ }
31
+
32
+ @keyframes pulse {
33
+ 0% {
34
+ transform: scale(1);
35
+ }
36
+ 50% {
37
+ transform: scale(1.05);
38
+ }
39
+ 100% {
40
+ transform: scale(1);
41
+ }
42
+ }
43
+
44
+ .floating {
45
+ animation: floating 3s ease-in-out infinite;
46
+ }
47
+
48
+ @keyframes floating {
49
+ 0% { transform: translateY(0px); }
50
+ 50% { transform: translateY(-10px); }
51
+ 100% { transform: translateY(0px); }
52
+ }
53
+ </style>
54
+ </head>
55
+ <body class="flex flex-col items-center justify-center py-12 px-4">
56
+ <div class="max-w-4xl w-full mx-auto text-center">
57
+ <!-- Header -->
58
+ <div class="mb-12">
59
+ <div class="w-32 h-32 mx-auto rounded-full overflow-hidden border-4 border-white shadow-lg mb-6">
60
+ <img src=https://www.japanfm.fr/wp-content/uploads/2024/03/luffy-chapeau-tenu-scaled.jpg
61
+ alt="Profile" class="w-full h-full object-cover">
62
+ </div>
63
+ <h1 class="text-4xl font-bold text-gray-800 mb-2">Rejoignez-moi</h1>
64
+ <p class="text-lg text-gray-600 max-w-lg mx-auto">Suivez-moi sur mes différents réseaux sociaux pour ne rien manquer !</p>
65
+ </div>
66
+
67
+ <!-- Social Links -->
68
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 gap-6 mb-12">
69
+ <!-- Facebook -->
70
+ <div class="social-card bg-white rounded-xl p-6 shadow-md cursor-pointer pulse"
71
+ onclick="redirectTo('facebook')">
72
+ <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-blue-100 flex items-center justify-center">
73
+ <i class="fab fa-facebook-f text-blue-600 text-2xl"></i>
74
+ </div>
75
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">Facebook</h3>
76
+ <p class="text-gray-600 mb-4">Suivez mes actualités</p>
77
+ <button class="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition">
78
+ Suivre
79
+ </button>
80
+ </div>
81
+
82
+ <!-- TikTok -->
83
+ <div class="social-card bg-white rounded-xl p-6 shadow-md cursor-pointer pulse"
84
+ onclick="redirectTo('tiktok')">
85
+ <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-pink-100 flex items-center justify-center">
86
+ <i class="fab fa-tiktok text-black text-2xl"></i>
87
+ </div>
88
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">TikTok</h3>
89
+ <p class="text-gray-600 mb-4">Découvrez mes vidéos</p>
90
+ <button class="px-4 py-2 bg-black text-white rounded-lg hover:bg-gray-800 transition">
91
+ Suivre
92
+ </button>
93
+ </div>
94
+
95
+ <!-- Snapchat -->
96
+ <div class="social-card bg-white rounded-xl p-6 shadow-md cursor-pointer pulse"
97
+ onclick="redirectTo('snapchat')">
98
+ <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-yellow-100 flex items-center justify-center">
99
+ <i class="fab fa-snapchat-ghost text-yellow-500 text-2xl"></i>
100
+ </div>
101
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">Snapchat</h3>
102
+ <p class="text-gray-600 mb-4">Mes moments du quotidien</p>
103
+ <button class="px-4 py-2 bg-yellow-500 text-white rounded-lg hover:bg-yellow-600 transition">
104
+ Ajouter
105
+ </button>
106
+ </div>
107
+
108
+ <!-- Instagram -->
109
+ <div class="social-card bg-white rounded-xl p-6 shadow-md cursor-pointer pulse"
110
+ onclick="redirectTo('instagram')">
111
+ <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-gradient-to-r from-purple-500 via-pink-500 to-yellow-500 flex items-center justify-center">
112
+ <i class="fab fa-instagram text-white text-2xl"></i>
113
+ </div>
114
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">Instagram</h3>
115
+ <p class="text-gray-600 mb-4">Voir mes photos</p>
116
+ <button class="px-4 py-2 bg-gradient-to-r from-purple-500 via-pink-500 to-yellow-500 text-white rounded-lg hover:opacity-90 transition">
117
+ Suivre
118
+ </button>
119
+ </div>
120
+
121
+ <!-- WhatsApp -->
122
+ <div class="social-card bg-white rounded-xl p-6 shadow-md cursor-pointer pulse"
123
+ onclick="redirectTo('whatsapp')">
124
+ <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-green-100 flex items-center justify-center">
125
+ <i class="fab fa-whatsapp text-green-600 text-2xl"></i>
126
+ </div>
127
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">WhatsApp</h3>
128
+ <p class="text-gray-600 mb-4">Contactez-moi directement</p>
129
+ <button class="px-4 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition">
130
+ Envoyer un message
131
+ </button>
132
+ </div>
133
+
134
+ <!-- YouTube -->
135
+ <div class="social-card bg-white rounded-xl p-6 shadow-md cursor-pointer pulse"
136
+ onclick="redirectTo('youtube')">
137
+ <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-red-100 flex items-center justify-center">
138
+ <i class="fab fa-youtube text-red-600 text-2xl"></i>
139
+ </div>
140
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">YouTube</h3>
141
+ <p class="text-gray-600 mb-4">Regardez mes vidéos</p>
142
+ <button class="px-4 py-2 bg-red-600 text-white rounded-lg hover:bg-red-700 transition">
143
+ S'abonner
144
+ </button>
145
+ </div>
146
+ </div>
147
+
148
+ <!-- Floating CTA -->
149
+ <div class="bg-white rounded-xl shadow-lg p-6 max-w-2xl mx-auto floating">
150
+ <h2 class="text-2xl font-bold text-gray-800 mb-4">Vous ne savez pas par où commencer ?</h2>
151
+ <p class="text-gray-600 mb-6">Cliquez simplement sur l'une des plateformes ci-dessus pour être redirigé vers mon profil. À très vite !</p>
152
+ <button onclick="showAllLinks()" class="px-6 py-3 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition font-medium">
153
+ Voir tous les liens
154
+ </button>
155
+ </div>
156
+ </div>
157
+
158
+ <!-- Modal -->
159
+ <div id="linksModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center hidden z-50 px-4">
160
+ <div class="bg-white rounded-xl p-8 max-w-md w-full relative">
161
+ <button onclick="closeModal()" class="absolute top-4 right-4 text-gray-500 hover:text-gray-700">
162
+ <i class="fas fa-times text-xl"></i>
163
+ </button>
164
+ <h3 class="text-2xl font-bold text-gray-800 mb-6">Tous mes liens</h3>
165
+ <div class="space-y-4">
166
+ <div class="flex items-center p-3 border border-gray-200 rounded-lg hover:bg-gray-50 cursor-pointer" onclick="redirectTo('facebook')">
167
+ <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-4">
168
+ <i class="fab fa-facebook-f text-blue-600"></i>
169
+ </div>
170
+ <span class="font-medium">Facebook</span>
171
+ </div>
172
+ <div class="flex items-center p-3 border border-gray-200 rounded-lg hover:bg-gray-50 cursor-pointer" onclick="redirectTo('tiktok')">
173
+ <div class="w-10 h-10 rounded-full bg-pink-100 flex items-center justify-center mr-4">
174
+ <i class="fab fa-tiktok text-black"></i>
175
+ </div>
176
+ <span class="font-medium">TikTok</span>
177
+ </div>
178
+ <div class="flex items-center p-3 border border-gray-200 rounded-lg hover:bg-gray-50 cursor-pointer" onclick="redirectTo('snapchat')">
179
+ <div class="w-10 h-10 rounded-full bg-yellow-100 flex items-center justify-center mr-4">
180
+ <i class="fab fa-snapchat-ghost text-yellow-500"></i>
181
+ </div>
182
+ <span class="font-medium">Snapchat</span>
183
+ </div>
184
+ <div class="flex items-center p-3 border border-gray-200 rounded-lg hover:bg-gray-50 cursor-pointer" onclick="redirectTo('instagram')">
185
+ <div class="w-10 h-10 rounded-full bg-gradient-to-r from-purple-500 via-pink-500 to-yellow-500 flex items-center justify-center mr-4">
186
+ <i class="fab fa-instagram text-white"></i>
187
+ </div>
188
+ <span class="font-medium">Instagram</span>
189
+ </div>
190
+ <div class="flex items-center p-3 border border-gray-200 rounded-lg hover:bg-gray-50 cursor-pointer" onclick="redirectTo('whatsapp')">
191
+ <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mr-4">
192
+ <i class="fab fa-whatsapp text-green-600"></i>
193
+ </div>
194
+ <span class="font-medium">WhatsApp</span>
195
+ </div>
196
+ <div class="flex items-center p-3 border border-gray-200 rounded-lg hover:bg-gray-50 cursor-pointer" onclick="redirectTo('youtube')">
197
+ <div class="w-10 h-10 rounded-full bg-red-100 flex items-center justify-center mr-4">
198
+ <i class="fab fa-youtube text-red-600"></i>
199
+ </div>
200
+ <span class="font-medium">YouTube</span>
201
+ </div>
202
+ </div>
203
+ </div>
204
+ </div>
205
+
206
+ <script>
207
+ // Configuration des liens sociaux
208
+ const socialLinks = {
209
+ facebook: "https://www.facebook.com/adrien.sing",
210
+ tiktok: "https://www.tiktok.com/@web.divertissement",
211
+ snapchat: "https://www.snapchat.com/add/webgenius7910",
212
+ whatsapp: "https://wa.me/983562679", // Format international sans +
213
+ instagram: "https://www.instagram.com/web_trader01",
214
+ youtube: "https://www.youtube.com/@WebGenius1?sub_confirmation=1"
215
+ };
216
+
217
+ // Vérification initiale des liens
218
+ document.addEventListener('DOMContentLoaded', () => {
219
+ for (const [platform, link] of Object.entries(socialLinks)) {
220
+ if (!link || link.includes('example.com')) {
221
+ console.warn(`Attention: Lien ${platform} non configuré ou invalide`);
222
+ }
223
+ }
224
+ });
225
+
226
+ function redirectTo(platform) {
227
+ try {
228
+ const link = socialLinks[platform];
229
+ if (!link) {
230
+ throw new Error('Lien non configuré');
231
+ }
232
+
233
+ // Vérification basique de l'URL
234
+ if (!link.startsWith('http://') && !link.startsWith('https://')) {
235
+ throw new Error('Format de lien invalide');
236
+ }
237
+
238
+ window.open(link, '_blank', 'noopener,noreferrer');
239
+ } catch (error) {
240
+ console.error('Erreur de redirection:', error);
241
+ alert(`Impossible de rediriger vers ${platform}: ${error.message}`);
242
+ }
243
+ }
244
+
245
+ function showAllLinks() {
246
+ document.getElementById('linksModal').classList.remove('hidden');
247
+ }
248
+
249
+ function closeModal() {
250
+ document.getElementById('linksModal').classList.add('hidden');
251
+ }
252
+
253
+ // Fermer la modal en cliquant à l'extérieur
254
+ document.getElementById('linksModal').addEventListener('click', function(e) {
255
+ if (e.target === this) {
256
+ closeModal();
257
+ }
258
+ });
259
+ </script>
260
+
261
+ <!-- Footer -->
262
+ <footer class="mt-12 text-center text-gray-600">
263
+ <div class="flex items-center justify-center space-x-4">
264
+ <img src="https://www.japanfm.fr/wp-content/uploads/2024/03/luffy-chapeau-tenu-scaled.jpg"
265
+ alt="Profile" class="w-10 h-10 rounded-full object-cover">
266
+ <span>Créé par WebGenius</span>
267
+ </div>
268
+ </footer>
269
+ <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://deepsite.hf.co/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://deepsite.hf.co" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://deepsite.hf.co?remix=joinel/webcreator" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
270
+ </html>
prompts.txt ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ J`ai besoin d`un site qui peut redirigé plusieurs personne vers mes comptes reseaux sociaux facebook, tiktok, snapchat, whatshapp
2
+ AJOUTE INSTAGRAM
3
+ J`AI BESOIN DE MODIFIER LA PHOTO
4
+ ou placer les liens de mes comptes
5
+ ajoute youtube aussi
6
+ ECRIT EN BAS CREER PAR WEBGENIUS AVEC MA PHOTO DE PROFIL https://www.japanfm.fr/wp-content/uploads/2024/03/luffy-chapeau-tenu-scaled.jpg
7
+ CORRIGE LES BUGS AU NIVEAU DE LA REDIRIGIRATION DES MES RESEAUX SOCIAUX
8
+ BON CORRIGE LE BUG