Spaces:
Running
Running
la posibilité de télecharger les infoirmation en pdr - Follow Up Deployment
Browse files- index.html +75 -13
- prompts.txt +8 -1
index.html
CHANGED
|
@@ -5,6 +5,8 @@
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Business DEVELOPING | Demande Client</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 |
.fade-in {
|
|
@@ -41,8 +43,14 @@
|
|
| 41 |
<div class="container mx-auto px-4 py-6">
|
| 42 |
<div class="flex justify-between items-center">
|
| 43 |
<div class="flex items-center space-x-2">
|
| 44 |
-
<
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
</div>
|
| 47 |
<div class="hidden md:block">
|
| 48 |
<span class="bg-blue-500 px-3 py-1 rounded-full text-sm font-medium">DEMANDE CLIENT</span>
|
|
@@ -52,8 +60,8 @@
|
|
| 52 |
</header>
|
| 53 |
|
| 54 |
<main class="container mx-auto px-4 py-8">
|
| 55 |
-
<div class="max-w-4xl mx-auto bg-white rounded-xl shadow-md overflow-hidden fade-in">
|
| 56 |
-
<div class="p-6 md:p-8">
|
| 57 |
<h2 class="text-2xl font-bold text-gray-800 mb-6">Formulaire de Demande</h2>
|
| 58 |
|
| 59 |
<form id="demandeForm" class="space-y-6">
|
|
@@ -136,7 +144,10 @@
|
|
| 136 |
</label>
|
| 137 |
</div>
|
| 138 |
|
| 139 |
-
<div class="flex justify-end">
|
|
|
|
|
|
|
|
|
|
| 140 |
<button type="submit" class="px-6 py-3 bg-gradient-to-r from-indigo-600 to-purple-600 text-white font-medium rounded-lg hover:from-indigo-700 hover:to-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition duration-300 ease-in-out transform hover:scale-105 shadow-lg">
|
| 141 |
<i class="fas fa-paper-plane mr-2"></i> Envoyer la demande
|
| 142 |
</button>
|
|
@@ -162,7 +173,7 @@
|
|
| 162 |
</div>
|
| 163 |
</main>
|
| 164 |
|
| 165 |
-
<footer class="bg-gray-800 text-white py-8 mt-12">
|
| 166 |
<div class="container mx-auto px-4">
|
| 167 |
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 168 |
<div class="mb-4 md:mb-0">
|
|
@@ -171,15 +182,9 @@
|
|
| 171 |
</h2>
|
| 172 |
<p class="text-gray-400 mt-1">Votre partenaire pour le développement de votre entreprise</p>
|
| 173 |
</div>
|
| 174 |
-
<div class="flex space-x-6">
|
| 175 |
-
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook-f"></i></a>
|
| 176 |
-
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a>
|
| 177 |
-
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-linkedin-in"></i></a>
|
| 178 |
-
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a>
|
| 179 |
-
</div>
|
| 180 |
</div>
|
| 181 |
<div class="border-t border-gray-700 mt-6 pt-6 text-sm text-gray-400 text-center">
|
| 182 |
-
<p>©
|
| 183 |
</div>
|
| 184 |
</div>
|
| 185 |
</footer>
|
|
@@ -268,6 +273,63 @@
|
|
| 268 |
});
|
| 269 |
}
|
| 270 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 271 |
// Initialiser la page
|
| 272 |
document.addEventListener('DOMContentLoaded', () => {
|
| 273 |
afficherDomaines();
|
|
|
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
<title>Business DEVELOPING | Demande Client</title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script>
|
| 9 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf-autotable/3.5.28/jspdf.plugin.autotable.min.js"></script>
|
| 10 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 11 |
<style>
|
| 12 |
.fade-in {
|
|
|
|
| 43 |
<div class="container mx-auto px-4 py-6">
|
| 44 |
<div class="flex justify-between items-center">
|
| 45 |
<div class="flex items-center space-x-2">
|
| 46 |
+
<div class="relative">
|
| 47 |
+
<i class="fas fa-chart-line text-2xl"></i>
|
| 48 |
+
<i class="fas fa-crown absolute -top-3 -right-3 text-yellow-400 text-xs transform rotate-12"></i>
|
| 49 |
+
</div>
|
| 50 |
+
<div>
|
| 51 |
+
<h1 class="text-2xl md:text-3xl font-bold">Business DEVELOPING</h1>
|
| 52 |
+
<p class="text-xs text-white/80 -mt-1">By SOIM</p>
|
| 53 |
+
</div>
|
| 54 |
</div>
|
| 55 |
<div class="hidden md:block">
|
| 56 |
<span class="bg-blue-500 px-3 py-1 rounded-full text-sm font-medium">DEMANDE CLIENT</span>
|
|
|
|
| 60 |
</header>
|
| 61 |
|
| 62 |
<main class="container mx-auto px-4 py-8">
|
| 63 |
+
<div class="max-w-4xl mx-auto bg-white rounded-xl shadow-md overflow-hidden fade-in border-2 border-blue-500">
|
| 64 |
+
<div class="p-6 md:p-8 border-l-2 border-r-2 border-blue-500">
|
| 65 |
<h2 class="text-2xl font-bold text-gray-800 mb-6">Formulaire de Demande</h2>
|
| 66 |
|
| 67 |
<form id="demandeForm" class="space-y-6">
|
|
|
|
| 144 |
</label>
|
| 145 |
</div>
|
| 146 |
|
| 147 |
+
<div class="flex justify-end space-x-4">
|
| 148 |
+
<button type="button" onclick="generatePDF()" class="px-6 py-3 bg-gray-600 text-white font-medium rounded-lg hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500 transition duration-300 ease-in-out transform hover:scale-105 shadow-lg">
|
| 149 |
+
<i class="fas fa-file-pdf mr-2"></i> Télécharger PDF
|
| 150 |
+
</button>
|
| 151 |
<button type="submit" class="px-6 py-3 bg-gradient-to-r from-indigo-600 to-purple-600 text-white font-medium rounded-lg hover:from-indigo-700 hover:to-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition duration-300 ease-in-out transform hover:scale-105 shadow-lg">
|
| 152 |
<i class="fas fa-paper-plane mr-2"></i> Envoyer la demande
|
| 153 |
</button>
|
|
|
|
| 173 |
</div>
|
| 174 |
</main>
|
| 175 |
|
| 176 |
+
<footer class="bg-gray-800 text-white py-8 mt-12 border-t-4 border-gradient-to-r from-blue-500 to-blue-700">
|
| 177 |
<div class="container mx-auto px-4">
|
| 178 |
<div class="flex flex-col md:flex-row justify-between items-center">
|
| 179 |
<div class="mb-4 md:mb-0">
|
|
|
|
| 182 |
</h2>
|
| 183 |
<p class="text-gray-400 mt-1">Votre partenaire pour le développement de votre entreprise</p>
|
| 184 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 185 |
</div>
|
| 186 |
<div class="border-t border-gray-700 mt-6 pt-6 text-sm text-gray-400 text-center">
|
| 187 |
+
<p>© 2025 Business DEVELOPING soim. Tous droits réservés.</p>
|
| 188 |
</div>
|
| 189 |
</div>
|
| 190 |
</footer>
|
|
|
|
| 273 |
});
|
| 274 |
}
|
| 275 |
|
| 276 |
+
// Generate PDF document
|
| 277 |
+
function generatePDF() {
|
| 278 |
+
const { jsPDF } = window.jspdf;
|
| 279 |
+
const doc = new jsPDF();
|
| 280 |
+
|
| 281 |
+
// Title
|
| 282 |
+
doc.setFontSize(20);
|
| 283 |
+
doc.setTextColor(40, 53, 147);
|
| 284 |
+
doc.text('Demande Client - Business DEVELOPING', 105, 20, { align: 'center' });
|
| 285 |
+
|
| 286 |
+
// Client info section
|
| 287 |
+
doc.setFontSize(14);
|
| 288 |
+
doc.setTextColor(0, 0, 0);
|
| 289 |
+
doc.text('Informations du Client:', 14, 40);
|
| 290 |
+
|
| 291 |
+
// Get form values
|
| 292 |
+
const formData = {
|
| 293 |
+
nom: document.getElementById('nom').value,
|
| 294 |
+
entreprise: document.getElementById('entreprise').value,
|
| 295 |
+
email: document.getElementById('email').value,
|
| 296 |
+
telephone: document.getElementById('telephone').value,
|
| 297 |
+
adresse: document.getElementById('adresse').value,
|
| 298 |
+
urgent: document.getElementById('urgent').checked ? 'OUI' : 'NON',
|
| 299 |
+
domaine: document.querySelector('input[name="domaine"]:checked')?.value || 'Non spécifié',
|
| 300 |
+
commentaire: document.getElementById('commentaire').value
|
| 301 |
+
};
|
| 302 |
+
|
| 303 |
+
// Create table for client info
|
| 304 |
+
doc.autoTable({
|
| 305 |
+
startY: 45,
|
| 306 |
+
head: [['Champ', 'Valeur']],
|
| 307 |
+
body: [
|
| 308 |
+
['Nom complet', formData.nom],
|
| 309 |
+
['Entreprise', formData.entreprise || 'Non spécifié'],
|
| 310 |
+
['Email', formData.email],
|
| 311 |
+
['Téléphone', formData.telephone],
|
| 312 |
+
['Adresse', formData.adresse],
|
| 313 |
+
['Demande urgente', formData.urgent],
|
| 314 |
+
['Domaine', formData.domaine]
|
| 315 |
+
],
|
| 316 |
+
theme: 'grid',
|
| 317 |
+
headStyles: {
|
| 318 |
+
fillColor: [59, 130, 246],
|
| 319 |
+
textColor: 255
|
| 320 |
+
}
|
| 321 |
+
});
|
| 322 |
+
|
| 323 |
+
// Add comment section
|
| 324 |
+
doc.text('Détails de la demande:', 14, doc.autoTable.previous.finalY + 15);
|
| 325 |
+
doc.setFontSize(12);
|
| 326 |
+
doc.text(formData.commentaire, 14, doc.autoTable.previous.finalY + 25, { maxWidth: 180 });
|
| 327 |
+
|
| 328 |
+
// Save the PDF
|
| 329 |
+
const date = new Date().toLocaleDateString();
|
| 330 |
+
doc.save(`Demande_Client_${formData.nom}_${date}.pdf`);
|
| 331 |
+
}
|
| 332 |
+
|
| 333 |
// Initialiser la page
|
| 334 |
document.addEventListener('DOMContentLoaded', () => {
|
| 335 |
afficherDomaines();
|
prompts.txt
CHANGED
|
@@ -1,2 +1,9 @@
|
|
| 1 |
fait moi une application web au nom de business DEVELOPING pour encoder demande d'un client dans l'application le client doit mettere c'est information dans une zione commentaire et coucher quelle cdomande d'actuivier il veux entre c'etr dommaine : Télécommunications Informatique & services numériques Référencement SEO & visibilité en ligne Création de notoriété / image de marque Développement de sites web Applications mobiles Bâtiment & travaux publics Génie civil Électricité & installations techniques Sécurité (physique et électronique) Bureaux d’études & ingénierie Architecture & urbanisme Création d’entreprise de A à Z Gestion de projet & accompagnement stratégique
|
| 2 |
-
dans vos application rajoute : addrese , et mettre la posibkité de mettre si c'est urgent ; est change disgan de lapplication met la tres pro
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
fait moi une application web au nom de business DEVELOPING pour encoder demande d'un client dans l'application le client doit mettere c'est information dans une zione commentaire et coucher quelle cdomande d'actuivier il veux entre c'etr dommaine : Télécommunications Informatique & services numériques Référencement SEO & visibilité en ligne Création de notoriété / image de marque Développement de sites web Applications mobiles Bâtiment & travaux publics Génie civil Électricité & installations techniques Sécurité (physique et électronique) Bureaux d’études & ingénierie Architecture & urbanisme Création d’entreprise de A à Z Gestion de projet & accompagnement stratégique
|
| 2 |
+
dans vos application rajoute : addrese , et mettre la posibkité de mettre si c'est urgent ; est change disgan de lapplication met la tres pro
|
| 3 |
+
supprime les logo des réseau
|
| 4 |
+
en bas met 2025
|
| 5 |
+
MET LOGO UNE CORON ROI
|
| 6 |
+
CHANGE ICI COMME CELA : © 2025 Business DEVELOPING soim. Tous droits réservés.
|
| 7 |
+
met dans lentete en bas de Business developing : By SOIM
|
| 8 |
+
MET UN CADRE BLUE DANS LE FIORMULAIRE
|
| 9 |
+
la posibilité de télecharger les infoirmation en pdr
|