Spaces:
Running
Running
Update index.html
Browse files- index.html +17 -0
index.html
CHANGED
@@ -31,8 +31,25 @@
|
|
31 |
<div id="error-message" class="mt-2 text-red-400 text-sm font-medium"></div>
|
32 |
</div>
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
<div id="perspective-viewport">
|
35 |
<div id="preview-grid-wrapper" class="grid-mode">
|
|
|
36 |
</div>
|
37 |
</div>
|
38 |
|
|
|
31 |
<div id="error-message" class="mt-2 text-red-400 text-sm font-medium"></div>
|
32 |
</div>
|
33 |
|
34 |
+
<div id="initial-setup-cta" class="hidden flex-col items-center justify-center text-slate-300 text-lg p-4 space-y-6">
|
35 |
+
<!-- This div will be shown by script.js in the initial state -->
|
36 |
+
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/Google_Gemini_logo.svg/2560px-Google_Gemini_logo.svg.png" alt="Gemini Logo" id="gemini-logo-initial-cta">
|
37 |
+
<div>
|
38 |
+
<input type="password" id="initial-api-key-input" class="futuristic-input w-full max-w-lg text-sm" placeholder="Enter your Gemini API Key">
|
39 |
+
<p class="text-xs text-slate-400 mt-2">
|
40 |
+
<a href="https://ai.studio.google.com/app/apikey" target="_blank" rel="noopener noreferrer" class="text-cyan-400 hover:text-cyan-300 underline">
|
41 |
+
Get your Gemini API Key from Google AI Studio
|
42 |
+
</a>
|
43 |
+
</p>
|
44 |
+
</div>
|
45 |
+
<div id="example-prompts-container" class="flex flex-col items-center gap-3">
|
46 |
+
</div>
|
47 |
+
<p class="mt-4 text-sm text-slate-500">Once you have an API key and a prompt (either typed or from an example),<br>click the pencil icon or press Alt+P to open the prompt window and generate.</p>
|
48 |
+
</div>
|
49 |
+
|
50 |
<div id="perspective-viewport">
|
51 |
<div id="preview-grid-wrapper" class="grid-mode">
|
52 |
+
<!-- Content will be dynamically inserted here by script.js -->
|
53 |
</div>
|
54 |
</div>
|
55 |
|