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"> | |
<div id="notification" class="notification"></div> | |
<div class="production-button" id="production-button"><i class="fas fa-video"></i></div> | |
<div class="production-panel" id="production-panel"> | |
<div class="flex mb-4 border-b"> | |
<div class="tab active" data-tab="record-section">Record</div> | |
<div class="tab inactive" data-tab="edit-section">Edit</div> | |
<div class="tab inactive" data-tab="share-section">Share</div> | |
<div class="tab inactive" data-tab="rank-section">Rankings</div> | |
</div> | |
<div id="record-section"> | |
<h3 class="font-bold text-lg mb-2">Create Video Clips</h3> | |
<div id="clip-preview" class="clip-preview"><div class="clip-preview-placeholder"><i class="fas fa-video"></i><p>Preview will appear here</p></div></div> | |
<button id="start-recording" class="bg-red-500 text-white px-4 py-2 rounded-full text-sm">Start Recording</button> | |
</div> | |
<div id="edit-section" class="hidden"> | |
<h3 class="font-bold text-lg mb-2">Edit Production</h3> | |
<p class="text-sm text-gray-600">Combine clips here...</p> | |
</div> | |
<div id="share-section" class="hidden"> | |
<h3 class="font-bold text-lg mb-2">Share with Group</h3> | |
<p class="text-sm text-gray-600">Share via Bluetooth...</p> | |
</div> | |
<div id="rank-section" class="hidden"> | |
<h3 class="font-bold text-lg mb-2">Group Rankings</h3> | |
<p class="text-sm text-gray-600">See group rankings here...</p> | |
</div> | |
</div> | |
<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="gradient-bg text-white py-16"> | |
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center"> | |
<div class="md:w-1/2 mb-10 md:mb-0"> | |
<h2 class="text-4xl md:text-5xl font-bold mb-4">AI-Powered Streaming Recommendations</h2> | |
<p class="text-xl mb-8 text-indigo-100">Get personalized streaming suggestions powered by Cloudflare Workers AI.</p> | |
</div> | |
<div class="md:w-1/2 flex justify-center"><div class="relative w-64 h-64 md:w-80 md:h-80"><div class="absolute inset-0 bg-indigo-500 rounded-full opacity-20 floating"></div><div class="absolute inset-4 bg-indigo-400 rounded-full opacity-30 floating" style="animation-delay: 0.5s;"></div><div class="absolute inset-8 bg-indigo-300 rounded-full opacity-40 floating" style="animation-delay: 1s;"></div><div class="absolute inset-12 bg-white rounded-full flex items-center justify-center"><i class="fas fa-robot text-6xl text-indigo-600"></i></div></div></div> | |
</div> | |
</section> | |
<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> | |
<section class="py-12 bg-gray-50"> | |
<div class="container mx-auto px-4"> | |
<h2 class="text-3xl font-bold text-center mb-6 text-gray-800">Recommended For You</h2> | |
<div class="text-center text-xs text-gray-500 mb-8 max-w-2xl mx-auto"> | |
<p>These listings are curated by the StreamAI platform and submitted by fans. StreamAI does not host and is not responsible for the content of external sites.</p> | |
</div> | |
<div class="max-w-4xl mx-auto mb-8 bg-white p-4 rounded-lg shadow"> | |
<div class="flex items-center mb-2"><i class="fas fa-rss-square text-orange-500 mr-2"></i><h3 class="font-semibold">Personalized RSS Feed</h3></div> | |
<div id="rss-feed" class="mt-4 space-y-3"></div> | |
</div> | |
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4" id="recommendations-container"></div> | |
</div> | |
</section> | |
<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> |