Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>StreamAI - Personalized Streaming Recommendations</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
<link rel="stylesheet" href="styles/main.css"> | |
</head> | |
<body class="bg-gray-100 font-sans"> | |
<header class="gradient-bg text-white shadow-lg"> | |
<div class="container mx-auto px-4 py-6"> | |
<div class="flex justify-between items-center"> | |
<div class="flex items-center space-x-3"> | |
<i class="fas fa-stream text-3xl"></i> | |
<h1 class="text-2xl font-bold">StreamAI</h1> | |
</div> | |
<nav class="hidden md:flex space-x-6"> | |
<a href="#" class="hover:text-indigo-200 transition">Home</a> | |
<a href="#" class="hover:text-indigo-200 transition">Features</a> | |
<a href="#" class="hover:text-indigo-200 transition">About</a> | |
</nav> | |
</div> | |
</div> | |
</header> | |
<section class="py-12 bg-white"> | |
<div class="container mx-auto px-4"> | |
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Your Personal Streaming Assistant</h2> | |
<div class="max-w-4xl mx-auto bg-gray-50 rounded-xl shadow-lg overflow-hidden"> | |
<div class="bg-indigo-600 text-white p-4 flex items-center"> | |
<div class="w-10 h-10 rounded-full bg-indigo-400 flex items-center justify-center mr-3"><i class="fas fa-robot"></i></div> | |
<div> | |
<h3 class="font-semibold">StreamAI Assistant</h3> | |
<p class="text-xs text-indigo-200">Powered by Cloudflare Workers</p> | |
</div> | |
</div> | |
<div class="h-96 overflow-y-auto p-4 space-y-4" id="chat-messages"> | |
<div class="chat-bubble ai-bubble p-4 w-3/4"><p>Hi there! What are you in the mood for?</p></div> | |
</div> | |
<div class="border-t border-gray-200 p-4 bg-white"> | |
<div class="flex items-center"> | |
<input type="text" id="user-input" placeholder="Type your message..." class="flex-1 border border-gray-300 rounded-full py-3 px-4 focus:outline-none focus:ring-2 focus:ring-indigo-500"> | |
<button id="send-btn" class="ml-3 w-12 h-12 rounded-full bg-indigo-600 text-white hover:bg-indigo-700 flex items-center justify-center transition"><i class="fas fa-paper-plane"></i></button> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<div class="production-button" id="production-button"><i class="fas fa-video"></i></div> | |
<div class="production-panel" id="production-panel"> | |
<h3 class="font-bold text-lg mb-4">Create Video Clips</h3> | |
<p class="text-sm text-gray-600 mb-4">Record your screen to create short clips.</p> | |
<button id="start-recording" class="bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-full text-sm font-medium transition"><i class="fas fa-circle mr-1"></i> Start Recording</button> | |
</div> | |
<footer class="bg-gray-800 text-white py-12"> | |
<div class="container mx-auto px-4 text-center"><p>© 2025 StreamAI. All rights reserved.</p></div> | |
</footer> | |
<script src="scripts/app.js" type="module"></script> | |
</body> | |
</html> |