Update index.html
Browse files- index.html +3 -3
index.html
CHANGED
|
@@ -553,7 +553,7 @@ tailwind.config = {
|
|
| 553 |
<div id="messages" class="flex-1 overflow-y-auto px-4 py-6 space-y-6">
|
| 554 |
<!-- Empty state -->
|
| 555 |
<div id="empty-state" class="h-full flex flex-col items-center justify-center text-center py-16 opacity-100 transition-opacity duration-300">
|
| 556 |
-
<div class="font-display text-5xl italic text-cream/20 mb-4 select-none">
|
| 557 |
<div class="text-fog text-sm font-mono max-w-xs">Enter your OpenRouter API key in the sidebar, choose a model, and start a conversation.</div>
|
| 558 |
<div class="mt-8 grid grid-cols-2 gap-2 max-w-xs w-full">
|
| 559 |
<button onclick="insertPrompt('Explain quantum computing in simple terms')" class="text-left px-3 py-2.5 bg-ash hover:bg-mist border border-mist rounded-md text-xs font-mono text-ghost hover:text-pearl transition-all">
|
|
@@ -751,7 +751,7 @@ function renderMessages() {
|
|
| 751 |
|
| 752 |
if (msgs.length === 0) {
|
| 753 |
container.innerHTML = `<div id="empty-state" class="h-full flex flex-col items-center justify-center text-center py-16">
|
| 754 |
-
<div class="font-display text-5xl italic text-cream/20 mb-4 select-none">
|
| 755 |
<div class="text-fog text-sm font-mono max-w-xs">Enter your OpenRouter API key in the sidebar, choose a model, and start a conversation.</div>
|
| 756 |
<div class="mt-8 grid grid-cols-2 gap-2 max-w-xs w-full">
|
| 757 |
<button onclick="insertPrompt('Explain quantum computing in simple terms')" class="text-left px-3 py-2.5 bg-ash hover:bg-mist border border-mist rounded-md text-xs font-mono text-ghost hover:text-pearl transition-all">Explain quantum computing →</button>
|
|
@@ -922,7 +922,7 @@ async function sendMessage() {
|
|
| 922 |
'Authorization': 'Bearer ' + apiKey,
|
| 923 |
'Content-Type': 'application/json',
|
| 924 |
'HTTP-Referer': window.location.href,
|
| 925 |
-
'X-Title': '
|
| 926 |
},
|
| 927 |
body: JSON.stringify(body),
|
| 928 |
signal: abortController.signal,
|
|
|
|
| 553 |
<div id="messages" class="flex-1 overflow-y-auto px-4 py-6 space-y-6">
|
| 554 |
<!-- Empty state -->
|
| 555 |
<div id="empty-state" class="h-full flex flex-col items-center justify-center text-center py-16 opacity-100 transition-opacity duration-300">
|
| 556 |
+
<div class="font-display text-5xl italic text-cream/20 mb-4 select-none">FlexChat</div>
|
| 557 |
<div class="text-fog text-sm font-mono max-w-xs">Enter your OpenRouter API key in the sidebar, choose a model, and start a conversation.</div>
|
| 558 |
<div class="mt-8 grid grid-cols-2 gap-2 max-w-xs w-full">
|
| 559 |
<button onclick="insertPrompt('Explain quantum computing in simple terms')" class="text-left px-3 py-2.5 bg-ash hover:bg-mist border border-mist rounded-md text-xs font-mono text-ghost hover:text-pearl transition-all">
|
|
|
|
| 751 |
|
| 752 |
if (msgs.length === 0) {
|
| 753 |
container.innerHTML = `<div id="empty-state" class="h-full flex flex-col items-center justify-center text-center py-16">
|
| 754 |
+
<div class="font-display text-5xl italic text-cream/20 mb-4 select-none">FlexChat</div>
|
| 755 |
<div class="text-fog text-sm font-mono max-w-xs">Enter your OpenRouter API key in the sidebar, choose a model, and start a conversation.</div>
|
| 756 |
<div class="mt-8 grid grid-cols-2 gap-2 max-w-xs w-full">
|
| 757 |
<button onclick="insertPrompt('Explain quantum computing in simple terms')" class="text-left px-3 py-2.5 bg-ash hover:bg-mist border border-mist rounded-md text-xs font-mono text-ghost hover:text-pearl transition-all">Explain quantum computing →</button>
|
|
|
|
| 922 |
'Authorization': 'Bearer ' + apiKey,
|
| 923 |
'Content-Type': 'application/json',
|
| 924 |
'HTTP-Referer': window.location.href,
|
| 925 |
+
'X-Title': 'FlexChat',
|
| 926 |
},
|
| 927 |
body: JSON.stringify(body),
|
| 928 |
signal: abortController.signal,
|