image-generator / index.html
Sunilsahani's picture
undefined - Initial Deployment
09ce119 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Realistic Image Generators Unlimited | Create AI Art</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>
/* Custom CSS for animations and effects */
.gradient-text {
background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.card-hover {
transition: all 0.3s ease;
}
.card-hover: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);
}
.skeleton-loader {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
0%, 100% {
opacity: 0.4;
}
50% {
opacity: 0.2;
}
}
.file-upload:hover svg {
transform: scale(1.1);
transition: transform 0.3s ease;
}
</style>
</head>
<body class="bg-gray-50 font-sans antialiased">
<!-- Navigation -->
<nav class="bg-white shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<span class="text-indigo-600 text-2xl font-bold">RIGU</span>
</div>
</div>
<div class="hidden md:ml-6 md:flex md:items-center md:space-x-8">
<a href="#" class="text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium">Home</a>
<a href="#" class="text-gray-500 hover:text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium">Gallery</a>
<a href="#" class="text-gray-500 hover:text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium">Features</a>
<a href="#" class="text-gray-500 hover:text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium">Pricing</a>
</div>
<div class="flex items-center">
<button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-md text-sm font-medium transition duration-300">
Generate Now
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="relative bg-white overflow-hidden">
<div class="max-w-7xl mx-auto">
<div class="relative z-10 pb-8 bg-white sm:pb-16 md:pb-20 lg:max-w-2xl lg:w-full lg:pb-28 xl:pb-32">
<main class="mt-10 mx-auto max-w-7xl px-4 sm:mt-12 sm:px-6 md:mt-16 lg:mt-20 lg:px-8 xl:mt-28">
<div class="sm:text-center lg:text-left">
<h1 class="text-4xl tracking-tight font-extrabold text-gray-900 sm:text-5xl md:text-6xl">
<span class="block">Create Unlimited</span>
<span class="block gradient-text">Realistic Images</span>
</h1>
<p class="mt-3 text-base text-gray-500 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0">
The most advanced AI-powered image generator. Create stunning, photorealistic images with a simple prompt.
No limits, no watermarks, full commercial rights.
</p>
<div class="mt-5 sm:mt-8 sm:flex sm:justify-center lg:justify-start">
<div class="rounded-md shadow">
<a href="#" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 md:py-4 md:text-lg md:px-10 transition duration-300">
Start Generating Free
</a>
</div>
<div class="mt-3 sm:mt-0 sm:ml-3">
<a href="#" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200 md:py-4 md:text-lg md:px-10 transition duration-300">
See Gallery
</a>
</div>
</div>
</div>
</main>
</div>
</div>
<div class="lg:absolute lg:inset-y-0 lg:right-0 lg:w-1/2">
<img class="h-56 w-full object-cover sm:h-72 md:h-96 lg:w-full lg:h-full" src="https://images.unsplash.com/photo-1635070041078-e363dbe005cb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80" alt="">
</div>
</section>
<!-- Generation Section -->
<section class="py-12 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
<span class="gradient-text">Unlimited</span> Possibilities
</h2>
<p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto">
Input any text prompt and watch as our AI creates stunning, realistic images in seconds.
</p>
</div>
<div class="mt-10" id="generator-section">
<div class="bg-white shadow rounded-lg overflow-hidden">
<div class="px-4 py-5 sm:p-6">
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="md:col-span-2">
<label for="prompt" class="block text-sm font-medium text-gray-700">Describe what you want to generate</label>
<div class="mt-1">
<textarea id="prompt" name="prompt" rows="4" class="shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm border-gray-300 rounded-md" placeholder="e.g., 'A golden retriever puppy playing in a sunny meadow with colorful butterflies'"></textarea>
</div>
<div class="mt-4 grid grid-cols-2 gap-4">
<div>
<label for="style" class="block text-sm font-medium text-gray-700">Style</label>
<select id="style" name="style" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md">
<option>Photo Realistic</option>
<option>Digital Art</option>
<option>Oil Painting</option>
<option>Watercolor</option>
<option>Anime</option>
</select>
</div>
<div>
<label for="aspect" class="block text-sm font-medium text-gray-700">Aspect Ratio</label>
<select id="aspect" name="aspect" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md">
<option>1:1 (Square)</option>
<option>4:3 (Standard)</option>
<option>16:9 (Widescreen)</option>
<option>9:16 (Portrait)</option>
</select>
</div>
</div>
<div class="mt-6">
<label class="block text-sm font-medium text-gray-700">Advanced Options</label>
<div class="mt-2 space-y-4">
<div class="flex items-center">
<input id="high-detail" name="high-detail" type="checkbox" class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded">
<label for="high-detail" class="ml-2 block text-sm text-gray-700">Ultra High Detail</label>
</div>
<div class="flex items-center">
<input id="human-likeness" name="human-likeness" type="checkbox" checked class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded">
<label for="human-likeness" class="ml-2 block text-sm text-gray-700">Photorealistic Human Likeness (Beta)</label>
</div>
<div class="flex items-center">
<input id="nsfw" name="nsfw" type="checkbox" class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded">
<label for="nsfw" class="ml-2 block text-sm text-gray-700">Allow Sensitive Content</label>
</div>
</div>
</div>
</div>
<div class="flex flex-col">
<label class="block text-sm font-medium text-gray-700">Upload Reference Image (Optional)</label>
<div class="mt-1 flex-1 flex items-center justify-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-md file-upload">
<div class="space-y-1 text-center">
<svg class="mx-auto h-12 w-12 text-gray-400" stroke="currentColor" fill="none" viewBox="0 0 48 48" aria-hidden="true">
<path d="M28 8H12a4 4 0 00-4 4v20m32-12v8m0 0v8a4 4 0 01-4 4H12a4 4 0 01-4-4v-4m32-4l-3.172-3.172a4 4 0 00-5.656 0L28 28M8 32l9.172-9.172a4 4 0 015.656 0L28 28m0 0l4 4m4-24h8m-4-4v8m-12 4h.02" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
</svg>
<div class="flex text-sm text-gray-600">
<label for="file-upload" class="relative cursor-pointer bg-white rounded-md font-medium text-indigo-600 hover:text-indigo-500 focus-within:outline-none focus-within:ring-2 focus-within:ring-offset-2 focus-within:ring-indigo-500">
<span>Upload a file</span>
<input id="file-upload" name="file-upload" type="file" class="sr-only">
</label>
<p class="pl-1">or drag and drop</p>
</div>
<p class="text-xs text-gray-500">PNG, JPG, GIF up to 10MB</p>
</div>
</div>
<button id="generate-btn" class="mt-6 w-full bg-indigo-600 border border-transparent rounded-md py-3 px-4 flex items-center justify-center text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition duration-300">
<i class="fas fa-magic mr-2"></i> Generate Image
</button>
<div class="mt-4 flex items-start">
<div class="flex items-center h-5">
<input id="private-generation" name="private-generation" type="checkbox" class="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded">
</div>
<div class="ml-3 text-sm">
<label for="private-generation" class="font-medium text-gray-700">Private generation (doesn't appear in public gallery)</label>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Generated Images Display -->
<section id="results-section" class="py-12 bg-white" style="display: none;">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
Your <span class="gradient-text">Generated</span> Images
</h2>
<p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto">
We've generated multiple variations based on your prompt.
</p>
</div>
<div id="loading-indicator" class="mt-10">
<div class="flex flex-col items-center">
<div class="w-16 h-16 border-4 border-indigo-600 border-t-transparent rounded-full animate-spin"></div>
<p class="mt-4 text-lg font-medium text-gray-700">Generating your images...</p>
</div>
</div>
<div id="results-container" class="mt-10 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6"></div>
<div class="mt-10 text-center">
<button id="regenerate-btn" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition duration-300">
<i class="fas fa-sync-alt mr-2"></i> Regenerate
</button>
<button id="download-all-btn" class="ml-4 inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md shadow-sm text-indigo-700 bg-indigo-100 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition duration-300">
<i class="fas fa-download mr-2"></i> Download All
</button>
</div>
</div>
</section>
<!-- Features Section -->
<section class="py-12 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
Why Choose <span class="gradient-text">RIGU</span>?
</h2>
<p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto">
The most powerful AI image generation platform with unlimited possibilities.
</p>
</div>
<div class="mt-10">
<div class="space-y-10 lg:space-y-0 lg:grid lg:grid-cols-3 lg:gap-x-8 lg:gap-y-10">
<div class="relative card-hover">
<div class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<i class="fas fa-bolt text-xl"></i>
</div>
<div class="ml-16">
<h3 class="text-lg leading-6 font-medium text-gray-900">Instant Generation</h3>
<p class="mt-2 text-base text-gray-500">
Create stunning images in seconds with our optimized AI models. No waiting in queues.
</p>
</div>
</div>
<div class="relative card-hover">
<div class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<i class="fas fa-lock-open text-xl"></i>
</div>
<div class="ml-16">
<h3 class="text-lg leading-6 font-medium text-gray-900">Unlimited Creations</h3>
<p class="mt-2 text-base text-gray-500">
Generate as many images as you want without restrictions. No monthly limits.
</p>
</div>
</div>
<div class="relative card-hover">
<div class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<i class="fas fa-copyright text-xl"></i>
</div>
<div class="ml-16">
<h3 class="text-lg leading-6 font-medium text-gray-900">Full Ownership</h3>
<p class="mt-2 text-base text-gray-500">
You own the commercial rights to all your generated images. Use them anywhere.
</p>
</div>
</div>
<div class="relative card-hover">
<div class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<i class="fas fa-random text-xl"></i>
</div>
<div class="ml-16">
<h3 class="text-lg leading-6 font-medium text-gray-900">Multiple Variations</h3>
<p class="mt-2 text-base text-gray-500">
Get multiple interpretations of your prompt to choose the perfect version.
</p>
</div>
</div>
<div class="relative card-hover">
<div class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<i class="fas fa-image text-xl"></i>
</div>
<div class="ml-16">
<h3 class="text-lg leading-6 font-medium text-gray-900">High Resolution</h3>
<p class="mt-2 text-base text-gray-500">
Output images up to 4K resolution suitable for printing and professional use.
</p>
</div>
</div>
<div class="relative card-hover">
<div class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<i class="fas fa-users text-xl"></i>
</div>
<div class="ml-16">
<h3 class="text-lg leading-6 font-medium text-gray-900">Human-Like Results</h3>
<p class="mt-2 text-base text-gray-500">
Our AI specializes in creating realistic human figures with accurate anatomy.
</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Pricing Section -->
<section class="py-12 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
Simple, <span class="gradient-text">Transparent</span> Pricing
</h2>
<p class="mt-4 max-w-2xl text-xl text-gray-500 mx-auto">
Choose the perfect plan for your creative needs.
</p>
</div>
<div class="mt-16 space-y-8 lg:space-y-0 lg:grid lg:grid-cols-3 lg:gap-x-8">
<div class="border border-gray-200 rounded-lg shadow-sm divide-y divide-gray-200 card-hover">
<div class="p-6">
<h2 class="text-lg leading-6 font-medium text-gray-900">Starter</h2>
<p class="mt-4">
<span class="text-4xl font-extrabold text-gray-900">$9</span>
<span class="text-base font-medium text-gray-500">/month</span>
</p>
<p class="mt-4 text-sm text-gray-500">
Perfect for hobbyists and casual creators.
</p>
<div class="mt-6">
<button class="w-full bg-gray-100 border border-transparent rounded-md py-2 px-4 flex items-center justify-center text-sm font-medium text-gray-700 hover:bg-gray-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500 transition duration-300">
Get started
</button>
</div>
</div>
<div class="pt-6 pb-8 px-6">
<h3 class="text-xs font-medium text-gray-900 tracking-wide uppercase">What's included</h3>
<ul class="mt-6 space-y-4">
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">1000 image generations/month</span>
</li>
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">1080p resolution</span>
</li>
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">Standard generation speed</span>
</li>
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">Commercial rights</span>
</li>
</ul>
</div>
</div>
<div class="border border-gray-200 rounded-lg shadow-sm divide-y divide-gray-200 card-hover transform scale-105">
<div class="p-6">
<div class="flex justify-between">
<h2 class="text-lg leading-6 font-medium text-gray-900">Pro</h2>
<span class="inline-flex items-center px-3 py-1 rounded-full text-xs font-medium bg-indigo-100 text-indigo-800">Popular</span>
</div>
<p class="mt-4">
<span class="text-4xl font-extrabold text-gray-900">$29</span>
<span class="text-base font-medium text-gray-500">/month</span>
</p>
<p class="mt-4 text-sm text-gray-500">
For professionals and small businesses.
</p>
<div class="mt-6">
<button class="w-full bg-indigo-600 border border-transparent rounded-md py-2 px-4 flex items-center justify-center text-sm font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition duration-300">
Get started
</button>
</div>
</div>
<div class="pt-6 pb-8 px-6">
<h3 class="text-xs font-medium text-gray-900 tracking-wide uppercase">What's included</h3>
<ul class="mt-6 space-y-4">
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">Unlimited image generations</span>
</li>
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">4K resolution</span>
</li>
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">Priority generation queue</span>
</li>
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">Private generations</span>
</li>
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">API access</span>
</li>
</ul>
</div>
</div>
<div class="border border-gray-200 rounded-lg shadow-sm divide-y divide-gray-200 card-hover">
<div class="p-6">
<h2 class="text-lg leading-6 font-medium text-gray-900">Enterprise</h2>
<p class="mt-4">
<span class="text-4xl font-extrabold text-gray-900">$99</span>
<span class="text-base font-medium text-gray-500">/month</span>
</p>
<p class="mt-4 text-sm text-gray-500">
For large scale commercial operations.
</p>
<div class="mt-6">
<button class="w-full bg-gray-100 border border-transparent rounded-md py-2 px-4 flex items-center justify-center text-sm font-medium text-gray-700 hover:bg-gray-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500 transition duration-300">
Get started
</button>
</div>
</div>
<div class="pt-6 pb-8 px-6">
<h3 class="text-xs font-medium text-gray-900 tracking-wide uppercase">What's included</h3>
<ul class="mt-6 space-y-4">
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">Unlimited image generations</span>
</li>
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">8K resolution</span>
</li>
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">Highest priority generation</span>
</li>
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">Custom AI model training</span>
</li>
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">Dedicated support</span>
</li>
<li class="flex space-x-3">
<i class="fas fa-check h-5 w-5 text-green-500"></i>
<span class="text-sm text-gray-500">Team accounts</span>
</li>
</ul>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="bg-indigo-700">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8 lg:flex lg:items-center lg:justify-between">
<h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl">
<span class="block">Ready to unleash</span>
<span class="block text-indigo-200">your creativity?</span>
</h2>
<div class="mt-8 flex lg:mt-0 lg:flex-shrink-0">
<div class="inline-flex rounded-md shadow">
<a href="#" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-indigo-600 bg-white hover:bg-indigo-50 transition duration-300">
Start Generating Now
</a>
</div>
<div class="ml-3 inline-flex rounded-md shadow">
<a href="#" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 bg-opacity-60 hover:bg-opacity-70 transition duration-300">
Learn More
</a>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-white">
<div class="max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8">
<nav class="-mx-5 -my-2 flex flex-wrap justify-center" aria-label="Footer">
<div class="px-5 py-2">
<a href="#" class="text-base text-gray-500 hover:text-gray-900">About</a>
</div>
<div class="px-5 py-2">
<a href="#" class="text-base text-gray-500 hover:text-gray-900">Blog</a>
</div>
<div class="px-5 py-2">
<a href="#" class="text-base text-gray-500 hover:text-gray-900">Jobs</a>
</div>
<div class="px-5 py-2">
<a href="#" class="text-base text-gray-500 hover:text-gray-900">Press</a>
</div>
<div class="px-5 py-2">
<a href="#" class="text-base text-gray-500 hover:text-gray-900">Accessibility</a>
</div>
<div class="px-5 py-2">
<a href="#" class="text-base text-gray-500 hover:text-gray-900">Partners</a>
</div>
</nav>
<div class="mt-8 flex justify-center space-x-6">
<a href="#" class="text-gray-400 hover:text-gray-500">
<span class="sr-only">Facebook</span>
<i class="fab fa-facebook text-xl"></i>
</a>
<a href="#" class="text-gray-400 hover:text-gray-500">
<span class="sr-only">Instagram</span>
<i class="fab fa-instagram text-xl"></i>
</a>
<a href="#" class="text-gray-400 hover:text-gray-500">
<span class="sr-only">Twitter</span>
<i class="fab fa-twitter text-xl"></i>
</a>
<a href="#" class="text-gray-400 hover:text-gray-500">
<span class="sr-only">GitHub</span>
<i class="fab fa-github text-xl"></i>
</a>
<a href="#" class="text-gray-400 hover:text-gray-500">
<span class="sr-only">Dribbble</span>
<i class="fab fa-dribbble text-xl"></i>
</a>
</div>
<p class="mt-8 text-center text-base text-gray-400">
&copy; 2023 RIGU Inc. All rights reserved.
</p>
</div>
</footer>
<!-- JavaScript for interactions -->
<script>
document.addEventListener('DOMContentLoaded', function() {
// Generate button click handler
document.getElementById('generate-btn').addEventListener('click', function() {
const prompt = document.getElementById('prompt').value.trim();
if (!prompt) {
alert('Please enter a prompt to generate images.');
return;
}
// Show results section
document.getElementById('results-section').style.display = 'block';
// Scroll to results
document.getElementById('results-section').scrollIntoView({ behavior: 'smooth' });
// Show loading
document.getElementById('results-container').innerHTML = '';
document.getElementById('loading-indicator').style.display = 'block';
// Simulate API call with setTimeout
setTimeout(function() {
document.getElementById('loading-indicator').style.display = 'none';
// Generate sample results
const results = [
{ id: 1, url: 'https://images.unsplash.com/photo-1635070041078-e363dbe005cb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80', alt: 'Generated image 1' },
{ id: 2, url: 'https://images.unsplash.com/photo-1682685797208-c741d58c2eff?ixlib=rb-4.0.3&ixid=M3wxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80', alt: 'Generated image 2' },
{ id: 3, url: 'https://images.unsplash.com/photo-1695653422905-909e9b3395dc?ixlib=rb-4.0.3&ixid=M3wxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80', alt: 'Generated image 3' }
];
// Display results
const resultsContainer = document.getElementById('results-container');
resultsContainer.innerHTML = '';
results.forEach(result => {
const card = document.createElement('div');
card.className = 'bg-white rounded-lg overflow-hidden shadow-md card-hover';
card.innerHTML = `
<div class="relative aspect-w-1 aspect-h-1">
<img src="${result.url}" alt="${result.alt}" class="w-full h-64 object-cover">
<div class="absolute inset-0 bg-gradient-to-t from-black/40 to-transparent opacity-0 hover:opacity-100 transition-opacity duration-300 flex items-end p-4">
<div class="flex space-x-2 mt-auto">
<button class="download-btn bg-white rounded-full p-2 shadow hover:bg-gray-100 transition" data-id="${result.id}">
<i class="fas fa-download text-gray-800"></i>
</button>
<button class="like-btn bg-white rounded-full p-2 shadow hover:bg-gray-100 transition">
<i class="far fa-heart text-gray-800"></i>
</button>
<button class="remix-btn bg-white rounded-full p-2 shadow hover:bg-gray-100 transition">
<i class="fas fa-edit text-gray-800"></i>
</button>
</div>
</div>
</div>
<div class="p-4">
<p class="text-sm text-gray-600">${prompt}</p>
</div>
`;
resultsContainer.appendChild(card);
});
// Add event listeners for buttons in the cards
document.querySelectorAll('.download-btn').forEach(btn => {
btn.addEventListener('click', function() {
alert(`Downloading image ${this.getAttribute('data-id')}`);
});
});
document.querySelectorAll('.like-btn').forEach(btn => {
btn.addEventListener('click', function() {
const icon = this.querySelector('i');
if (icon.classList.contains('far')) {
icon.classList.remove('far');
icon.classList.add('fas', 'text-red-500');
} else {
icon.classList.remove('fas', 'text-red-500');
icon.classList.add('far');
}
});
});
document.querySelectorAll('.remix-btn').forEach(btn => {
btn.addEventListener('click', function() {
alert('This would remix the image with variations');
});
});
}, 2000); // Simulate 2 second delay
});
// Regenerate button
document.getElementById('regenerate-btn').addEventListener('click', function() {
document.getElementById('generate-btn').click();
});
// Download all button
document.getElementById('download-all-btn').addEventListener('click', function() {
alert('This would download all generated images as a ZIP file');
});
// File upload hover effect
document.querySelector('.file-upload').addEventListener('mouseenter', function() {
this.querySelector('svg').style.transform = 'scale(1.1)';
});
document.querySelector('.file-upload').addEventListener('mouseleave', function() {
this.querySelector('svg').style.transform = 'scale(1)';
});
});
</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=Sunilsahani/image-generator" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>