pixelwizard-wand / gallery.html
Omid40ail's picture
″ ′′′ ᴼᴹᴵᴰ:
1bb869b verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gallery | PixelWizard Wand</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="bg-gradient-to-br from-gray-900 to-dark min-h-screen">
<div class="container mx-auto px-4 py-8">
<header class="mb-12">
<h1 class="text-4xl font-bold text-white mb-2">Generation History <span class="text-secondary">📚</span></h1>
<p class="text-gray-400">Review and provide feedback on your generated images</p>
</header>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Example Generation Item -->
<div class="bg-gray-800/50 backdrop-blur-md rounded-xl p-6 border border-gray-700 shadow-lg">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="text-lg font-semibold text-white mb-1">Prompt:</h3>
<p class="text-gray-300 text-sm">"A majestic lion on a mountain at sunset"</p>
<div class="flex items-center mt-2 space-x-2">
<span class="text-xs bg-primary/20 text-primary px-2 py-1 rounded">Stable Diffusion v2</span>
<span class="text-xs bg-secondary/20 text-secondary px-2 py-1 rounded">Realistic</span>
</div>
</div>
<div class="flex flex-col items-end">
<div class="text-xs text-gray-400">2 days ago</div>
<button class="mt-2 text-gray-400 hover:text-yellow-400 transition">
<i data-feather="star" class="w-4 h-4"></i>
</button>
</div>
</div>
<image-preview src="http://static.photos/nature/640x360/1" ai-generated></image-preview>
<div class="mt-4">
<h4 class="text-sm font-medium text-gray-300 mb-2">Feedback:</h4>
<div class="bg-gray-700 rounded-lg p-3">
<p class="text-gray-400 text-sm">"The lion looks more like a tiger and the sunset colors are too bright"</p>
</div>
<button class="mt-3 w-full bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded-md text-sm flex items-center justify-center">
<i data-feather="edit-2" class="w-4 h-4 mr-2"></i>
Add Feedback
</button>
</div>
</div>
<!-- Another Example -->
<div class="bg-gray-800/50 backdrop-blur-md rounded-xl p-6 border border-gray-700 shadow-lg">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="text-lg font-semibold text-white mb-1">Prompt:</h3>
<p class="text-gray-300 text-sm">"Cyberpunk city street at night with neon signs"</p>
</div>
<div class="text-xs text-gray-400">1 week ago</div>
</div>
<image-preview src="http://static.photos/cityscape/640x360/2"></image-preview>
<div class="mt-4">
<h4 class="text-sm font-medium text-gray-300 mb-2">Feedback:</h4>
<div class="bg-gray-700 rounded-lg p-3">
<p class="text-gray-400 text-sm">"The image captured the neon lights well but the perspective is too flat"</p>
</div>
<button class="mt-3 w-full bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded-md text-sm flex items-center justify-center">
<i data-feather="edit-2" class="w-4 h-4 mr-2"></i>
Add Feedback
</button>
</div>
</div>
<!-- Empty State -->
<div class="bg-gray-800/20 backdrop-blur-md rounded-xl p-6 border-2 border-dashed border-gray-600 flex flex-col items-center justify-center min-h-[300px]">
<i data-feather="folder" class="w-12 h-12 text-gray-500 mb-4"></i>
<h3 class="text-lg font-medium text-gray-400 mb-2">No history yet</h3>
<p class="text-gray-500 text-sm text-center">Your generated images and feedback will appear here</p>
<a href="/" class="mt-4 bg-primary hover:bg-primary/90 text-white px-4 py-2 rounded-md text-sm flex items-center">
<i data-feather="wand" class="w-4 h-4 mr-2"></i>
Start Generating
</a>
</div>
</div>
</div>
<div class="mt-8 text-center">
<a href="/omid-editor.html" class="inline-flex items-center px-4 py-2 bg-gray-800 hover:bg-gray-700 text-white rounded-md text-sm">
<i data-feather="edit" class="w-4 h-4 mr-2"></i>
Try Persian AI Editor
</a>
</div>
<script>
feather.replace();
</script>
<script src="components/image-preview.js"></script>
<script src="components/ai-editor.js"></script>
</body>
</html>