Spaces:
Running
Running
Update index.html
Browse files- index.html +17 -55
index.html
CHANGED
|
@@ -33,7 +33,7 @@
|
|
| 33 |
|
| 34 |
<div id="debug-banner" class="hidden fixed top-0 left-0 right-0 z-50 bg-red-600/90 text-white text-xs p-2 text-center font-mono"></div>
|
| 35 |
|
| 36 |
-
<!-- Menu Toggle -->
|
| 37 |
<div class="fixed top-3 left-3 z-30">
|
| 38 |
<button type="button" id="menu-btn" class="p-2.5 rounded-xl bg-zinc-900/90 backdrop-blur-md border border-zinc-800 text-zinc-300 hover:text-white active:scale-95 transition shadow-lg cursor-pointer">
|
| 39 |
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="w-5 h-5 pointer-events-none">
|
|
@@ -47,7 +47,7 @@
|
|
| 47 |
<!-- Sidebar Drawer -->
|
| 48 |
<aside id="drawer" style="transform: translateX(-100%); transition: transform 0.25s ease;" class="fixed inset-y-0 left-0 w-72 bg-[#18181b] border-r border-zinc-800 z-50 flex flex-col justify-between p-4 shadow-2xl">
|
| 49 |
<div class="flex-1 flex flex-col overflow-hidden">
|
| 50 |
-
<!-- Header -->
|
| 51 |
<div class="flex items-center justify-between pb-3 mb-3 border-b border-zinc-800">
|
| 52 |
<div class="flex items-center gap-2">
|
| 53 |
<div class="w-8 h-8 rounded-full bg-emerald-600 flex items-center justify-center font-bold text-white text-sm">ΰ€
</div>
|
|
@@ -55,37 +55,8 @@
|
|
| 55 |
</div>
|
| 56 |
<button type="button" id="close-drawer" class="text-zinc-400 hover:text-white p-1 text-sm font-bold cursor-pointer">β</button>
|
| 57 |
</div>
|
| 58 |
-
<!-- Account Badge -->
|
| 59 |
-
<div class="bg-zinc-900 border border-zinc-800 rounded-xl p-3 mb-3">
|
| 60 |
-
<div class="flex items-center justify-between">
|
| 61 |
-
<div class="truncate mr-2">
|
| 62 |
-
<p id="user-display" class="text-xs font-medium text-zinc-300 truncate">Guest User</p>
|
| 63 |
-
<p id="user-plan" class="text-[11px] font-semibold text-emerald-400">Plan: Free</p>
|
| 64 |
-
<p id="sync-status" class="text-[10px] text-zinc-500">Local Session</p>
|
| 65 |
-
</div>
|
| 66 |
-
<div class="flex items-center gap-1.5 shrink-0">
|
| 67 |
-
<button type="button" id="upgrade-btn" class="px-2 py-1 bg-amber-500 hover:bg-amber-400 text-black font-semibold rounded-lg text-xs transition cursor-pointer hidden">
|
| 68 |
-
Upgrade
|
| 69 |
-
</button>
|
| 70 |
-
<button type="button" id="auth-action-btn" class="px-2.5 py-1 bg-emerald-600 hover:bg-emerald-500 text-white rounded-lg text-xs font-medium transition cursor-pointer">
|
| 71 |
-
Login
|
| 72 |
-
</button>
|
| 73 |
-
</div>
|
| 74 |
-
</div>
|
| 75 |
|
| 76 |
-
|
| 77 |
-
<div id="usage-container" class="mt-2.5 pt-2 border-t border-zinc-800/80">
|
| 78 |
-
<div class="flex items-center justify-between text-[10px] font-medium text-zinc-400">
|
| 79 |
-
<span>Daily Quota</span>
|
| 80 |
-
<span id="usage-count-text">0 / 10</span>
|
| 81 |
-
</div>
|
| 82 |
-
<div class="w-full bg-zinc-800 rounded-full h-1.5 mt-1 overflow-hidden">
|
| 83 |
-
<div id="usage-progress-bar" class="h-full bg-emerald-500 rounded-full transition-all duration-300" style="width: 0%;"></div>
|
| 84 |
-
</div>
|
| 85 |
-
</div>
|
| 86 |
-
</div>
|
| 87 |
-
|
| 88 |
-
<!-- Account Badge (Top Placement) -->
|
| 89 |
<div class="bg-zinc-900 border border-zinc-800 rounded-xl p-3 mb-3">
|
| 90 |
<div class="flex items-center justify-between">
|
| 91 |
<div class="truncate mr-2">
|
|
@@ -102,6 +73,17 @@
|
|
| 102 |
</button>
|
| 103 |
</div>
|
| 104 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
</div>
|
| 106 |
|
| 107 |
<!-- New Chat Button -->
|
|
@@ -110,7 +92,7 @@
|
|
| 110 |
New Chat
|
| 111 |
</button>
|
| 112 |
|
| 113 |
-
<!-- Thread
|
| 114 |
<div class="flex-1 flex flex-col min-h-0">
|
| 115 |
<div class="flex items-center justify-between px-1 mb-2">
|
| 116 |
<p class="text-[11px] font-medium text-zinc-400">Conversations</p>
|
|
@@ -290,7 +272,7 @@
|
|
| 290 |
<span class="text-[10px] uppercase font-bold text-emerald-400">Plus</span>
|
| 291 |
<p id="plus-price" class="text-lg font-bold text-white mt-1">βΉ99<span class="text-xs text-zinc-500 font-normal">/mo</span></p>
|
| 292 |
<ul class="text-[11px] text-zinc-400 space-y-1.5 mt-2">
|
| 293 |
-
<li>β
|
| 294 |
<li>β Fast Response Rate</li>
|
| 295 |
<li>β Unlimited Voice Notes</li>
|
| 296 |
</ul>
|
|
@@ -309,7 +291,7 @@
|
|
| 309 |
<ul class="text-[11px] text-zinc-400 space-y-1.5 mt-2">
|
| 310 |
<li>β Unlimited Messages</li>
|
| 311 |
<li>β Okafwr 2.1 (Gemini 3.7)</li>
|
| 312 |
-
<li>β
|
| 313 |
</ul>
|
| 314 |
</div>
|
| 315 |
<button type="button" id="buy-pro-btn" class="mt-4 w-full py-2 bg-amber-500 hover:bg-amber-400 text-black rounded-lg text-xs font-semibold transition cursor-pointer">
|
|
@@ -320,26 +302,6 @@
|
|
| 320 |
</div>
|
| 321 |
</div>
|
| 322 |
|
| 323 |
-
<!-- Account Badge -->
|
| 324 |
-
<div class="bg-zinc-900 border border-zinc-800 rounded-xl p-3 mb-3">
|
| 325 |
-
<div class="flex items-center justify-between">
|
| 326 |
-
<div class="truncate mr-2">
|
| 327 |
-
<p id="user-display" class="text-xs font-medium text-zinc-300 truncate">Guest User</p>
|
| 328 |
-
<p id="user-plan" class="text-[11px] font-semibold text-emerald-400">Plan: Free</p>
|
| 329 |
-
<p id="sync-status" class="text-[10px] text-zinc-500">Local Session</p>
|
| 330 |
-
</div>
|
| 331 |
-
<div class="flex items-center gap-1.5 shrink-0">
|
| 332 |
-
<button type="button" id="upgrade-btn" class="px-2 py-1 bg-amber-500 hover:bg-amber-400 text-black font-semibold rounded-lg text-xs transition cursor-pointer hidden">
|
| 333 |
-
Upgrade
|
| 334 |
-
</button>
|
| 335 |
-
<button type="button" id="auth-action-btn" class="px-2.5 py-1 bg-emerald-600 hover:bg-emerald-500 text-white rounded-lg text-xs font-medium transition cursor-pointer">
|
| 336 |
-
Login
|
| 337 |
-
</button>
|
| 338 |
-
</div>
|
| 339 |
-
</div>
|
| 340 |
-
|
| 341 |
-
|
| 342 |
-
|
| 343 |
<script src="app.js"></script>
|
| 344 |
</body>
|
| 345 |
</html>
|
|
|
|
| 33 |
|
| 34 |
<div id="debug-banner" class="hidden fixed top-0 left-0 right-0 z-50 bg-red-600/90 text-white text-xs p-2 text-center font-mono"></div>
|
| 35 |
|
| 36 |
+
<!-- Menu Toggle Button -->
|
| 37 |
<div class="fixed top-3 left-3 z-30">
|
| 38 |
<button type="button" id="menu-btn" class="p-2.5 rounded-xl bg-zinc-900/90 backdrop-blur-md border border-zinc-800 text-zinc-300 hover:text-white active:scale-95 transition shadow-lg cursor-pointer">
|
| 39 |
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="w-5 h-5 pointer-events-none">
|
|
|
|
| 47 |
<!-- Sidebar Drawer -->
|
| 48 |
<aside id="drawer" style="transform: translateX(-100%); transition: transform 0.25s ease;" class="fixed inset-y-0 left-0 w-72 bg-[#18181b] border-r border-zinc-800 z-50 flex flex-col justify-between p-4 shadow-2xl">
|
| 49 |
<div class="flex-1 flex flex-col overflow-hidden">
|
| 50 |
+
<!-- Drawer Header -->
|
| 51 |
<div class="flex items-center justify-between pb-3 mb-3 border-b border-zinc-800">
|
| 52 |
<div class="flex items-center gap-2">
|
| 53 |
<div class="w-8 h-8 rounded-full bg-emerald-600 flex items-center justify-center font-bold text-white text-sm">ΰ€
</div>
|
|
|
|
| 55 |
</div>
|
| 56 |
<button type="button" id="close-drawer" class="text-zinc-400 hover:text-white p-1 text-sm font-bold cursor-pointer">β</button>
|
| 57 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
+
<!-- Single Account Badge with Quota Bar -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
<div class="bg-zinc-900 border border-zinc-800 rounded-xl p-3 mb-3">
|
| 61 |
<div class="flex items-center justify-between">
|
| 62 |
<div class="truncate mr-2">
|
|
|
|
| 73 |
</button>
|
| 74 |
</div>
|
| 75 |
</div>
|
| 76 |
+
|
| 77 |
+
<!-- Quota Progress Bar -->
|
| 78 |
+
<div id="usage-container" class="mt-2.5 pt-2 border-t border-zinc-800/80">
|
| 79 |
+
<div class="flex items-center justify-between text-[10px] font-medium text-zinc-400">
|
| 80 |
+
<span>Daily Quota</span>
|
| 81 |
+
<span id="usage-count-text">0 / 10</span>
|
| 82 |
+
</div>
|
| 83 |
+
<div class="w-full bg-zinc-800 rounded-full h-1.5 mt-1 overflow-hidden">
|
| 84 |
+
<div id="usage-progress-bar" class="h-full bg-emerald-500 rounded-full transition-all duration-300" style="width: 0%;"></div>
|
| 85 |
+
</div>
|
| 86 |
+
</div>
|
| 87 |
</div>
|
| 88 |
|
| 89 |
<!-- New Chat Button -->
|
|
|
|
| 92 |
New Chat
|
| 93 |
</button>
|
| 94 |
|
| 95 |
+
<!-- Thread History -->
|
| 96 |
<div class="flex-1 flex flex-col min-h-0">
|
| 97 |
<div class="flex items-center justify-between px-1 mb-2">
|
| 98 |
<p class="text-[11px] font-medium text-zinc-400">Conversations</p>
|
|
|
|
| 272 |
<span class="text-[10px] uppercase font-bold text-emerald-400">Plus</span>
|
| 273 |
<p id="plus-price" class="text-lg font-bold text-white mt-1">βΉ99<span class="text-xs text-zinc-500 font-normal">/mo</span></p>
|
| 274 |
<ul class="text-[11px] text-zinc-400 space-y-1.5 mt-2">
|
| 275 |
+
<li>β 100 Messages / day</li>
|
| 276 |
<li>β Fast Response Rate</li>
|
| 277 |
<li>β Unlimited Voice Notes</li>
|
| 278 |
</ul>
|
|
|
|
| 291 |
<ul class="text-[11px] text-zinc-400 space-y-1.5 mt-2">
|
| 292 |
<li>β Unlimited Messages</li>
|
| 293 |
<li>β Okafwr 2.1 (Gemini 3.7)</li>
|
| 294 |
+
<li>β Deep Memory & Long Answers</li>
|
| 295 |
</ul>
|
| 296 |
</div>
|
| 297 |
<button type="button" id="buy-pro-btn" class="mt-4 w-full py-2 bg-amber-500 hover:bg-amber-400 text-black rounded-lg text-xs font-semibold transition cursor-pointer">
|
|
|
|
| 302 |
</div>
|
| 303 |
</div>
|
| 304 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 305 |
<script src="app.js"></script>
|
| 306 |
</body>
|
| 307 |
</html>
|