undefined / export.html
daltiboi's picture
I need the Editor to take request in natural language, so NLP is necessary. Also, the User should be able to type anything and the AI agent should be able to generate it
1893477 verified
Raw History Blame Contribute Delete
13.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BlockCraft Studio | Export</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.export-card {
transition: all 0.2s ease;
}
.export-card:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}
.progress-bar {
background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
}
</style>
</head>
<body class="bg-slate-900 text-gray-100 min-h-screen">
<!-- Navbar -->
<nav class="bg-slate-800/80 border-b border-slate-700">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0">
<div class="flex items-center">
<i data-feather="box" class="text-blue-400 mr-2"></i>
<span class="text-xl font-bold bg-gradient-to-r from-blue-400 to-emerald-400 bg-clip-text text-transparent">BlockCraft Studio</span>
</div>
</div>
</div>
<div class="flex items-center">
<a href="editor.html" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium flex items-center">
<i data-feather="arrow-left" class="mr-1 w-4 h-4"></i>
Back to Editor
</a>
</div>
</div>
</div>
</nav>
<!-- Main Content -->
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
<div class="text-center mb-12">
<h1 class="text-3xl font-bold text-white mb-2">Export Your Creation</h1>
<p class="text-gray-400 max-w-2xl mx-auto">
Choose the appropriate export format for your Minecraft edition and get ready to share your mod with the world!
</p>
</div>
<!-- Export Options -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-12">
<!-- Java Edition Export -->
<div class="export-card bg-slate-800/80 border border-slate-700 rounded-xl p-6 hover:border-blue-400">
<div class="flex items-center mb-4">
<div class="bg-blue-500/20 p-3 rounded-full mr-4">
<i data-feather="cpu" class="text-blue-400 w-6 h-6"></i>
</div>
<h3 class="text-xl font-bold text-white">Java Edition</h3>
</div>
<p class="text-gray-400 mb-6">
Export as a mod for Minecraft Java Edition. Supports Forge, Fabric, and Quilt mod loaders.
</p>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-300 mb-1">Export Format</label>
<select class="w-full bg-slate-700 border border-slate-600 rounded px-3 py-2 text-sm">
<option>.jar (Mod File)</option>
<option>.zip (Resource Pack)</option>
<option>Full Mod Project</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-300 mb-1">Mod Loader</label>
<select class="w-full bg-slate-700 border border-slate-600 rounded px-3 py-2 text-sm">
<option>Forge</option>
<option>Fabric</option>
<option>Quilt</option>
</select>
</div>
<button class="w-full bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center justify-center">
<i data-feather="download" class="mr-2 w-4 h-4"></i>
Export Java Edition
</button>
</div>
</div>
<!-- Bedrock Edition Export -->
<div class="export-card bg-slate-800/80 border border-slate-700 rounded-xl p-6 hover:border-emerald-400">
<div class="flex items-center mb-4">
<div class="bg-emerald-500/20 p-3 rounded-full mr-4">
<i data-feather="tablet" class="text-emerald-400 w-6 h-6"></i>
</div>
<h3 class="text-xl font-bold text-white">Bedrock Edition</h3>
</div>
<p class="text-gray-400 mb-6">
Export as an add-on for Minecraft Bedrock Edition. Works on all Bedrock platforms.
</p>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-300 mb-1">Export Format</label>
<select class="w-full bg-slate-700 border border-slate-600 rounded px-3 py-2 text-sm">
<option>.mcaddon (Complete Add-On)</option>
<option>.mcpack (Behavior Pack)</option>
<option>.mcpack (Resource Pack)</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-300 mb-1">Target Version</label>
<select class="w-full bg-slate-700 border border-slate-600 rounded px-3 py-2 text-sm">
<option>Latest (1.20+)</option>
<option>1.19</option>
<option>1.18</option>
<option>1.17</option>
</select>
</div>
<button class="w-full bg-emerald-500 hover:bg-emerald-600 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center justify-center">
<i data-feather="download" class="mr-2 w-4 h-4"></i>
Export Bedrock Edition
</button>
</div>
</div>
</div>
<!-- Advanced Export -->
<div class="bg-slate-800/80 border border-slate-700 rounded-xl p-6 mb-12">
<h3 class="text-lg font-bold text-white mb-4 flex items-center">
<i data-feather="settings" class="mr-2 text-blue-400"></i>
Advanced Export Options
</h3>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div>
<label class="block text-sm font-medium text-gray-300 mb-1">Texture Resolution</label>
<select class="w-full bg-slate-700 border border-slate-600 rounded px-3 py-2 text-sm">
<option>16x (Default)</option>
<option>32x</option>
<option>64x</option>
<option>128x (HD)</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-300 mb-1">Animation Quality</label>
<select class="w-full bg-slate-700 border border-slate-600 rounded px-3 py-2 text-sm">
<option>High (Smooth)</option>
<option>Medium</option>
<option>Low (Performance)</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-300 mb-1">Sound Quality</label>
<select class="w-full bg-slate-700 border border-slate-600 rounded px-3 py-2 text-sm">
<option>High (128kbps)</option>
<option>Medium (64kbps)</option>
<option>Low (32kbps)</option>
</select>
</div>
</div>
<div class="mt-6">
<label class="block text-sm font-medium text-gray-300 mb-1">Custom Manifest Settings</label>
<textarea class="w-full bg-slate-700 border border-slate-600 rounded px-3 py-2 text-sm h-24" placeholder="Add any custom manifest properties in JSON format..."></textarea>
</div>
<div class="mt-6 flex justify-end">
<button class="bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-md text-sm font-medium flex items-center">
<i data-feather="code" class="mr-2 w-4 h-4"></i>
Export Raw Files
</button>
</div>
</div>
<!-- Export Status -->
<div class="bg-slate-800/80 border border-slate-700 rounded-xl p-6">
<h3 class="text-lg font-bold text-white mb-4 flex items-center">
<i data-feather="activity" class="mr-2 text-blue-400"></i>
Export Status
</h3>
<div class="space-y-4">
<!-- Export Step 1 -->
<div>
<div class="flex items-center justify-between mb-1">
<span class="text-sm font-medium text-white">Processing models</span>
<span class="text-xs text-green-400 flex items-center">
<i data-feather="check" class="w-3 h-3 mr-1"></i>
Complete
</span>
</div>
<div class="w-full bg-slate-700 rounded-full h-1.5">
<div class="progress-bar h-1.5 rounded-full" style="width: 100%"></div>
</div>
</div>
<!-- Export Step 2 -->
<div>
<div class="flex items-center justify-between mb-1">
<span class="text-sm font-medium text-white">Compiling textures</span>
<span class="text-xs text-green-400 flex items-center">
<i data-feather="check" class="w-3 h-3 mr-1"></i>
Complete
</span>
</div>
<div class="w-full bg-slate-700 rounded-full h-1.5">
<div class="progress-bar h-1.5 rounded-full" style="width: 100%"></div>
</div>
</div>
<!-- Export Step 3 -->
<div>
<div class="flex items-center justify-between mb-1">
<span class="text-sm font-medium text-white">Processing animations</span>
<span class="text-xs text-blue-400 flex items-center">
<i data-feather="loader" class="w-3 h-3 mr-1 animate-spin"></i>
In Progress (75%)
</span>
</div>
<div class="w-full bg-slate-700 rounded-full h-1.5">
<div class="progress-bar h-1.5 rounded-full" style="width: 75%"></div>
</div>
</div>
<!-- Export Step 4 -->
<div>
<div class="flex items-center justify-between mb-1">
<span class="text-sm font-medium text-gray-300">Generating sound files</span>
<span class="text-xs text-gray-400">Pending</span>
</div>
<div class="w-full bg-slate-700 rounded-full h-1.5">
<div class="bg-slate-700 h-1.5 rounded-full" style="width: 0%"></div>
</div>
</div>
<!-- Export Step 5 -->
<div>
<div class="flex items-center justify-between mb-1">
<span class="text-sm font-medium text-gray-300">Creating package</span>
<span class="text-xs text-gray-400">Pending</span>
</div>
<div class="w-full bg-slate-700 rounded-full h-1.5">
<div class="bg-slate-700 h-1.5 rounded-full" style="width: 0%"></div>
</div>
</div>
</div>
<div class="mt-6 flex justify-between items-center">
<div class="text-sm text-gray-400">
Estimated time remaining: <span class="text-white">1 minute 23 seconds</span>
</div>
<button class="bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
<i data-feather="x" class="mr-2 w-4 h-4"></i>
Cancel Export
</button>
</div>
</div>
</div>
<script>
// Initialize Feather Icons
feather.replace();
</script>
</body>
</html>