Spaces:
Running
Running
File size: 10,579 Bytes
c015c98 |
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 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Image Editor - AI Creative Studio</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
500: '#f97316', // orange-500
},
secondary: {
500: '#f59e0b', // amber-500
}
}
}
}
}
</script>
<style>
.glass-effect {
backdrop-filter: blur(10px);
background: rgba(15, 23, 42, 0.7);
}
.gradient-text {
background: linear-gradient(90deg, #f97316, #f59e0b);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.card-hover {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}
</style>
</head>
<body class="bg-gray-900 text-white min-h-screen">
<!-- Background Animation -->
<div id="vanta-bg" class="fixed top-0 left-0 w-full h-full -z-10"></div>
<!-- Header -->
<header class="glass-effect sticky top-0 z-50 border-b border-gray-800">
<div class="container mx-auto px-4 py-4 flex justify-between items-center">
<div class="flex items-center space-x-2">
<div class="w-10 h-10 rounded-lg bg-gradient-to-r from-primary-500 to-secondary-500 flex items-center justify-center">
<i data-feather="aperture" class="text-white"></i>
</div>
<h1 class="text-2xl font-bold gradient-text">AI Creative Studio</h1>
</div>
<nav class="hidden md:flex space-x-8">
<a href="image-to-prompt.html" class="font-medium hover:text-primary-500 transition-colors">Image to Prompt</a>
<a href="image-generator.html" class="font-medium hover:text-primary-500 transition-colors">Image Generator</a>
<a href="image-editor.html" class="font-medium hover:text-primary-500 transition-colors">Image Editor</a>
<a href="ai-ad-generator.html" class="font-medium hover:text-primary-500 transition-colors">AI Ad Generator</a>
<a href="ai-chat.html" class="font-medium hover:text-primary-500 transition-colors">AI Chat</a>
</nav>
<div class="flex items-center space-x-4">
<button class="px-4 py-2 rounded-lg bg-gradient-to-r from-primary-500 to-secondary-500 font-medium hover:opacity-90 transition-opacity">
Sign In
</button>
<button class="md:hidden">
<i data-feather="menu" class="w-6 h-6"></i>
</button>
</div>
</div>
</header>
<!-- Main Content -->
<section class="py-16">
<div class="container mx-auto px-4">
<div class="max-w-4xl mx-auto">
<h1 class="text-3xl font-bold mb-2">AI Image Editor</h1>
<p class="text-gray-400 mb-8">Enhance and modify your images with AI-powered tools</p>
<div class="glass-effect rounded-2xl p-6 md:p-8 border border-gray-800">
<!-- Upload Area -->
<div class="rounded-xl p-12 mb-8 bg-gray-800 border border-gray-700">
<div class="flex flex-col items-center justify-center">
<i data-feather="upload-cloud" class="w-12 h-12 text-primary-500 mb-4"></i>
<h3 class="text-2xl font-semibold mb-2">Upload an image to edit</h3>
<p class="text-gray-400 mb-6">or choose from your recent uploads</p>
<button class="px-6 py-3 rounded-lg bg-gradient-to-r from-primary-500 to-secondary-500 font-medium">
Choose File
</button>
</div>
</div>
<!-- Editing Tools -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
<div class="bg-gray-800 rounded-xl p-6 card-hover">
<div class="flex items-center mb-4">
<div class="w-10 h-10 rounded-lg bg-primary-500 flex items-center justify-center mr-3">
<i data-feather="wand" class="w-5 h-5"></i>
</div>
<h3 class="text-lg font-semibold">AI Enhance</h3>
</div>
<p class="text-gray-400 text-sm">Automatically improve image quality</p>
</div>
<div class="bg-gray-800 rounded-xl p-6 card-hover">
<div class="flex items-center mb-4">
<div class="w-10 h-10 rounded-lg bg-secondary-500 flex items-center justify-center mr-3">
<i data-feather="scissors" class="w-5 h-5"></i>
</div>
<h3 class="text-lg font-semibold">Background Remove</h3>
</div>
<p class="text-gray-400 text-sm">Remove background with one click</p>
</div>
<div class="bg-gray-800 rounded-xl p-6 card-hover">
<div class="flex items-center mb-4">
<div class="w-10 h-10 rounded-lg bg-primary-500 flex items-center justify-center mr-3">
<i data-feather="sun" class="w-5 h-5"></i>
</div>
<h3 class="text-lg font-semibold">Color Adjust</h3>
</div>
<p class="text-gray-400 text-sm">Adjust brightness, contrast, and saturation</p>
</div>
</div>
<!-- Advanced Tools -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
<div class="bg-gray-800 rounded-xl p-6 card-hover">
<div class="flex items-center mb-4">
<div class="w-10 h-10 rounded-lg bg-secondary-500 flex items-center justify-center mr-3">
<i data-feather="edit-3" class="w-5 h-5"></i>
</div>
<h3 class="text-lg font-semibold">Object Removal</h3>
</div>
<p class="text-gray-400 text-sm">Remove unwanted objects from your image</p>
</div>
<div class="bg-gray-800 rounded-xl p-6 card-hover">
<div class="flex items-center mb-4">
<div class="w-10 h-10 rounded-lg bg-primary-500 flex items-center justify-center mr-3">
<i data-feather="copy" class="w-5 h-5"></i>
</div>
<h3 class="text-lg font-semibold">Image Resize</h3>
</div>
<p class="text-gray-400 text-sm">Resize image while maintaining quality</p>
</div>
</div>
<!-- Apply Button -->
<button class="w-full py-4 rounded-xl bg-gradient-to-r from-primary-500 to-secondary-500 font-bold text-lg hover:opacity-90 transition-opacity">
Apply Edits
</button>
</div>
<!-- Results Section -->
<div id="results-section" class="mt-12 glass-effect rounded-2xl p-6 md:p-8 border border-gray-800 hidden">
<h2 class="text-2xl font-bold mb-6">Edited Image</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="bg-gray-800 rounded-xl p-6">
<h3 class="text-lg font-semibold mb-4">Original</h3>
<img src="http://static.photos/technology/640x360/123" alt="Original" class="rounded-lg w-full">
</div>
<div class="bg-gray-800 rounded-xl p-6">
<h3 class="text-lg font-semibold mb-4">Edited</h3>
<img src="http://static.photos/abstract/640x360/456" alt="Edited" class="rounded-lg w-full">
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="py-8 border-t border-gray-800">
<div class="container mx-auto px-4 text-center">
<p class="text-gray-500">
© 2023 AI Creative Studio. All rights reserved.
</p>
</div>
</footer>
<script>
feather.replace();
VANTA.GLOBE({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0xf97316,
color2: 0xf59e0b,
backgroundColor: 0x0f172a
});
// Show results when apply button is clicked
document.querySelector('button.w-full.py-4').addEventListener('click', function() {
document.getElementById('results-section').classList.remove('hidden');
});
</script>
</body>
</html> |