Skip to content

Commit d0d8118

Browse files
author
steven
committed
1. email/github added to ui.
1 parent 6be2ee5 commit d0d8118

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

ailice/ui/templates/index.html

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,20 @@
119119
padding: 0 16px;
120120
z-index: 1000;
121121
}
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+
}
122136
.menu-logo {
123137
height: 24px;
124138
width: 24px;
@@ -554,10 +568,16 @@
554568
<body>
555569
<div class="menubar">
556570
<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>
558574
<span class="app-title">Ailice</span>
559575
</div>
560576
<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>
561581
<button id="theme-toggle" class="theme-toggle">
562582
<span class="theme-icon">🌙</span>
563583
<span class="theme-text">Dark Mode</span>
@@ -585,7 +605,7 @@
585605
</div>
586606
</div>
587607
<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>
589609
<button id="interrupt-button" class="btn btn-icon" style="display: none;">⏹️</button>
590610
<button id="audio-button" class="btn btn-icon">🎤</button>
591611
<button id="image-button" class="btn btn-icon">📷</button>
@@ -1167,7 +1187,10 @@
11671187
historyPanel.classList.remove('expanded');
11681188
}
11691189

1170-
1190+
document.getElementById('email-button').addEventListener('click', function() {
1191+
window.open('mailto:[email protected]', '_blank');
1192+
});
1193+
11711194
document.getElementById('interrupt-button').addEventListener('click', function() {
11721195
if (isInterrupted) {
11731196
const message = document.getElementById('text-input').value;

0 commit comments

Comments
 (0)