|
119 | 119 | padding: 0 16px; |
120 | 120 | z-index: 1000; |
121 | 121 | } |
| 122 | + .menubar-right { |
| 123 | + display: flex; |
| 124 | + align-items: center; |
| 125 | + gap: 8px; |
| 126 | + } |
| 127 | + .logo-link { |
| 128 | + display: flex; |
| 129 | + align-items: center; |
| 130 | + text-decoration: none; |
| 131 | + transition: opacity 0.2s ease; |
| 132 | + } |
| 133 | + .logo-link:hover { |
| 134 | + opacity: 0.8; |
| 135 | + } |
122 | 136 | .menu-logo { |
123 | 137 | height: 24px; |
124 | 138 | width: 24px; |
|
554 | 568 | <body> |
555 | 569 | <div class="menubar"> |
556 | 570 | <div class="menubar-left"> |
557 | | - <img src="/static/AIliceLogo.png" alt="Ailice Logo" class="menu-logo"> |
| 571 | + <a href="https://github.com/myshell-ai/AIlice" target="_blank" class="logo-link"> |
| 572 | + <img src="/static/AIliceLogo.png" alt="Ailice Logo" class="menu-logo"> |
| 573 | + </a> |
558 | 574 | <span class="app-title">Ailice</span> |
559 | 575 | </div> |
560 | 576 | <div class="menubar-right"> |
| 577 | + <button id="email-button" class="theme-toggle"> |
| 578 | + <span class="email-icon">📧</span> |
| 579 | + <span class="email-text">Contact</span> |
| 580 | + </button> |
561 | 581 | <button id="theme-toggle" class="theme-toggle"> |
562 | 582 | <span class="theme-icon">🌙</span> |
563 | 583 | <span class="theme-text">Dark Mode</span> |
|
585 | 605 | </div> |
586 | 606 | </div> |
587 | 607 | <div class="input-section"> |
588 | | - <textarea id="text-input" placeholder="Type a message... (Shift+Enter for new line)"></textarea> |
| 608 | + <textarea id="text-input" placeholder="Type a message... (Markdown/LaTeX/code highlighting Supported. Shift+Enter for new line)"></textarea> |
589 | 609 | <button id="interrupt-button" class="btn btn-icon" style="display: none;">⏹️</button> |
590 | 610 | <button id="audio-button" class="btn btn-icon">🎤</button> |
591 | 611 | <button id="image-button" class="btn btn-icon">📷</button> |
|
1167 | 1187 | historyPanel.classList.remove('expanded'); |
1168 | 1188 | } |
1169 | 1189 |
|
1170 | | - |
| 1190 | + document.getElementById('email-button').addEventListener('click', function() { |
| 1191 | + window.open('mailto:[email protected]', '_blank'); |
| 1192 | + }); |
| 1193 | + |
1171 | 1194 | document.getElementById('interrupt-button').addEventListener('click', function() { |
1172 | 1195 | if (isInterrupted) { |
1173 | 1196 | const message = document.getElementById('text-input').value; |
|
0 commit comments