Spaces:
Running
Running
Update index.html
Browse files- index.html +58 -31
index.html
CHANGED
@@ -10,52 +10,79 @@
|
|
10 |
</head>
|
11 |
<body class="bg-gray-100 font-sans">
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
<header class="gradient-bg text-white shadow-lg">
|
14 |
<div class="container mx-auto px-4 py-6">
|
15 |
<div class="flex justify-between items-center">
|
16 |
-
<div class="flex items-center space-x-3">
|
17 |
-
|
18 |
-
<h1 class="text-2xl font-bold">StreamAI</h1>
|
19 |
-
</div>
|
20 |
-
<nav class="hidden md:flex space-x-6">
|
21 |
-
<a href="#" class="hover:text-indigo-200 transition">Home</a>
|
22 |
-
<a href="#" class="hover:text-indigo-200 transition">Features</a>
|
23 |
-
<a href="#" class="hover:text-indigo-200 transition">About</a>
|
24 |
-
</nav>
|
25 |
</div>
|
26 |
</div>
|
27 |
</header>
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
<section class="py-12 bg-white">
|
30 |
<div class="container mx-auto px-4">
|
31 |
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Your Personal Streaming Assistant</h2>
|
32 |
<div class="max-w-4xl mx-auto bg-gray-50 rounded-xl shadow-lg overflow-hidden">
|
33 |
-
<div class="bg-indigo-600 text-white p-4 flex items-center">
|
34 |
-
|
35 |
-
|
36 |
-
<h3 class="font-semibold">StreamAI Assistant</h3>
|
37 |
-
<p class="text-xs text-indigo-200">Powered by Cloudflare Workers</p>
|
38 |
-
</div>
|
39 |
-
</div>
|
40 |
-
<div class="h-96 overflow-y-auto p-4 space-y-4" id="chat-messages">
|
41 |
-
<div class="chat-bubble ai-bubble p-4 w-3/4"><p>Hi there! What are you in the mood for?</p></div>
|
42 |
-
</div>
|
43 |
-
<div class="border-t border-gray-200 p-4 bg-white">
|
44 |
-
<div class="flex items-center">
|
45 |
-
<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">
|
46 |
-
<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>
|
47 |
-
</div>
|
48 |
-
</div>
|
49 |
</div>
|
50 |
</div>
|
51 |
</section>
|
52 |
|
53 |
-
<
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
|
|
|
|
|
|
|
|
59 |
|
60 |
<footer class="bg-gray-800 text-white py-12">
|
61 |
<div class="container mx-auto px-4 text-center"><p>© 2025 StreamAI. All rights reserved.</p></div>
|
|
|
10 |
</head>
|
11 |
<body class="bg-gray-100 font-sans">
|
12 |
|
13 |
+
<div id="notification" class="notification"></div>
|
14 |
+
|
15 |
+
<div class="production-button" id="production-button"><i class="fas fa-video"></i></div>
|
16 |
+
<div class="production-panel" id="production-panel">
|
17 |
+
<div class="flex mb-4 border-b">
|
18 |
+
<div class="tab active" data-tab="record-section">Record</div>
|
19 |
+
<div class="tab inactive" data-tab="edit-section">Edit</div>
|
20 |
+
<div class="tab inactive" data-tab="share-section">Share</div>
|
21 |
+
<div class="tab inactive" data-tab="rank-section">Rankings</div>
|
22 |
+
</div>
|
23 |
+
|
24 |
+
<div id="record-section">
|
25 |
+
<h3 class="font-bold text-lg mb-2">Create Video Clips</h3>
|
26 |
+
<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>
|
27 |
+
<button id="start-recording" class="bg-red-500 text-white px-4 py-2 rounded-full text-sm">Start Recording</button>
|
28 |
+
</div>
|
29 |
+
|
30 |
+
<div id="edit-section" class="hidden">
|
31 |
+
<h3 class="font-bold text-lg mb-2">Edit Production</h3>
|
32 |
+
<p class="text-sm text-gray-600">Combine clips here...</p>
|
33 |
+
</div>
|
34 |
+
|
35 |
+
<div id="share-section" class="hidden">
|
36 |
+
<h3 class="font-bold text-lg mb-2">Share with Group</h3>
|
37 |
+
<p class="text-sm text-gray-600">Share via Bluetooth...</p>
|
38 |
+
</div>
|
39 |
+
|
40 |
+
<div id="rank-section" class="hidden">
|
41 |
+
<h3 class="font-bold text-lg mb-2">Group Rankings</h3>
|
42 |
+
<p class="text-sm text-gray-600">See group rankings here...</p>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
|
46 |
<header class="gradient-bg text-white shadow-lg">
|
47 |
<div class="container mx-auto px-4 py-6">
|
48 |
<div class="flex justify-between items-center">
|
49 |
+
<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>
|
50 |
+
<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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
</div>
|
52 |
</div>
|
53 |
</header>
|
54 |
|
55 |
+
<section class="gradient-bg text-white py-16">
|
56 |
+
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
|
57 |
+
<div class="md:w-1/2 mb-10 md:mb-0">
|
58 |
+
<h2 class="text-4xl md:text-5xl font-bold mb-4">AI-Powered Streaming Recommendations</h2>
|
59 |
+
<p class="text-xl mb-8 text-indigo-100">Get personalized streaming suggestions powered by Cloudflare Workers AI.</p>
|
60 |
+
</div>
|
61 |
+
<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>
|
62 |
+
</div>
|
63 |
+
</section>
|
64 |
+
|
65 |
<section class="py-12 bg-white">
|
66 |
<div class="container mx-auto px-4">
|
67 |
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Your Personal Streaming Assistant</h2>
|
68 |
<div class="max-w-4xl mx-auto bg-gray-50 rounded-xl shadow-lg overflow-hidden">
|
69 |
+
<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>
|
70 |
+
<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>
|
71 |
+
<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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
</div>
|
73 |
</div>
|
74 |
</section>
|
75 |
|
76 |
+
<section class="py-12 bg-gray-50">
|
77 |
+
<div class="container mx-auto px-4">
|
78 |
+
<h2 class="text-3xl font-bold text-center mb-6 text-gray-800">Recommended For You</h2>
|
79 |
+
<div class="max-w-4xl mx-auto mb-8 bg-white p-4 rounded-lg shadow">
|
80 |
+
<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>
|
81 |
+
<div id="rss-feed" class="mt-4 space-y-3"></div>
|
82 |
+
</div>
|
83 |
+
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4" id="recommendations-container"></div>
|
84 |
+
</div>
|
85 |
+
</section>
|
86 |
|
87 |
<footer class="bg-gray-800 text-white py-12">
|
88 |
<div class="container mx-auto px-4 text-center"><p>© 2025 StreamAI. All rights reserved.</p></div>
|