File size: 11,114 Bytes
d6c8af7 |
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 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Studio | AI Forge</title>
<link rel="stylesheet" href="style.css">
<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>
</head>
<body class="bg-gray-100">
<custom-navbar></custom-navbar>
<div class="flex h-screen">
<!-- Sidebar -->
<aside class="w-64 bg-white border-r border-gray-200">
<div class="p-4">
<h2 class="text-lg font-semibold mb-4">AI Modules</h2>
<div class="space-y-2">
<button class="w-full flex items-center justify-between px-4 py-2 bg-indigo-50 text-indigo-600 rounded-lg">
<span>Text Generation</span>
<i data-feather="chevron-down" class="w-4 h-4"></i>
</button>
<button class="w-full flex items-center justify-between px-4 py-2 hover:bg-gray-50 rounded-lg">
<span>Image Generation</span>
<i data-feather="chevron-down" class="w-4 h-4"></i>
</button>
<button class="w-full flex items-center justify-between px-4 py-2 hover:bg-gray-50 rounded-lg">
<span>Predictive Models</span>
<i data-feather="chevron-down" class="w-4 h-4"></i>
</button>
<button class="w-full flex items-center justify-between px-4 py-2 hover:bg-gray-50 rounded-lg">
<span>Code Automation</span>
<i data-feather="chevron-down" class="w-4 h-4"></i>
</button>
</div>
<h2 class="text-lg font-semibold mt-8 mb-4">Data Sources</h2>
<div class="space-y-2">
<button class="w-full flex items-center px-4 py-2 hover:bg-gray-50 rounded-lg gap-2">
<i data-feather="database" class="w-4 h-4"></i>
<span>Databases</span>
</button>
<button class="w-full flex items-center px-4 py-2 hover:bg-gray-50 rounded-lg gap-2">
<i data-feather="upload-cloud" class="w-4 h-4"></i>
<span>CSV/Excel</span>
</button>
<button class="w-full flex items-center px-4 py-2 hover:bg-gray-50 rounded-lg gap-2">
<i data-feather="link" class="w-4 h-4"></i>
<span>API Connections</span>
</button>
</div>
</div>
</aside>
<!-- Main Content -->
<main class="flex-1 p-6 overflow-auto">
<div class="bg-white rounded-xl shadow-sm p-6 mb-6">
<div class="flex justify-between items-center mb-6">
<h1 class="text-2xl font-bold">Marketing Copy Generator</h1>
<div class="flex gap-2">
<button class="flex items-center gap-2 px-4 py-2 bg-indigo-600 text-white rounded-lg">
<i data-feather="play" class="w-4 h-4"></i>
Train Model
</button>
<button class="flex items-center gap-2 px-4 py-2 border border-gray-300 rounded-lg">
<i data-feather="share-2" class="w-4 h-4"></i>
Export
</button>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<!-- Configuration Panel -->
<div class="bg-gray-50 rounded-lg p-4">
<h2 class="font-semibold mb-4">Configuration</h2>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Model Type</label>
<select class="w-full rounded-lg border-gray-300">
<option>GPT-4 Fine-tuned</option>
<option>Claude 2</option>
<option>Llama 2</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Brand Voice</label>
<textarea class="w-full rounded-lg border-gray-300" rows="3" placeholder="Describe your brand's tone (e.g., professional, friendly, authoritative)"></textarea>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Keywords</label>
<input type="text" class="w-full rounded-lg border-gray-300" placeholder="product, benefits, target audience">
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Output Length</label>
<div class="flex items-center gap-2">
<input type="range" class="w-full" min="50" max="500" value="200">
<span class="text-sm text-gray-500">200 words</span>
</div>
</div>
</div>
</div>
<!-- Preview Panel -->
<div class="bg-gray-50 rounded-lg p-4">
<h2 class="font-semibold mb-4">Output Preview</h2>
<div class="bg-white border border-gray-200 rounded-lg p-4 min-h-48">
<p class="text-gray-500 italic">Generated content will appear here...</p>
</div>
<div class="mt-4 flex justify-end gap-2">
<button class="px-4 py-2 border border-gray-300 rounded-lg">Regenerate</button>
<button class="px-4 py-2 bg-indigo-600 text-white rounded-lg">Copy</button>
</div>
</div>
</div>
</div>
<!-- Data Sources Section -->
<div class="bg-white rounded-xl shadow-sm p-6">
<h2 class="text-xl font-semibold mb-4">Training Data</h2>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Source</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Size</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<i data-feather="file-text" class="w-5 h-5 mr-2 text-indigo-600"></i>
<div>Past_Campaigns.csv</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">CSV</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2.4 MB</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
Processed
</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">Preview</a>
<a href="#" class="text-red-600 hover:text-red-900">Remove</a>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<i data-feather="database" class="w-5 h-5 mr-2 text-indigo-600"></i>
<div>Salesforce Contacts</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">API</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">12,453 rows</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">
Syncing
</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium">
<a href="#" class="text-indigo-600 hover:text-indigo-900 mr-3">Configure</a>
<a href="#" class="text-red-600 hover:text-red-900">Remove</a>
</td>
</tr>
</tbody>
</table>
</div>
<button class="mt-4 flex items-center gap-2 text-indigo-600">
<i data-feather="plus" class="w-4 h-4"></i>
Add Data Source
</button>
</div>
</main>
</div>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
</body>
</html> |