Update public/index.html
Browse files- public/index.html +16 -8
public/index.html
CHANGED
|
@@ -45,6 +45,11 @@
|
|
| 45 |
<div class="sidebar-bottom" id="sidebar-bottom">
|
| 46 |
<!-- Shown when not signed in -->
|
| 47 |
<div id="guest-section" class="account-section">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
<button id="signin-btn" class="btn-signin">Sign In</button>
|
| 49 |
<button id="settings-btn-guest" class="sidebar-icon-btn" title="Settings">
|
| 50 |
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>
|
|
@@ -74,12 +79,14 @@
|
|
| 74 |
<h1 class="welcome-title">What's on your mind?</h1>
|
| 75 |
<div class="welcome-input-wrap">
|
| 76 |
<div class="center-input-container">
|
| 77 |
-
<div class="
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
|
|
|
|
|
|
| 83 |
<div class="center-input-actions">
|
| 84 |
<button id="center-tool-search" class="tool-btn" data-tool="webSearch" title="Web Search">
|
| 85 |
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>
|
|
@@ -96,6 +103,7 @@
|
|
| 96 |
<button id="center-send-btn" class="send-btn-center">
|
| 97 |
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M2 21L23 12 2 3v7l15 2-15 2v7z"/></svg>
|
| 98 |
</button>
|
|
|
|
| 99 |
</div>
|
| 100 |
</div>
|
| 101 |
</div>
|
|
@@ -108,7 +116,6 @@
|
|
| 108 |
|
| 109 |
<!-- Bottom input (active during chat) -->
|
| 110 |
<div id="bottom-input-bar" class="bottom-input-bar hidden">
|
| 111 |
-
<div class="file-preview-row" id="file-preview-row"></div>
|
| 112 |
<div class="bottom-input-wrap">
|
| 113 |
<button id="bottom-attach-btn" class="attach-btn-bottom" title="Attach">
|
| 114 |
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>
|
|
@@ -132,6 +139,7 @@
|
|
| 132 |
<span>Audio</span>
|
| 133 |
</button>
|
| 134 |
</div>
|
|
|
|
| 135 |
<textarea id="bottom-input" class="bottom-textarea" placeholder="Ask anything…" rows="1"></textarea>
|
| 136 |
</div>
|
| 137 |
<button id="bottom-send-btn" class="send-btn-bottom">
|
|
@@ -165,4 +173,4 @@
|
|
| 165 |
<script src="https://cdn.jsdelivr.net/npm/dompurify@3.1.6/dist/purify.min.js"></script>
|
| 166 |
<script type="module" src="/js/app.js"></script>
|
| 167 |
</body>
|
| 168 |
-
</html>
|
|
|
|
| 45 |
<div class="sidebar-bottom" id="sidebar-bottom">
|
| 46 |
<!-- Shown when not signed in -->
|
| 47 |
<div id="guest-section" class="account-section">
|
| 48 |
+
<!-- Collapsed: icon-only sign-in button -->
|
| 49 |
+
<button id="signin-icon-btn" class="btn-signin-icon" title="Sign In">
|
| 50 |
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"/><polyline points="10 17 15 12 10 7"/><line x1="15" y1="12" x2="3" y2="12"/></svg>
|
| 51 |
+
</button>
|
| 52 |
+
<!-- Expanded: full sign-in button -->
|
| 53 |
<button id="signin-btn" class="btn-signin">Sign In</button>
|
| 54 |
<button id="settings-btn-guest" class="sidebar-icon-btn" title="Settings">
|
| 55 |
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>
|
|
|
|
| 79 |
<h1 class="welcome-title">What's on your mind?</h1>
|
| 80 |
<div class="welcome-input-wrap">
|
| 81 |
<div class="center-input-container">
|
| 82 |
+
<div id="center-file-preview-row" class="input-file-preview-row"></div>
|
| 83 |
+
<div class="center-input-row">
|
| 84 |
+
<div class="attach-btn-wrap">
|
| 85 |
+
<button id="center-attach-btn" class="attach-btn" title="Attach">
|
| 86 |
+
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>
|
| 87 |
+
</button>
|
| 88 |
+
</div>
|
| 89 |
+
<textarea id="center-input" class="center-textarea" placeholder="Ask anything…" rows="1"></textarea>
|
| 90 |
<div class="center-input-actions">
|
| 91 |
<button id="center-tool-search" class="tool-btn" data-tool="webSearch" title="Web Search">
|
| 92 |
<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>
|
|
|
|
| 103 |
<button id="center-send-btn" class="send-btn-center">
|
| 104 |
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M2 21L23 12 2 3v7l15 2-15 2v7z"/></svg>
|
| 105 |
</button>
|
| 106 |
+
</div>
|
| 107 |
</div>
|
| 108 |
</div>
|
| 109 |
</div>
|
|
|
|
| 116 |
|
| 117 |
<!-- Bottom input (active during chat) -->
|
| 118 |
<div id="bottom-input-bar" class="bottom-input-bar hidden">
|
|
|
|
| 119 |
<div class="bottom-input-wrap">
|
| 120 |
<button id="bottom-attach-btn" class="attach-btn-bottom" title="Attach">
|
| 121 |
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>
|
|
|
|
| 139 |
<span>Audio</span>
|
| 140 |
</button>
|
| 141 |
</div>
|
| 142 |
+
<div id="file-preview-row" class="input-file-preview-row"></div>
|
| 143 |
<textarea id="bottom-input" class="bottom-textarea" placeholder="Ask anything…" rows="1"></textarea>
|
| 144 |
</div>
|
| 145 |
<button id="bottom-send-btn" class="send-btn-bottom">
|
|
|
|
| 173 |
<script src="https://cdn.jsdelivr.net/npm/dompurify@3.1.6/dist/purify.min.js"></script>
|
| 174 |
<script type="module" src="/js/app.js"></script>
|
| 175 |
</body>
|
| 176 |
+
</html>
|