apwb / index.html
MarcRyan's picture
Add 3 files
5e231c8 verified
Raw History Blame Contribute Delete
31.6 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OmniWeb AI - AI-Powered Website Builder</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, #2563eb 0%, #7c3aed 100%);
}
.builder-window {
min-height: 600px;
background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
}
.tab-active {
border-bottom: 3px solid #7c3aed;
color: #7c3aed;
}
.preview-frame {
transform-origin: top left;
transform: scale(0.7);
border: 1px solid #e2e8f0;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.animate-pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Header -->
<header class="gradient-bg text-white shadow-lg">
<div class="container mx-auto px-4 py-6">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-4">
<i class="fas fa-code text-3xl"></i>
<h1 class="text-2xl font-bold">OmniWeb AI</h1>
</div>
<nav class="hidden md:flex space-x-8">
<a href="#" class="hover:text-gray-200 transition">Builder</a>
<a href="#" class="hover:text-gray-200 transition">Templates</a>
<a href="#" class="hover:text-gray-200 transition">Components</a>
<a href="#" class="hover:text-gray-200 transition">AI Tools</a>
<a href="#" class="hover:text-gray-200 transition">Hosting</a>
</nav>
<div class="flex items-center space-x-4">
<button class="bg-white text-indigo-600 px-4 py-2 rounded-full font-medium hover:bg-gray-100 transition">
Sign In
</button>
<button class="bg-indigo-700 text-white px-4 py-2 rounded-full font-medium hover:bg-indigo-800 transition">
Sign Up
</button>
</div>
<button class="md:hidden text-2xl">
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<!-- Hero Section -->
<section class="mb-16">
<div class="text-center max-w-4xl mx-auto">
<h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-6">AI-Powered Website Builder</h1>
<p class="text-xl text-gray-600 mb-8">
Create professional websites in minutes with AI assistance. No coding required.
Combine the power of Claude, GPT, and specialized web design models.
</p>
<div class="flex justify-center space-x-4">
<button class="gradient-bg text-white px-6 py-3 rounded-full font-medium hover:opacity-90 transition">
Start Building
</button>
<button class="border-2 border-indigo-500 text-indigo-600 px-6 py-3 rounded-full font-medium hover:bg-indigo-50 transition">
Explore Templates
</button>
</div>
</div>
</section>
<!-- Builder Interface -->
<section class="grid grid-cols-1 lg:grid-cols-3 gap-8 mb-12">
<!-- Control Panel -->
<div class="lg:col-span-1 bg-white rounded-xl p-6 shadow-md">
<h2 class="text-xl font-semibold text-gray-800 mb-6">Website Configuration</h2>
<!-- Website Type -->
<div class="mb-6">
<label class="block text-gray-700 mb-2 font-medium">Website Type</label>
<div class="relative">
<select class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500">
<option>Business</option>
<option>Portfolio</option>
<option>E-commerce</option>
<option>Blog</option>
<option>Landing Page</option>
<option>Personal</option>
</select>
</div>
</div>
<!-- AI Prompt -->
<div class="mb-6">
<label class="block text-gray-700 mb-2 font-medium">Describe Your Website</label>
<textarea
class="w-full px-4 py-3 rounded-lg border border-gray-300 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500"
rows="3"
placeholder="Example: 'A modern bakery website with online ordering, gallery of products, and contact form'"></textarea>
</div>
<!-- Style Options -->
<div class="mb-6">
<div class="flex justify-between items-center mb-2">
<label class="block text-gray-700 font-medium">Design Style</label>
</div>
<!-- Color Scheme -->
<div class="mb-4">
<label class="block text-gray-700 mb-1">Color Scheme</label>
<div class="grid grid-cols-5 gap-2">
<button class="w-8 h-8 bg-blue-600 rounded-full border-2 border-white shadow-md"></button>
<button class="w-8 h-8 bg-purple-600 rounded-full border-2 border-white shadow-md"></button>
<button class="w-8 h-8 bg-green-600 rounded-full border-2 border-white shadow-md"></button>
<button class="w-8 h-8 bg-red-600 rounded-full border-2 border-white shadow-md"></button>
<button class="w-8 h-8 bg-yellow-500 rounded-full border-2 border-white shadow-md"></button>
</div>
</div>
<!-- Layout Style -->
<div class="mb-4">
<label class="block text-gray-700 mb-1">Layout Style</label>
<div class="grid grid-cols-3 gap-2">
<button class="px-3 py-2 bg-gray-100 rounded-lg hover:bg-indigo-100 transition">Modern</button>
<button class="px-3 py-2 bg-gray-100 rounded-lg hover:bg-indigo-100 transition">Minimal</button>
<button class="px-3 py-2 bg-gray-100 rounded-lg hover:bg-indigo-100 transition">Classic</button>
</div>
</div>
<!-- Sections -->
<div class="mb-4">
<label class="block text-gray-700 mb-1">Page Sections</label>
<div class="grid grid-cols-2 gap-2">
<button class="px-3 py-2 bg-gray-100 rounded-lg hover:bg-indigo-100 transition flex items-center">
<i class="fas fa-header mr-2 text-indigo-600"></i> Header
</button>
<button class="px-3 py-2 bg-gray-100 rounded-lg hover:bg-indigo-100 transition flex items-center">
<i class="fas fa-images mr-2 text-indigo-600"></i> Gallery
</button>
<button class="px-3 py-2 bg-gray-100 rounded-lg hover:bg-indigo-100 transition flex items-center">
<i class="fas fa-envelope mr-2 text-indigo-600"></i> Contact
</button>
<button class="px-3 py-2 bg-gray-100 rounded-lg hover:bg-indigo-100 transition flex items-center">
<i class="fas fa-shopping-cart mr-2 text-indigo-600"></i> Store
</button>
</div>
</div>
<!-- AI Settings -->
<div class="mb-4">
<label class="block text-gray-700 mb-1">AI Creativity</label>
<input type="range" min="1" max="10" value="5" class="w-full">
</div>
</div>
<button class="w-full gradient-bg text-white py-3 rounded-lg font-medium hover:opacity-90 transition flex items-center justify-center">
<i class="fas fa-magic mr-2"></i> Generate Website
</button>
</div>
<!-- Builder Output -->
<div class="lg:col-span-2 builder-window rounded-xl p-6 shadow-md flex flex-col">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-semibold text-gray-800">Website Preview</h2>
<div class="flex space-x-2">
<button class="px-4 py-2 bg-gray-100 rounded-lg hover:bg-gray-200 transition">
<i class="fas fa-desktop mr-1"></i> Desktop
</button>
<button class="px-4 py-2 bg-gray-100 rounded-lg hover:bg-gray-200 transition">
<i class="fas fa-mobile-alt mr-1"></i> Mobile
</button>
<button class="px-4 py-2 bg-gray-100 rounded-lg hover:bg-gray-200 transition">
<i class="fas fa-code mr-1"></i> HTML
</button>
</div>
</div>
<!-- Website Preview -->
<div class="flex-1 flex items-center justify-center bg-gray-100 rounded-lg mb-4 overflow-auto">
<div class="preview-frame w-full max-w-4xl bg-white shadow-lg">
<!-- Placeholder for generated website -->
<div class="text-center p-8">
<i class="fas fa-laptop-code text-5xl text-gray-400 mb-4"></i>
<p class="text-gray-500">Your website preview will appear here</p>
</div>
</div>
</div>
<!-- Variations -->
<div>
<h3 class="text-lg font-medium text-gray-700 mb-3">Layout Variations</h3>
<div class="grid grid-cols-3 gap-3">
<div class="h-24 bg-gray-200 rounded-lg flex items-center justify-center">
<i class="fas fa-th-large text-gray-500"></i>
</div>
<div class="h-24 bg-gray-200 rounded-lg flex items-center justify-center">
<i class="fas fa-th-list text-gray-500"></i>
</div>
<div class="h-24 bg-gray-200 rounded-lg flex items-center justify-center">
<i class="fas fa-columns text-gray-500"></i>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="mb-16">
<h2 class="text-2xl font-bold text-gray-800 mb-8">AI-Powered Website Creation</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
<div class="w-14 h-14 bg-indigo-100 rounded-lg flex items-center justify-center mb-4">
<i class="fas fa-robot text-indigo-600 text-2xl"></i>
</div>
<h3 class="text-lg font-semibold mb-3">Smart Design</h3>
<p class="text-gray-600">Our AI analyzes thousands of successful websites to create designs that convert visitors into customers.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
<div class="w-14 h-14 bg-blue-100 rounded-lg flex items-center justify-center mb-4">
<i class="fas fa-code text-blue-600 text-2xl"></i>
</div>
<h3 class="text-lg font-semibold mb-3">Clean Code</h3>
<p class="text-gray-600">Get production-ready HTML, CSS, and JavaScript that's optimized for performance and SEO.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
<div class="w-14 h-14 bg-purple-100 rounded-lg flex items-center justify-center mb-4">
<i class="fas fa-sliders-h text-purple-600 text-2xl"></i>
</div>
<h3 class="text-lg font-semibold mb-3">Easy Customization</h3>
<p class="text-gray-600">Fine-tune every aspect of your site with intuitive controls or natural language commands.</p>
</div>
</div>
</section>
<!-- Templates Section -->
<section class="mb-16">
<div class="flex justify-between items-center mb-8">
<h2 class="text-2xl font-bold text-gray-800">Starter Templates</h2>
<a href="#" class="text-indigo-600 hover:text-indigo-800 font-medium">View all templates →</a>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Template 1 -->
<div class="bg-white rounded-xl overflow-hidden shadow-md hover:shadow-xl transition">
<div class="h-48 bg-gradient-to-r from-blue-500 to-blue-300 flex items-center justify-center">
<i class="fas fa-briefcase text-white text-5xl"></i>
</div>
<div class="p-4">
<h3 class="font-semibold text-lg mb-1">Business Pro</h3>
<p class="text-gray-600 text-sm mb-3">Modern corporate website with services section</p>
<button class="w-full bg-indigo-50 text-indigo-600 py-2 rounded-lg font-medium hover:bg-indigo-100 transition">
Use Template
</button>
</div>
</div>
<!-- Template 2 -->
<div class="bg-white rounded-xl overflow-hidden shadow-md hover:shadow-xl transition">
<div class="h-48 bg-gradient-to-r from-purple-500 to-purple-300 flex items-center justify-center">
<i class="fas fa-store text-white text-5xl"></i>
</div>
<div class="p-4">
<h3 class="font-semibold text-lg mb-1">E-commerce</h3>
<p class="text-gray-600 text-sm mb-3">Online store with product grid and cart</p>
<button class="w-full bg-indigo-50 text-indigo-600 py-2 rounded-lg font-medium hover:bg-indigo-100 transition">
Use Template
</button>
</div>
</div>
<!-- Template 3 -->
<div class="bg-white rounded-xl overflow-hidden shadow-md hover:shadow-xl transition">
<div class="h-48 bg-gradient-to-r from-green-500 to-green-300 flex items-center justify-center">
<i class="fas fa-camera-retro text-white text-5xl"></i>
</div>
<div class="p-4">
<h3 class="font-semibold text-lg mb-1">Photography</h3>
<p class="text-gray-600 text-sm mb-3">Portfolio with full-screen image gallery</p>
<button class="w-full bg-indigo-50 text-indigo-600 py-2 rounded-lg font-medium hover:bg-indigo-100 transition">
Use Template
</button>
</div>
</div>
<!-- Template 4 -->
<div class="bg-white rounded-xl overflow-hidden shadow-md hover:shadow-xl transition">
<div class="h-48 bg-gradient-to-r from-pink-500 to-pink-300 flex items-center justify-center">
<i class="fas fa-pen-fancy text-white text-5xl"></i>
</div>
<div class="p-4">
<h3 class="font-semibold text-lg mb-1">Creative Portfolio</h3>
<p class="text-gray-600 text-sm mb-3">Showcase your work with interactive elements</p>
<button class="w-full bg-indigo-50 text-indigo-600 py-2 rounded-lg font-medium hover:bg-indigo-100 transition">
Use Template
</button>
</div>
</div>
</div>
</section>
<!-- AI Models Section -->
<section class="mb-16">
<h2 class="text-2xl font-bold text-gray-800 mb-8">Powered by Advanced AI</h2>
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="grid grid-cols-1 md:grid-cols-3">
<!-- Model 1 -->
<div class="p-6 border-b md:border-b-0 md:border-r border-gray-200">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-indigo-100 rounded-lg flex items-center justify-center mr-4">
<i class="fas fa-code text-indigo-600 text-xl"></i>
</div>
<h3 class="text-lg font-semibold">Code Generation</h3>
</div>
<p class="text-gray-600 mb-4">Claude & GPT models create clean, semantic HTML and CSS tailored to your needs.</p>
<div class="flex flex-wrap gap-2">
<span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-xs">HTML5</span>
<span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-xs">CSS3</span>
<span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-xs">JavaScript</span>
</div>
</div>
<!-- Model 2 -->
<div class="p-6 border-b md:border-b-0 md:border-r border-gray-200">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center mr-4">
<i class="fas fa-paint-brush text-purple-600 text-xl"></i>
</div>
<h3 class="text-lg font-semibold">Design Assistant</h3>
</div>
<p class="text-gray-600 mb-4">AI analyzes design trends to create visually appealing, conversion-optimized layouts.</p>
<div class="flex flex-wrap gap-2">
<span class="px-3 py-1 bg-purple-100 text-purple-800 rounded-full text-xs">Color Theory</span>
<span class="px-3 py-1 bg-purple-100 text-purple-800 rounded-full text-xs">Typography</span>
<span class="px-3 py-1 bg-purple-100 text-purple-800 rounded-full text-xs">Spacing</span>
</div>
</div>
<!-- Model 3 -->
<div class="p-6">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mr-4">
<i class="fas fa-search text-blue-600 text-xl"></i>
</div>
<h3 class="text-lg font-semibold">SEO Optimizer</h3>
</div>
<p class="text-gray-600 mb-4">Automatically structures your content and metadata for better search engine visibility.</p>
<div class="flex flex-wrap gap-2">
<span class="px-3 py-1 bg-blue-100 text-blue-800 rounded-full text-xs">Keywords</span>
<span class="px-3 py-1 bg-blue-100 text-blue-800 rounded-full text-xs">Meta Tags</span>
<span class="px-3 py-1 bg-blue-100 text-blue-800 rounded-full text-xs">Semantic HTML</span>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-lg font-semibold mb-4">OmniWeb AI</h3>
<p class="text-gray-400">The smartest way to build professional websites with AI assistance.</p>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Features</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">AI Website Builder</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Templates</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Components</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Hosting</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Resources</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Documentation</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Tutorials</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">API</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Connect</h3>
<div class="flex space-x-4 mb-4">
<a href="#" class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center hover:bg-blue-400 transition">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center hover:bg-blue-600 transition">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center hover:bg-pink-600 transition">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-700 rounded-full flex items-center justify-center hover:bg-red-600 transition">
<i class="fab fa-youtube"></i>
</a>
</div>
<p class="text-gray-400">Subscribe for updates</p>
<div class="mt-2 flex">
<input type="email" placeholder="Your email" class="px-4 py-2 rounded-l-lg bg-gray-700 text-white focus:outline-none">
<button class="bg-indigo-600 px-4 py-2 rounded-r-lg hover:bg-indigo-700 transition">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 mb-4 md:mb-0">© 2023 OmniWeb AI. All rights reserved.</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition">Privacy Policy</a>
<a href="#" class="text-gray-400 hover:text-white transition">Terms of Service</a>
<a href="#" class="text-gray-400 hover:text-white transition">Cookies</a>
</div>
</div>
</div>
</footer>
<script>
// Generate website button handler
document.querySelector('.bg-white button').addEventListener('click', function() {
const prompt = document.querySelector('.bg-white textarea').value;
if (prompt.trim() === '') {
alert('Please describe your website before generating');
return;
}
// Simulate generation
const previewWindow = document.querySelector('.builder-window > div:first-child > div');
previewWindow.innerHTML = `
<div class="text-center p-8">
<div class="inline-block mb-4 animate-pulse">
<div class="w-16 h-16 border-4 border-indigo-500 border-t-transparent rounded-full animate-spin"></div>
</div>
<p class="text-gray-500">Generating your website based on: "${prompt}"</p>
</div>
`;
// Simulate API call delay
setTimeout(() => {
// Create a simple generated website preview
previewWindow.innerHTML = `
<div class="preview-frame w-full max-w-4xl bg-white">
<!-- Generated website mockup -->
<div class="bg-indigo-600 text-white p-4 flex justify-between items-center">
<div class="font-bold text-xl">My Business</div>
<div class="flex space-x-4">
<a href="#" class="hover:underline">Home</a>
<a href="#" class="hover:underline">About</a>
<a href="#" class="hover:underline">Services</a>
<a href="#" class="hover:underline">Contact</a>
</div>
</div>
<div class="p-8 text-center">
<h1 class="text-4xl font-bold mb-4">Welcome to Our Business</h1>
<p class="text-gray-600 mb-8">We provide exceptional services tailored to your needs</p>
<button class="bg-indigo-600 text-white px-6 py-3 rounded-lg hover:bg-indigo-700 transition">
Learn More
</button>
</div>
<div class="grid grid-cols-3 gap-4 p-8 bg-gray-50">
<div class="bg-white p-4 rounded-lg shadow">
<i class="fas fa-star text-indigo-500 text-2xl mb-2"></i>
<h3 class="font-semibold mb-2">Premium Quality</h3>
<p class="text-gray-600 text-sm">Our products meet the highest standards</p>
</div>
<div class="bg-white p-4 rounded-lg shadow">
<i class="fas fa-headset text-indigo-500 text-2xl mb-2"></i>
<h3 class="font-semibold mb-2">24/7 Support</h3>
<p class="text-gray-600 text-sm">We're always here to help you</p>
</div>
<div class="bg-white p-4 rounded-lg shadow">
<i class="fas fa-bolt text-indigo-500 text-2xl mb-2"></i>
<h3 class="font-semibold mb-2">Fast Delivery</h3>
<p class="text-gray-600 text-sm">Get your products quickly and reliably</p>
</div>
</div>
</div>
`;
// Fill layout variations
const variations = document.querySelectorAll('.builder-window .grid > div');
variations.forEach((variation, index) => {
variation.innerHTML = `
<div class="h-full bg-white p-2 rounded-lg">
<div class="h-4 bg-indigo-200 mb-1"></div>
<div class="h-4 bg-indigo-100 mb-1 w-3/4"></div>
<div class="flex space-x-1 mb-2">
<div class="h-8 bg-indigo-500 flex-1"></div>
<div class="h-8 bg-indigo-300 flex-1"></div>
<div class="h-8 bg-indigo-400 flex-1"></div>
</div>
<div class="grid ${index === 0 ? 'grid-cols-2' : index === 1 ? 'grid-cols-1' : 'grid-cols-3'} gap-1">
<div class="h-16 bg-gray-200"></div>
<div class="h-16 bg-gray-200"></div>
${index === 2 ? '<div class="h-16 bg-gray-200"></div>' : ''}
</div>
</div>
`;
});
}, 2000);
});
// Template buttons
document.querySelectorAll('.bg-white button.bg-indigo-50').forEach(button => {
button.addEventListener('click', function() {
const templateName = this.closest('.bg-white').querySelector('h3').textContent;
alert(`Loading "${templateName}" template...`);
});
});
</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=MarcRyan/apwb" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>