smartapp-builder-ai / index.html
moosasenan's picture
💡 اسم المشروع:
8feb990 verified
Raw
History Blame Contribute Delete
4.77 kB
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SmartApp Builder AI | منصة بناء التطبيقات بالذكاء الاصطناعي</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>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#3B82F6',
secondary: '#10B981',
}
}
}
}
</script>
</head>
<body class="bg-gray-50 text-gray-800 font-sans">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<div class="flex flex-col lg:flex-row gap-6">
<!-- Chat Panel -->
<div class="w-full lg:w-1/2 bg-white rounded-xl shadow-md overflow-hidden">
<div class="bg-primary p-4 text-white">
<h2 class="text-xl font-bold flex items-center gap-2">
<i data-feather="message-square"></i>
دردشة الذكاء الاصطناعي
</h2>
</div>
<div class="h-96 overflow-y-auto p-4" id="chat-container">
<!-- Messages will appear here -->
<div class="chat-message ai-message mb-4">
<div class="flex items-start gap-3">
<div class="bg-secondary text-white p-2 rounded-full">
<i data-feather="cpu"></i>
</div>
<div class="bg-gray-100 p-3 rounded-lg max-w-[80%]">
<p>مرحباً! أنا مساعدك الذكي لبناء التطبيقات. كيف يمكنني مساعدتك اليوم؟</p>
</div>
</div>
</div>
</div>
<div class="p-4 border-t">
<form id="chat-form" class="flex gap-2">
<input type="text" id="user-input"
class="flex-1 border border-gray-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-primary"
placeholder="اكتب طلبك هنا... مثل 'أنشئ لي تطبيق متجر إلكتروني'">
<button type="submit" class="bg-primary text-white px-4 py-2 rounded-lg hover:bg-blue-600 transition">
<i data-feather="send"></i>
</button>
</form>
</div>
</div>
<!-- Preview Panel -->
<div class="w-full lg:w-1/2 bg-white rounded-xl shadow-md overflow-hidden">
<div class="bg-primary p-4 text-white">
<h2 class="text-xl font-bold flex items-center gap-2">
<i data-feather="eye"></i>
معاينة التطبيق الحي
</h2>
</div>
<div class="h-96 bg-gray-100 flex items-center justify-center">
<div class="text-center p-4">
<i data-feather="code" class="w-12 h-12 text-gray-400 mx-auto"></i>
<p class="mt-2 text-gray-500">سيظهر التطبيق هنا عند بدء التوليد</p>
</div>
</div>
<div class="p-4 border-t flex justify-between">
<button class="bg-secondary text-white px-4 py-2 rounded-lg hover:bg-emerald-600 transition flex items-center gap-2">
<i data-feather="download"></i>
تحميل الكود
</button>
<button class="bg-primary text-white px-4 py-2 rounded-lg hover:bg-blue-600 transition flex items-center gap-2">
<i data-feather="save"></i>
حفظ المشروع
</button>
</div>
</div>
</div>
</main>
<custom-footer></custom-footer>
<!-- Components -->
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>