Update script.js
Browse files
script.js
CHANGED
|
@@ -640,8 +640,15 @@ function showInitialPreviewStateUI() {
|
|
| 640 |
|
| 641 |
const initialViewContainer = document.createElement('div');
|
| 642 |
initialViewContainer.id = 'initial-view-content';
|
| 643 |
-
// Added 'initial-view-animate' for entry animation
|
| 644 |
-
initialViewContainer.className = 'flex flex-col items-center justify-center text-slate-300 text-lg p-8 space-y-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 645 |
|
| 646 |
// API Key Input Section
|
| 647 |
const apiKeySection = document.createElement('div');
|
|
|
|
| 640 |
|
| 641 |
const initialViewContainer = document.createElement('div');
|
| 642 |
initialViewContainer.id = 'initial-view-content';
|
| 643 |
+
// Added 'initial-view-animate' for entry animation, adjusted spacing
|
| 644 |
+
initialViewContainer.className = 'flex flex-col items-center justify-center text-slate-300 text-lg p-8 space-y-4 h-full initial-view-animate';
|
| 645 |
+
|
| 646 |
+
// Novita.AI Logo
|
| 647 |
+
const logoImg = document.createElement('img');
|
| 648 |
+
logoImg.src = 'https://novita.ai/logo/logo.svg';
|
| 649 |
+
logoImg.alt = 'Novita.AI Logo';
|
| 650 |
+
logoImg.className = 'w-40 mb-2'; // Adjusted width and added bottom margin
|
| 651 |
+
initialViewContainer.appendChild(logoImg); // Append logo first
|
| 652 |
|
| 653 |
// API Key Input Section
|
| 654 |
const apiKeySection = document.createElement('div');
|