ia-web-builder / index.html
docto41's picture
Add 2 files
6953854 verified
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Générateur IA de Sites Web 2000+ Lignes</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>
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-15px); }
100% { transform: translateY(0px); }
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.floating {
animation: float 6s ease-in-out infinite;
}
.pulse {
animation: pulse 3s infinite;
}
.code-block {
font-family: 'Courier New', monospace;
background-color: #1e293b;
color: #f8fafc;
border-radius: 0.5rem;
padding: 1rem;
overflow-x: auto;
}
.preview-frame {
transform: scale(0.8);
transform-origin: top;
transition: transform 0.3s ease;
}
.preview-frame:hover {
transform: scale(0.85);
}
.progress-bar {
transition: width 0.5s ease;
}
.animate-fadeIn {
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
</style>
</head>
<body class="bg-gray-900 text-white min-h-screen">
<!-- Header -->
<header class="bg-gradient-to-r from-blue-900 to-purple-900 py-6 shadow-xl">
<div class="container mx-auto px-4 flex justify-between items-center">
<div class="flex items-center space-x-3">
<i class="fas fa-robot text-3xl text-blue-400"></i>
<span class="text-2xl font-bold">MegaSiteBuilder AI</span>
</div>
<nav class="hidden md:flex space-x-8">
<a href="#features" class="hover:text-blue-300 transition">Fonctionnalités</a>
<a href="#demo" class="hover:text-blue-300 transition">Démo</a>
<a href="#pricing" class="hover:text-blue-300 transition">Tarifs</a>
<a href="#testimonials" class="hover:text-blue-300 transition">Témoignages</a>
</nav>
<button class="bg-blue-600 hover:bg-blue-700 px-6 py-2 rounded-full font-bold md:hidden">
<i class="fas fa-bars"></i>
</button>
</div>
</header>
<!-- Hero Section -->
<section class="py-20 bg-gradient-to-b from-gray-900 to-gray-800">
<div class="container mx-auto px-4 flex flex-col lg:flex-row items-center">
<div class="lg:w-1/2 mb-12 lg:mb-0">
<h1 class="text-4xl md:text-5xl font-bold mb-6">Générez des sites web <span class="text-blue-400">2000+ lignes</span> en quelques minutes</h1>
<p class="text-xl mb-8 text-gray-300">Notre IA avancée crée des sites web complexes avec code optimisé, responsive design et toutes les fonctionnalités nécessaires - simplement en décrivant ce que vous voulez.</p>
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<button class="bg-blue-600 hover:bg-blue-700 px-8 py-4 rounded-full font-bold text-lg transition-all pulse">
Essai Gratuit <i class="fas fa-bolt ml-2"></i>
</button>
<button class="bg-transparent border-2 border-blue-500 px-8 py-4 rounded-full font-bold text-lg hover:bg-blue-900 transition">
Voir Démo <i class="fas fa-play ml-2"></i>
</button>
</div>
</div>
<div class="lg:w-1/2 relative floating">
<div class="bg-gray-800 rounded-xl shadow-2xl overflow-hidden">
<div class="bg-gray-700 p-3 flex items-center">
<div class="flex space-x-2 mr-4">
<div class="w-3 h-3 rounded-full bg-red-500"></div>
<div class="w-3 h-3 rounded-full bg-yellow-500"></div>
<div class="w-3 h-3 rounded-full bg-green-500"></div>
</div>
<div class="text-sm">ia-website-generator</div>
</div>
<div class="p-4 code-block">
<div class="text-green-400">$ msite generate --type=ecommerce --pages=25</div>
<div class="text-blue-400">> Initializing project architecture...</div>
<div class="text-blue-400">> Generating 25 pages...</div>
<div class="text-blue-400">> Creating 143 components...</div>
<div class="text-blue-400">> Optimizing for mobile...</div>
<div class="text-blue-400">> Writing 2147 lines of code...</div>
<div class="text-green-400">$ Project successfully generated!</div>
<div class="text-green-400">$ Total lines: 2147 (HTML: 684, CSS: 892, JS: 571)</div>
</div>
</div>
</div>
</div>
</section>
<!-- Visual Generator -->
<section id="demo" class="py-20 bg-gray-800">
<div class="container mx-auto px-4">
<h2 class="text-3xl md:text-4xl font-bold text-center mb-4">Générateur <span class="text-blue-400">Visuel</span></h2>
<p class="text-xl text-center mb-12 max-w-3xl mx-auto text-gray-300">Décrivez votre site et voyez-le prendre forme en temps réel avec notre interface visuelle</p>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<!-- Generator Controls -->
<div class="bg-gray-900 p-8 rounded-xl shadow-lg">
<div class="mb-8">
<label class="block text-lg mb-3">Type de site:</label>
<div class="grid grid-cols-2 gap-4">
<button class="site-type-btn bg-gray-800 hover:bg-blue-900 py-3 px-4 rounded-lg border border-gray-700 transition" data-type="ecommerce">
<i class="fas fa-shopping-cart mr-2"></i> E-commerce
</button>
<button class="site-type-btn bg-gray-800 hover:bg-blue-900 py-3 px-4 rounded-lg border border-gray-700 transition" data-type="portfolio">
<i class="fas fa-briefcase mr-2"></i> Portfolio
</button>
<button class="site-type-btn bg-gray-800 hover:bg-blue-900 py-3 px-4 rounded-lg border border-gray-700 transition" data-type="blog">
<i class="fas fa-blog mr-2"></i> Blog
</button>
<button class="site-type-btn bg-gray-800 hover:bg-blue-900 py-3 px-4 rounded-lg border border-gray-700 transition" data-type="corporate">
<i class="fas fa-building mr-2"></i> Corporate
</button>
</div>
</div>
<div class="mb-8">
<label class="block text-lg mb-3">Style de design:</label>
<div class="flex flex-wrap gap-3">
<button class="design-style-btn bg-gray-800 hover:bg-blue-900 py-2 px-4 rounded-lg border border-gray-700 transition" data-style="modern">
Moderne
</button>
<button class="design-style-btn bg-gray-800 hover:bg-blue-900 py-2 px-4 rounded-lg border border-gray-700 transition" data-style="minimal">
Minimaliste
</button>
<button class="design-style-btn bg-gray-800 hover:bg-blue-900 py-2 px-4 rounded-lg border border-gray-700 transition" data-style="creative">
Créatif
</button>
<button class="design-style-btn bg-gray-800 hover:bg-blue-900 py-2 px-4 rounded-lg border border-gray-700 transition" data-style="elegant">
Élégant
</button>
</div>
</div>
<div class="mb-8">
<label class="block text-lg mb-3">Couleur principale:</label>
<div class="flex space-x-4">
<button class="color-btn w-10 h-10 rounded-full bg-blue-600 border-2 border-white" data-color="blue"></button>
<button class="color-btn w-10 h-10 rounded-full bg-purple-600 border-2 border-transparent" data-color="purple"></button>
<button class="color-btn w-10 h-10 rounded-full bg-green-600 border-2 border-transparent" data-color="green"></button>
<button class="color-btn w-10 h-10 rounded-full bg-red-600 border-2 border-transparent" data-color="red"></button>
<button class="color-btn w-10 h-10 rounded-full bg-yellow-500 border-2 border-transparent" data-color="yellow"></button>
</div>
</div>
<div class="mb-8">
<label class="block text-lg mb-3">Description détaillée:</label>
<textarea id="site-description" class="w-full bg-gray-800 rounded-lg p-4 text-white border border-gray-700 focus:border-blue-500 focus:outline-none h-32" placeholder="Décrivez votre site en détail..."></textarea>
</div>
<button id="generate-site-btn" class="w-full bg-blue-600 hover:bg-blue-700 py-4 rounded-full font-bold text-lg transition">
Générer le Site <i class="fas fa-magic ml-2"></i>
</button>
</div>
<!-- Live Preview -->
<div class="bg-gray-900 p-8 rounded-xl shadow-lg">
<div class="flex justify-between items-center mb-6">
<h3 class="text-xl font-bold">Aperçu en Temps Réel</h3>
<div class="flex space-x-2">
<span class="text-sm bg-gray-800 px-3 py-1 rounded-full">Lignes: <span id="line-count">0</span></span>
<span class="text-sm bg-gray-800 px-3 py-1 rounded-full">Composants: <span id="component-count">0</span></span>
</div>
</div>
<div class="preview-frame bg-white rounded-lg overflow-hidden shadow-2xl" style="height: 400px;">
<div id="site-preview" class="h-full overflow-auto">
<!-- Preview will be inserted here by JavaScript -->
<div class="flex items-center justify-center h-full text-gray-500">
<div class="text-center">
<i class="fas fa-laptop-code text-5xl mb-4"></i>
<p>Votre aperçu apparaîtra ici</p>
</div>
</div>
</div>
</div>
<div id="generation-progress" class="hidden mt-6">
<div class="flex justify-between mb-2">
<span>Génération du code</span>
<span id="progress-percent">0%</span>
</div>
<div class="w-full bg-gray-700 rounded-full h-2.5">
<div id="progress-bar" class="bg-blue-600 h-2.5 rounded-full progress-bar" style="width: 0%"></div>
</div>
<div class="mt-4 grid grid-cols-3 gap-4 text-center text-sm">
<div class="bg-gray-800 p-2 rounded">
<div>HTML</div>
<div id="html-lines" class="font-bold">0</div>
</div>
<div class="bg-gray-800 p-2 rounded">
<div>CSS</div>
<div id="css-lines" class="font-bold">0</div>
</div>
<div class="bg-gray-800 p-2 rounded">
<div>JavaScript</div>
<div id="js-lines" class="font-bold">0</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Features -->
<section id="features" class="py-20 bg-gray-900">
<div class="container mx-auto px-4">
<h2 class="text-3xl md:text-4xl font-bold text-center mb-4">Fonctionnalités <span class="text-blue-400">Avancées</span></h2>
<p class="text-xl text-center mb-12 max-w-3xl mx-auto text-gray-300">Tout ce dont vous avez besoin pour créer des sites web professionnels</p>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="bg-gray-800 p-8 rounded-xl shadow-lg hover:shadow-xl transition animate-fadeIn">
<div class="w-14 h-14 bg-blue-600 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-code text-2xl"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Code Optimisé</h3>
<p class="text-gray-300">Génération automatique de code propre et bien structuré avec plus de 2000 lignes de HTML, CSS et JavaScript optimisés.</p>
</div>
<!-- Feature 2 -->
<div class="bg-gray-800 p-8 rounded-xl shadow-lg hover:shadow-xl transition animate-fadeIn">
<div class="w-14 h-14 bg-purple-600 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-mobile-alt text-2xl"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Design Responsive</h3>
<p class="text-gray-300">Adaptation automatique à tous les appareils avec des media queries et des layouts flexibles générés par l'IA.</p>
</div>
<!-- Feature 3 -->
<div class="bg-gray-800 p-8 rounded-xl shadow-lg hover:shadow-xl transition animate-fadeIn">
<div class="w-14 h-14 bg-green-600 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-bolt text-2xl"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Performances</h3>
<p class="text-gray-300">Code optimisé pour des temps de chargement rapides avec score Google PageSpeed > 90/100.</p>
</div>
<!-- Feature 4 -->
<div class="bg-gray-800 p-8 rounded-xl shadow-lg hover:shadow-xl transition animate-fadeIn">
<div class="w-14 h-14 bg-yellow-500 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-palette text-2xl"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Personnalisation</h3>
<p class="text-gray-300">Choisissez parmi des centaines de combinaisons de couleurs, polices et styles de design.</p>
</div>
<!-- Feature 5 -->
<div class="bg-gray-800 p-8 rounded-xl shadow-lg hover:shadow-xl transition animate-fadeIn">
<div class="w-14 h-14 bg-red-500 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-shield-alt text-2xl"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Sécurité</h3>
<p class="text-gray-300">Protection intégrée contre les vulnérabilités courantes avec validation des entrées et sanitization.</p>
</div>
<!-- Feature 6 -->
<div class="bg-gray-800 p-8 rounded-xl shadow-lg hover:shadow-xl transition animate-fadeIn">
<div class="w-14 h-14 bg-indigo-600 rounded-full flex items-center justify-center mb-6">
<i class="fas fa-download text-2xl"></i>
</div>
<h3 class="text-2xl font-bold mb-4">Export Complet</h3>
<p class="text-gray-300">Téléchargez tous les fichiers sources ou déployez directement sur votre hébergement.</p>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-20 bg-gradient-to-r from-blue-900 to-purple-900">
<div class="container mx-auto px-4 text-center">
<h2 class="text-3xl md:text-4xl font-bold mb-6">Prêt à créer votre site <span class="text-blue-300">2000+ lignes</span>?</h2>
<p class="text-xl mb-10 max-w-2xl mx-auto">Rejoignez des milliers de développeurs et créateurs qui utilisent notre IA pour booster leur productivité.</p>
<button class="bg-white text-blue-800 px-12 py-5 rounded-full font-bold text-lg hover:bg-gray-100 transition pulse">
Commencer Maintenant <i class="fas fa-arrow-right ml-2"></i>
</button>
<div class="mt-10 flex flex-wrap justify-center gap-6">
<div class="flex items-center">
<i class="fas fa-check-circle text-green-400 text-2xl mr-2"></i>
<span>7 jours d'essai gratuit</span>
</div>
<div class="flex items-center">
<i class="fas fa-check-circle text-green-400 text-2xl mr-2"></i>
<span>Aucune carte de crédit requise</span>
</div>
<div class="flex items-center">
<i class="fas fa-check-circle text-green-400 text-2xl mr-2"></i>
<span>Support 24/7</span>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
<div>
<div class="flex items-center space-x-2 mb-6">
<i class="fas fa-robot text-2xl text-blue-500"></i>
<span class="text-xl font-bold">MegaSiteBuilder AI</span>
</div>
<p class="text-gray-400 mb-4">La solution ultime pour générer des sites web complexes en quelques clics.</p>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-github"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-linkedin"></i></a>
</div>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Produit</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Fonctionnalités</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Tarifs</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">API</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Ressources</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Documentation</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Tutoriels</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Entreprise</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">À propos</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Carrières</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li>
</ul>
</div>
</div>
<div class="pt-8 border-t border-gray-800 text-center text-gray-400">
<p>© 2023 MegaSiteBuilder AI. Tous droits réservés.</p>
</div>
</div>
</footer>
<script>
// Site generation logic
document.getElementById('generate-site-btn').addEventListener('click', function() {
const siteType = document.querySelector('.site-type-btn.bg-blue-900')?.dataset.type || 'portfolio';
const designStyle = document.querySelector('.design-style-btn.bg-blue-900')?.dataset.style || 'modern';
const color = document.querySelector('.color-btn.border-white')?.dataset.color || 'blue';
const description = document.getElementById('site-description').value;
// Show progress bar
document.getElementById('generation-progress').classList.remove('hidden');
// Simulate generation process
let progress = 0;
const interval = setInterval(() => {
progress += Math.floor(Math.random() * 5) + 1;
if (progress >= 100) {
progress = 100;
clearInterval(interval);
updatePreview(siteType, designStyle, color);
}
document.getElementById('progress-percent').textContent = progress + '%';
document.getElementById('progress-bar').style.width = progress + '%';
// Update line counts
const htmlLines = Math.floor(progress * 15 + Math.random() * 10);
const cssLines = Math.floor(progress * 12 + Math.random() * 8);
const jsLines = Math.floor(progress * 8 + Math.random() * 5);
document.getElementById('html-lines').textContent = htmlLines;
document.getElementById('css-lines').textContent = cssLines;
document.getElementById('js-lines').textContent = jsLines;
document.getElementById('line-count').textContent = htmlLines + cssLines + jsLines;
document.getElementById('component-count').textContent = Math.floor(progress / 5);
}, 100);
});
// Update site preview
function updatePreview(type, style, color) {
const preview = document.getElementById('site-preview');
preview.innerHTML = '';
// Create sample content based on selections
let content = '';
const colorClasses = {
blue: 'bg-blue-600',
purple: 'bg-purple-600',
green: 'bg-green-600',
red: 'bg-red-600',
yellow: 'bg-yellow-500'
};
if (type === 'ecommerce') {
content = `
<div class="min-h-full">
<header class="${colorClasses[color]} text-white p-6">
<div class="container mx-auto flex justify-between items-center">
<div class="text-2xl font-bold">MonShop</div>
<nav class="flex space-x-6">
<a href="#" class="hover:underline">Accueil</a>
<a href="#" class="hover:underline">Boutique</a>
<a href="#" class="hover:underline">Panier (3)</a>
</nav>
</div>
</header>
<main class="container mx-auto p-6">
<section class="mb-12">
<div class="bg-gray-100 rounded-xl p-12 text-center">
<h1 class="text-4xl font-bold mb-4">Nouvelle Collection</h1>
<p class="text-xl mb-8">Découvrez nos produits exclusifs</p>
<button class="${colorClasses[color]} text-white px-8 py-3 rounded-full font-bold">Voir les produits</button>
</div>
</section>
<section class="mb-12">
<h2 class="text-2xl font-bold mb-6">Produits Populaires</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
${[1,2,3].map(i => `
<div class="bg-white rounded-lg shadow-md overflow-hidden">
<div class="h-48 bg-gray-300"></div>
<div class="p-4">
<h3 class="font-bold mb-2">Produit ${i}</h3>
<p class="text-gray-600 mb-3">Description du produit</p>
<div class="flex justify-between items-center">
<span class="font-bold">$${Math.floor(Math.random() * 100) + 20}</span>
<button class="${colorClasses[color]} text-white px-4 py-1 rounded">Ajouter</button>
</div>
</div>
</div>
`).join('')}
</div>
</section>
</main>
</div>
`;
} else if (type === 'portfolio') {
content = `
<div class="min-h-full">
<header class="bg-white shadow-sm p-6">
<div class="container mx-auto flex justify-between items-center">
<div class="text-2xl font-bold">MonPortfolio</div>
<nav class="flex space-x-6">
<a href="#" class="hover:text-${color}-600">Accueil</a>
<a href="#" class="hover:text-${color}-600">Projets</a>
<a href="#" class="hover:text-${color}-600">Contact</a>
</nav>
</div>
</header>
<main class="container mx-auto p-6">
<section class="mb-12 text-center">
<div class="w-32 h-32 ${colorClasses[color]} rounded-full mx-auto mb-6"></div>
<h1 class="text-4xl font-bold mb-4">John Doe</h1>
<p class="text-xl mb-6">Designer & Développeur Web</p>
<div class="flex justify-center space-x-4">
<button class="${colorClasses[color]} text-white px-6 py-2 rounded-full">Mes Projets</button>
<button class="border border-gray-300 px-6 py-2 rounded-full">Contact</button>
</div>
</section>
<section class="mb-12">
<h2 class="text-2xl font-bold mb-6">Mes Réalisations</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
${[1,2,3,4,5,6].map(i => `
<div class="bg-white rounded-lg shadow-md overflow-hidden group">
<div class="h-48 bg-gray-300 relative">
<div class="absolute inset-0 ${colorClasses[color]} bg-opacity-0 group-hover:bg-opacity-50 flex items-center justify-center transition-all">
<button class="opacity-0 group-hover:opacity-100 ${colorClasses[color]} text-white px-4 py-2 rounded transition-all">Voir plus</button>
</div>
</div>
<div class="p-4">
<h3 class="font-bold mb-2">Projet ${i}</h3>
<p class="text-gray-600">Description du projet</p>
</div>
</div>
`).join('')}
</div>
</section>
</main>
</div>
`;
}
preview.innerHTML = content;
}
// UI Interactions
document.querySelectorAll('.site-type-btn').forEach(btn => {
btn.addEventListener('click', function() {
document.querySelectorAll('.site-type-btn').forEach(b => b.classList.remove('bg-blue-900'));
this.classList.add('bg-blue-900');
});
});
document.querySelectorAll('.design-style-btn').forEach(btn => {
btn.addEventListener('click', function() {
document.querySelectorAll('.design-style-btn').forEach(b => b.classList.remove('bg-blue-900'));
this.classList.add('bg-blue-900');
});
});
document.querySelectorAll('.color-btn').forEach(btn => {
btn.addEventListener('click', function() {
document.querySelectorAll('.color-btn').forEach(b => b.classList.remove('border-white'));
this.classList.add('border-white');
});
});
</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=docto41/ia-web-builder" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>