File size: 45,587 Bytes
fdd19a0 | 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 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 | <!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PostGenAI - Créateur de Publications Sociales avec IA</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);
}
.post-card {
transition: all 0.3s ease;
}
.post-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);
}
.fade-in {
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
</style>
</head>
<body class="font-sans bg-gray-50">
<!-- Navigation -->
<nav class="bg-white shadow-lg">
<div class="max-w-6xl mx-auto px-4">
<div class="flex justify-between items-center py-4">
<div class="flex items-center space-x-4">
<i class="fas fa-robot text-2xl text-purple-600"></i>
<span class="font-semibold text-gray-900 text-xl">PostGenAI</span>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="#features" class="text-gray-700 hover:text-purple-600">Fonctionnalités</a>
<a href="#testimonials" class="text-gray-700 hover:text-purple-600">Témoignages</a>
<a href="#pricing" class="text-gray-700 hover:text-purple-600">Tarifs</a>
<button id="subscribeBtnNav" class="bg-purple-600 text-white px-4 py-2 rounded-md hover:bg-purple-700 transition">S'abonner</button>
</div>
<div class="md:hidden">
<button id="mobileMenuBtn" class="text-gray-700 focus:outline-none">
<i class="fas fa-bars text-2xl"></i>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div id="mobileMenu" class="hidden md:hidden bg-white px-4 py-2 border-t">
<a href="#features" class="block py-2 text-gray-700 hover:text-purple-600">Fonctionnalités</a>
<a href="#testimonials" class="block py-2 text-gray-700 hover:text-purple-600">Témoignages</a>
<a href="#pricing" class="block py-2 text-gray-700 hover:text-purple-600">Tarifs</a>
<button id="subscribeBtnMobile" class="w-full bg-purple-600 text-white px-4 py-2 rounded-md hover:bg-purple-700 transition my-2">S'abonner</button>
</div>
</nav>
<!-- Hero Section -->
<section class="gradient-bg text-white py-20">
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0">
<h1 class="text-4xl md:text-5xl font-bold mb-6">Créez des publications percutantes en quelques secondes</h1>
<p class="text-xl mb-8">Notre IA génère pour vous des contenus optimisés pour les réseaux sociaux, augmentant votre engagement et vous faisant gagner un temps précieux.</p>
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<button id="heroSubscribeBtn" class="bg-white text-purple-600 px-8 py-3 rounded-lg font-semibold hover:bg-gray-100 transition pulse">Essayer maintenant - 9,99€</button>
<button class="border-2 border-white px-8 py-3 rounded-lg font-semibold hover:bg-white hover:text-purple-600 transition">Voir une démo</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<div class="bg-white rounded-xl shadow-2xl p-4 w-full max-w-md">
<div class="bg-gray-100 rounded-lg p-4 mb-4">
<div class="flex items-center mb-2">
<div class="w-8 h-8 rounded-full bg-purple-200 flex items-center justify-center">
<i class="fas fa-user text-purple-600"></i>
</div>
<div class="ml-2">
<p class="font-semibold text-gray-800">VotreMarque</p>
<p class="text-xs text-gray-500">@votremarque</p>
</div>
</div>
<p class="text-gray-800 mb-2">Découvrez notre nouveau produit révolutionnaire qui va changer votre quotidien ! 🚀</p>
<div class="flex justify-between text-xs text-gray-500">
<span>❤️ 245</span>
<span>🔁 56</span>
<span>💬 23</span>
<span>👁️ 1.2K</span>
</div>
</div>
<div class="bg-gray-800 rounded-lg p-4 text-white">
<div class="flex items-center mb-2">
<div class="w-8 h-8 rounded-full bg-purple-400 flex items-center justify-center">
<i class="fas fa-robot"></i>
</div>
<div class="ml-2">
<p class="font-semibold">PostGenAI</p>
<p class="text-xs text-gray-300">@postgenai</p>
</div>
</div>
<p class="mb-2">"Boostez votre présence sur les réseaux avec nos publications générées par IA. Essayez maintenant !"</p>
<div class="flex justify-between text-xs text-gray-300">
<span>❤️ 189</span>
<span>🔁 42</span>
<span>💬 15</span>
<span>👁️ 987</span>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section id="features" class="py-20 bg-white">
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-900 mb-4">Pourquoi choisir PostGenAI ?</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">Notre solution combine la puissance de l'IA avec une interface simple pour des résultats exceptionnels.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-gray-50 p-8 rounded-xl post-card">
<div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-bolt text-purple-600 text-2xl"></i>
</div>
<h3 class="text-xl font-semibold mb-3">Rapidité</h3>
<p class="text-gray-600">Générez des publications en quelques secondes au lieu de passer des heures à réfléchir à votre contenu.</p>
</div>
<div class="bg-gray-50 p-8 rounded-xl post-card">
<div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-chart-line text-purple-600 text-2xl"></i>
</div>
<h3 class="text-xl font-semibold mb-3">Performance</h3>
<p class="text-gray-600">Nos algorithmes créent des contenus optimisés pour maximiser l'engagement et la portée.</p>
</div>
<div class="bg-gray-50 p-8 rounded-xl post-card">
<div class="w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-palette text-purple-600 text-2xl"></i>
</div>
<h3 class="text-xl font-semibold mb-3">Variété</h3>
<p class="text-gray-600">Des styles différents pour chaque plateforme : LinkedIn professionnel, Instagram visuel, Twitter concis.</p>
</div>
</div>
</div>
</section>
<!-- How it works -->
<section class="py-20 bg-gray-50">
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-900 mb-4">Comment ça marche ?</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">Trois étapes simples pour des publications parfaites</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="flex flex-col items-center text-center">
<div class="w-20 h-20 bg-purple-600 text-white rounded-full flex items-center justify-center mb-4 text-2xl font-bold">1</div>
<h3 class="text-xl font-semibold mb-3">S'abonner</h3>
<p class="text-gray-600">Choisissez notre offre unique à 9,99€ pour 10 publications générées par IA.</p>
</div>
<div class="flex flex-col items-center text-center">
<div class="w-20 h-20 bg-purple-600 text-white rounded-full flex items-center justify-center mb-4 text-2xl font-bold">2</div>
<h3 class="text-xl font-semibold mb-3">Configurer</h3>
<p class="text-gray-600">Décrivez votre besoin, choisissez le ton et la plateforme cible.</p>
</div>
<div class="flex flex-col items-center text-center">
<div class="w-20 h-20 bg-purple-600 text-white rounded-full flex items-center justify-center mb-4 text-2xl font-bold">3</div>
<h3 class="text-xl font-semibold mb-3">Générer</h3>
<p class="text-gray-600">Recevez instantanément votre publication optimisée, prête à être partagée.</p>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section id="testimonials" class="py-20 bg-white">
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-900 mb-4">Ce que disent nos utilisateurs</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">Des entrepreneurs et marketeurs qui ont boosté leur présence en ligne</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-gray-50 p-8 rounded-xl">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-purple-200 flex items-center justify-center">
<i class="fas fa-user text-purple-600"></i>
</div>
<div class="ml-4">
<h4 class="font-semibold">Marie D.</h4>
<p class="text-sm text-gray-500">Entrepreneuse</p>
</div>
</div>
<p class="text-gray-600 italic">"PostGenAI a transformé ma présence sur LinkedIn. Je passe 10 fois moins de temps à créer du contenu et mon engagement a augmenté de 300%."</p>
<div class="mt-4 flex">
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
</div>
</div>
<div class="bg-gray-50 p-8 rounded-xl">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-purple-200 flex items-center justify-center">
<i class="fas fa-user text-purple-600"></i>
</div>
<div class="ml-4">
<h4 class="font-semibold">Thomas L.</h4>
<p class="text-sm text-gray-500">Responsable marketing</p>
</div>
</div>
<p class="text-gray-600 italic">"L'abonnement à 10 publications est parfait pour nos besoins. La qualité est constante et nous permet de maintenir une régularité sur nos réseaux."</p>
<div class="mt-4 flex">
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
</div>
</div>
<div class="bg-gray-50 p-8 rounded-xl">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-purple-200 flex items-center justify-center">
<i class="fas fa-user text-purple-600"></i>
</div>
<div class="ml-4">
<h4 class="font-semibold">Sophie R.</h4>
<p class="text-sm text-gray-500">Influenceuse</p>
</div>
</div>
<p class="text-gray-600 italic">"Je recommande PostGenAI à tous les créateurs de contenu. L'IA comprend parfaitement mon style et propose des variations que je n'aurais jamais imaginées."</p>
<div class="mt-4 flex">
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star text-yellow-400"></i>
<i class="fas fa-star-half-alt text-yellow-400"></i>
</div>
</div>
</div>
</div>
</section>
<!-- Pricing -->
<section id="pricing" class="py-20 bg-gray-50">
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-900 mb-4">Notre offre unique</h2>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">Un abonnement simple, sans engagement, avec des résultats immédiats</p>
</div>
<div class="flex justify-center">
<div class="bg-white rounded-xl shadow-xl overflow-hidden w-full max-w-md">
<div class="gradient-bg text-white py-6 px-8">
<h3 class="text-2xl font-bold">Pack de 10 publications</h3>
<p class="opacity-90">Parfait pour une campagne ou un mois de contenu</p>
</div>
<div class="p-8">
<div class="text-center mb-6">
<span class="text-5xl font-bold">9,99€</span>
<span class="text-gray-500">/ pack</span>
</div>
<ul class="space-y-3 mb-8">
<li class="flex items-center">
<i class="fas fa-check text-green-500 mr-2"></i>
<span>10 publications générées par IA</span>
</li>
<li class="flex items-center">
<i class="fas fa-check text-green-500 mr-2"></i>
<span>Optimisées pour chaque plateforme</span>
</li>
<li class="flex items-center">
<i class="fas fa-check text-green-500 mr-2"></i>
<span>Suggestions de hashtags pertinents</span>
</li>
<li class="flex items-center">
<i class="fas fa-check text-green-500 mr-2"></i>
<span>Historique de vos publications</span>
</li>
<li class="flex items-center">
<i class="fas fa-check text-green-500 mr-2"></i>
<span>Pas d'engagement, renouvelable à volonté</span>
</li>
</ul>
<button id="pricingSubscribeBtn" class="w-full bg-purple-600 text-white py-3 rounded-lg font-semibold hover:bg-purple-700 transition">S'abonner maintenant</button>
</div>
</div>
</div>
<div class="mt-8 text-center text-gray-500">
<p>Garantie satisfait ou remboursé sous 7 jours</p>
</div>
</div>
</section>
<!-- Payment Modal -->
<div id="paymentModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
<div class="bg-white rounded-xl max-w-md w-full mx-4 fade-in">
<div class="p-6">
<div class="flex justify-between items-center mb-6">
<h3 class="text-2xl font-bold">Finaliser votre abonnement</h3>
<button id="closePaymentModal" class="text-gray-500 hover:text-gray-700">
<i class="fas fa-times"></i>
</button>
</div>
<div class="mb-6">
<div class="bg-gray-100 p-4 rounded-lg mb-4">
<div class="flex justify-between mb-2">
<span class="font-semibold">Pack de 10 publications</span>
<span class="font-semibold">9,99€</span>
</div>
<div class="text-sm text-gray-500">
<p>Renouvelable manuellement après utilisation des 10 crédits</p>
</div>
</div>
<div class="border-t pt-4">
<div class="flex justify-between font-bold text-lg">
<span>Total</span>
<span>9,99€</span>
</div>
</div>
</div>
<form id="paymentForm">
<div class="mb-4">
<label class="block text-gray-700 mb-2" for="cardNumber">Numéro de carte</label>
<div class="relative">
<input type="text" id="cardNumber" class="w-full p-3 border rounded-lg" placeholder="1234 5678 9012 3456" maxlength="19">
<div class="absolute right-3 top-3">
<i class="fab fa-cc-visa text-gray-400 text-xl"></i>
<i class="fab fa-cc-mastercard text-gray-400 text-xl ml-1"></i>
</div>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mb-4">
<div>
<label class="block text-gray-700 mb-2" for="expiry">Date d'expiration</label>
<input type="text" id="expiry" class="w-full p-3 border rounded-lg" placeholder="MM/AA" maxlength="5">
</div>
<div>
<label class="block text-gray-700 mb-2" for="cvv">CVV</label>
<input type="text" id="cvv" class="w-full p-3 border rounded-lg" placeholder="123" maxlength="3">
</div>
</div>
<div class="mb-6">
<label class="block text-gray-700 mb-2" for="name">Nom sur la carte</label>
<input type="text" id="name" class="w-full p-3 border rounded-lg" placeholder="Jean Dupont">
</div>
<button type="submit" id="confirmPayment" class="w-full bg-purple-600 text-white py-3 rounded-lg font-semibold hover:bg-purple-700 transition">Payer 9,99€</button>
</form>
</div>
</div>
</div>
<!-- Payment Success Modal -->
<div id="successModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
<div class="bg-white rounded-xl max-w-md w-full mx-4 p-8 text-center fade-in">
<div class="w-20 h-20 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-6">
<i class="fas fa-check text-green-500 text-3xl"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Paiement réussi !</h3>
<p class="text-gray-600 mb-6">Votre abonnement est maintenant actif. Vous disposez de 10 crédits pour générer des publications.</p>
<button id="closeSuccessModal" class="bg-purple-600 text-white px-6 py-2 rounded-lg font-semibold hover:bg-purple-700 transition">Commencer à créer</button>
</div>
</div>
<!-- Post Creation Section (Hidden until payment) -->
<section id="postCreation" class="py-12 bg-white hidden">
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center mb-8">
<h2 class="text-2xl font-bold text-gray-900">Créateur de publications</h2>
<div class="bg-purple-100 text-purple-800 px-4 py-2 rounded-full flex items-center">
<i class="fas fa-coins mr-2"></i>
<span id="creditsCount">10</span> crédits restants
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Input Form -->
<div class="lg:col-span-1 bg-gray-50 p-6 rounded-xl">
<h3 class="text-lg font-semibold mb-4">Paramètres de la publication</h3>
<form id="postForm">
<div class="mb-4">
<label class="block text-gray-700 mb-2" for="platform">Plateforme</label>
<select id="platform" class="w-full p-3 border rounded-lg">
<option value="instagram">Instagram</option>
<option value="facebook">Facebook</option>
<option value="twitter">Twitter</option>
<option value="linkedin">LinkedIn</option>
<option value="tiktok">TikTok</option>
</select>
</div>
<div class="mb-4">
<label class="block text-gray-700 mb-2" for="tone">Ton</label>
<select id="tone" class="w-full p-3 border rounded-lg">
<option value="professionnel">Professionnel</option>
<option value="amical">Amical</option>
<option value="inspirant">Inspirant</option>
<option value="humoristique">Humoristique</option>
<option value="urgent">Urgent</option>
</select>
</div>
<div class="mb-4">
<label class="block text-gray-700 mb-2" for="topic">Sujet</label>
<input type="text" id="topic" class="w-full p-3 border rounded-lg" placeholder="De quoi voulez-vous parler ?">
</div>
<div class="mb-6">
<label class="block text-gray-700 mb-2" for="details">Détails (facultatif)</label>
<textarea id="details" class="w-full p-3 border rounded-lg" rows="3" placeholder="Ajoutez des détails ou des mots-clés..."></textarea>
</div>
<button type="submit" id="generatePost" class="w-full bg-purple-600 text-white py-3 rounded-lg font-semibold hover:bg-purple-700 transition flex items-center justify-center">
<i class="fas fa-magic mr-2"></i> Générer la publication
</button>
</form>
</div>
<!-- Generated Post Preview -->
<div class="lg:col-span-2">
<div class="bg-gray-50 p-6 rounded-xl mb-6">
<h3 class="text-lg font-semibold mb-4">Aperçu de la publication</h3>
<div id="postPreview" class="bg-white p-4 rounded-lg border border-gray-200 min-h-48 flex items-center justify-center">
<p class="text-gray-400">Votre publication générée apparaîtra ici</p>
</div>
</div>
<!-- Post Actions -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
<button id="copyPost" class="bg-gray-200 text-gray-700 py-3 rounded-lg font-semibold hover:bg-gray-300 transition flex items-center justify-center disabled:opacity-50" disabled>
<i class="fas fa-copy mr-2"></i> Copier
</button>
<button id="downloadPost" class="bg-gray-200 text-gray-700 py-3 rounded-lg font-semibold hover:bg-gray-300 transition flex items-center justify-center disabled:opacity-50" disabled>
<i class="fas fa-download mr-2"></i> Télécharger
</button>
<button id="newPost" class="bg-purple-600 text-white py-3 rounded-lg font-semibold hover:bg-purple-700 transition flex items-center justify-center">
<i class="fas fa-plus mr-2"></i> Nouvelle publication
</button>
</div>
</div>
</div>
</div>
</section>
<!-- No Credits Modal -->
<div id="noCreditsModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
<div class="bg-white rounded-xl max-w-md w-full mx-4 p-8 text-center fade-in">
<div class="w-20 h-20 bg-purple-100 rounded-full flex items-center justify-center mx-auto mb-6">
<i class="fas fa-exclamation text-purple-600 text-3xl"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Plus de crédits disponibles</h3>
<p class="text-gray-600 mb-6">Vous avez utilisé vos 10 crédits de publication. Renouvelez votre abonnement pour continuer à créer du contenu.</p>
<div class="flex flex-col space-y-3">
<button id="renewSubscription" class="bg-purple-600 text-white px-6 py-2 rounded-lg font-semibold hover:bg-purple-700 transition">
Renouveler l'abonnement (9,99€)
</button>
<button id="closeNoCreditsModal" class="border border-gray-300 text-gray-700 px-6 py-2 rounded-lg font-semibold hover:bg-gray-50 transition">
Plus tard
</button>
</div>
</div>
</div>
<!-- Footer -->
<footer class="bg-gray-900 text-white py-12">
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="flex items-center mb-4">
<i class="fas fa-robot text-2xl text-purple-400 mr-2"></i>
<span class="font-semibold text-xl">PostGenAI</span>
</div>
<p class="text-gray-400">L'outil ultime pour créer des publications sociales percutantes en quelques secondes grâce à l'IA.</p>
</div>
<div>
<h4 class="font-semibold text-lg mb-4">Navigation</h4>
<ul class="space-y-2">
<li><a href="#features" class="text-gray-400 hover:text-white transition">Fonctionnalités</a></li>
<li><a href="#testimonials" class="text-gray-400 hover:text-white transition">Témoignages</a></li>
<li><a href="#pricing" class="text-gray-400 hover:text-white transition">Tarifs</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold text-lg mb-4">Légal</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Conditions générales</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Politique de confidentialité</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Mentions légales</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold text-lg mb-4">Contact</h4>
<ul class="space-y-2">
<li class="flex items-center">
<i class="fas fa-envelope text-gray-400 mr-2"></i>
<span class="text-gray-400">contact@postgenai.com</span>
</li>
<li class="flex items-center">
<i class="fas fa-phone text-gray-400 mr-2"></i>
<span class="text-gray-400">+33 1 23 45 67 89</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
<p>© 2023 PostGenAI. Tous droits réservés.</p>
</div>
</div>
</footer>
<script>
// Mobile menu toggle
document.getElementById('mobileMenuBtn').addEventListener('click', function() {
document.getElementById('mobileMenu').classList.toggle('hidden');
});
// Subscription buttons
const subscribeButtons = [
document.getElementById('subscribeBtnNav'),
document.getElementById('subscribeBtnMobile'),
document.getElementById('heroSubscribeBtn'),
document.getElementById('pricingSubscribeBtn')
];
subscribeButtons.forEach(button => {
if (button) {
button.addEventListener('click', function() {
document.getElementById('paymentModal').classList.remove('hidden');
});
}
});
// Close payment modal
document.getElementById('closePaymentModal').addEventListener('click', function() {
document.getElementById('paymentModal').classList.add('hidden');
});
// Payment form submission
document.getElementById('paymentForm').addEventListener('submit', function(e) {
e.preventDefault();
// Simulate payment processing
document.getElementById('confirmPayment').disabled = true;
document.getElementById('confirmPayment').innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Traitement...';
setTimeout(function() {
document.getElementById('paymentModal').classList.add('hidden');
document.getElementById('successModal').classList.remove('hidden');
// Store subscription in localStorage
localStorage.setItem('postGenAISubscription', 'active');
localStorage.setItem('postGenAICredits', '10');
}, 1500);
});
// Close success modal and show post creation
document.getElementById('closeSuccessModal').addEventListener('click', function() {
document.getElementById('successModal').classList.add('hidden');
document.getElementById('postCreation').classList.remove('hidden');
// Update credits count
document.getElementById('creditsCount').textContent = localStorage.getItem('postGenAICredits');
// Scroll to post creation
document.getElementById('postCreation').scrollIntoView({ behavior: 'smooth' });
});
// Check for existing subscription on page load
document.addEventListener('DOMContentLoaded', function() {
if (localStorage.getItem('postGenAISubscription') === 'active') {
document.getElementById('postCreation').classList.remove('hidden');
document.getElementById('creditsCount').textContent = localStorage.getItem('postGenAICredits');
}
});
// Post generation form
document.getElementById('postForm').addEventListener('submit', function(e) {
e.preventDefault();
const credits = parseInt(localStorage.getItem('postGenAICredits'));
if (credits <= 0) {
document.getElementById('noCreditsModal').classList.remove('hidden');
return;
}
// Show loading state
document.getElementById('generatePost').disabled = true;
document.getElementById('generatePost').innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Génération en cours...';
// Get form values
const platform = document.getElementById('platform').value;
const tone = document.getElementById('tone').value;
const topic = document.getElementById('topic').value;
const details = document.getElementById('details').value;
// Simulate AI generation
setTimeout(function() {
// Generate post based on inputs
const postText = generatePost(platform, tone, topic, details);
// Display generated post
document.getElementById('postPreview').innerHTML = `
<div class="w-full">
<p class="whitespace-pre-line">${postText}</p>
</div>
`;
// Enable copy and download buttons
document.getElementById('copyPost').disabled = false;
document.getElementById('downloadPost').disabled = false;
// Reset generate button
document.getElementById('generatePost').disabled = false;
document.getElementById('generatePost').innerHTML = '<i class="fas fa-magic mr-2"></i> Générer la publication';
// Deduct credit
const newCredits = credits - 1;
localStorage.setItem('postGenAICredits', newCredits.toString());
document.getElementById('creditsCount').textContent = newCredits;
}, 2000);
});
// New post button
document.getElementById('newPost').addEventListener('click', function() {
document.getElementById('postForm').reset();
document.getElementById('postPreview').innerHTML = '<p class="text-gray-400">Votre publication générée apparaîtra ici</p>';
document.getElementById('copyPost').disabled = true;
document.getElementById('downloadPost').disabled = true;
});
// Copy post button
document.getElementById('copyPost').addEventListener('click', function() {
const postText = document.getElementById('postPreview').textContent;
navigator.clipboard.writeText(postText.trim());
// Show feedback
const originalText = this.innerHTML;
this.innerHTML = '<i class="fas fa-check mr-2"></i> Copié !';
setTimeout(() => {
this.innerHTML = originalText;
}, 2000);
});
// Download post button
document.getElementById('downloadPost').addEventListener('click', function() {
const postText = document.getElementById('postPreview').textContent.trim();
const blob = new Blob([postText], { type: 'text/plain' });
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = 'publication-postgenai.txt';
document.body.appendChild(a);
a.click();
document.body.removeChild(a);
URL.revokeObjectURL(url);
});
// No credits modal - renew button
document.getElementById('renewSubscription').addEventListener('click', function() {
document.getElementById('noCreditsModal').classList.add('hidden');
document.getElementById('paymentModal').classList.remove('hidden');
});
// No credits modal - close button
document.getElementById('closeNoCreditsModal').addEventListener('click', function() {
document.getElementById('noCreditsModal').classList.add('hidden');
});
// Format card number input
document.getElementById('cardNumber').addEventListener('input', function(e) {
let value = this.value.replace(/\s+/g, '').replace(/[^0-9]/gi, '');
let matches = value.match(/\d{4,16}/g);
let match = matches && matches[0] || '';
let parts = [];
for (let i=0, len=match.length; i<len; i+=4) {
parts.push(match.substring(i, i+4));
}
if (parts.length) {
this.value = parts.join(' ');
} else {
this.value = value;
}
});
// Format expiry date input
document.getElementById('expiry').addEventListener('input', function(e) {
let value = this.value.replace(/\D/g, '');
if (value.length > 2) {
this.value = value.substring(0, 2) + '/' + value.substring(2, 4);
}
});
// AI Post Generator Function
function generatePost(platform, tone, topic, details) {
const platforms = {
instagram: {
professionnel: `📢 Nouveau post sur ${topic}\n\n${details || 'Découvrez notre dernière actualité !'} \n\n#${topic.replace(/\s+/g, '')} #Business #Opportunité`,
amical: `Hey la team ! 👋\n\nOn voulait vous parler de ${topic} aujourd'hui ! ${details || 'Qu\'en pensez-vous ?'} \n\nLikez et commentez ! ❤️\n\n#${topic.replace(/\s+/g, '')} #Community #Fun`,
inspirant: `✨ L'avenir appartient à ceux qui croient en leurs rêves\n\nAujourd'hui, nous voulons partager avec vous notre vision sur ${topic}. ${details || 'Le changement commence maintenant.'}\n\n#Inspiration #${topic.replace(/\s+/g, '')} #Motivation`,
humoristique: `😂 Vous ne devinerez jamais ce qui nous est arrivé avec ${topic} !\n\n${details || 'On a tellement ri qu\'on a dû vous en parler !'}\n\nLikez si vous aussi vous avez déjà vécu ça !\n\n#Humour #${topic.replace(/\s+/g, '')} #Funny`,
urgent: `🚨 URGENT : ${topic.toUpperCase()}\n\n${details || 'Agissez maintenant, cette opportunité ne se représentera pas !'}\n\n#Urgent #${topic.replace(/\s+/g, '')} #Action`
},
twitter: {
professionnel: `Nouvelle analyse sur ${topic} : ${details || 'Découvrez nos insights exclusifs.'} #${topic.replace(/\s+/g, '')} #Business`,
amical: `Hey Twitter ! Parlons de ${topic} aujourd'hui. ${details || 'Quel est votre avis ?'} #${topic.replace(/\s+/g, '')} #Discussion`,
inspirant: `${topic} : la clé pour changer les choses. ${details || 'Croyez en vos rêves.'} #Inspiration #${topic.replace(/\s+/g, '')}`,
humoristique: `ROFL ! ${topic} nous a bien fait rire aujourd'hui. ${details || 'Vous aussi ?'} #Humour #${topic.replace(/\s+/g, '')}`,
urgent: `ATTENTION : ${topic.toUpperCase()} ${details || 'Agissez maintenant !'} #Urgent #${topic.replace(/\s+/g, '')}`
},
linkedin: {
professionnel: `🚀 Nous sommes fiers de vous présenter notre nouveau projet : ${topic}.\n\n${details || 'Une innovation qui va transformer notre secteur.'}\n\n#Innovation #${topic.replace(/\s+/g, '')} #Leadership`,
amical: `Bonjour à tous,\n\nJe voulais partager avec vous quelques réflexions sur ${topic}. ${details || 'N\'hésitez pas à commenter et partager votre expérience !'}\n\n#Réseau #${topic.replace(/\s+/g, '')} #Partage`,
inspirant: `"Le succès n'est pas final, l'échec n'est pas fatal." - Churchill\n\nAujourd'hui, je veux parler de ${topic} et comment ${details || 'nous pouvons tous apprendre et grandir.'}\n\n#Motivation #${topic.replace(/\s+/g, '')} #Développement`,
humoristique: `[HUMOUR] Saviez-vous que ${topic} pouvait être aussi drôle ?\n\n${details || 'Parfois, il faut savoir rire de soi-même !'}\n\n#Humour #${topic.replace(/\s+/g, '')} #Détente`,
urgent: `🔔 ALERTE PROFESSIONNELLE : ${topic.toUpperCase()}\n\n${details || 'Ne manquez pas cette opportunité unique pour votre carrière.'}\n\n#Opportunité #${topic.replace(/\s+/g, '')} #Urgent`
},
facebook: {
professionnel: `Nous avons le plaisir de vous annoncer ${topic}.\n\n${details || 'Restez connectés pour plus d\'informations.'}\n\n#${topic.replace(/\s+/g, '')} #Actualité #Entreprise`,
amical: `Salut les amis ! 😊\n\nAujourd'hui, on parle de ${topic}. ${details || 'Dites-nous ce que vous en pensez en commentaire !'}\n\n#${topic.replace(/\s+/g, '')} #Communauté #Partage`,
inspirant: `Parfois, il suffit d'un petit pas pour commencer un grand voyage.\n\nAujourd'hui, nous voulons vous inspirer avec ${topic}. ${details || 'Croyez en vos rêves.'}\n\n#Inspiration #${topic.replace(/\s+/g, '')} #Motivation`,
humoristique: `😂 Vous ne croirez jamais ce qui est arrivé avec ${topic} !\n\n${details || 'On a tellement ri qu\'on a dû vous en parler !'}\n\n#Humour #${topic.replace(/\s+/g, '')} #Fun`,
urgent: `ATTENTION : ${topic.toUpperCase()}\n\n${details || 'Ne manquez pas cette information importante !'}\n\n#Urgent #${topic.replace(/\s+/g, '')} #Important`
},
tiktok: {
professionnel: `Découvrez ${topic} en 1 minute ! ⏱️\n\n${details || 'Tout ce que vous devez savoir en un clin d\'œil.'}\n\n#${topic.replace(/\s+/g, '')} #Tuto #Conseil`,
amical: `Hey la #TikTokFam ! 👋\n\nAujourd'hui, on parle de ${topic}. ${details || 'Likez si vous êtes d\'accord !'}\n\n#${topic.replace(/\s+/g, '')} #Fun #Trend`,
inspirant: `✨ La motivation du jour : ${topic}\n\n${details || 'Parfois, il suffit d\'un petit déclic pour tout changer.'}\n\n#Motivation #${topic.replace(/\s+/g, '')} #Inspiration`,
humoristique: `POV : ${topic} vous arrive 😂\n\n${details || 'Qui peut relate ?'}\n\n#Humour #${topic.replace(/\s+/g, '')} #Meme`,
urgent: `🚨 ${topic.toUpperCase()} - C'EST MAINTENANT OU JAMAIS !\n\n${details || 'Ne ratez pas ça !'}\n\n#Urgent #${topic.replace(/\s+/g, '')} #Trending`
}
};
return platforms[platform][tone];
}
</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=feamon/postgen" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |