|
17 | 17 | </div> |
18 | 18 | </div> |
19 | 19 | <div class="flex items-center gap-2"> |
| 20 | + <a href="https://github.com/simpleyyt/ai-manus" |
| 21 | + target="_blank" |
| 22 | + class="items-center justify-center whitespace-nowrap font-medium transition-colors hover:opacity-90 active:opacity-80 px-[12px] gap-[6px] text-sm min-w-16 outline outline-1 -outline-offset-1 hover:bg-[var(--fill-tsp-white-light)] text-[var(--text-primary)] outline-[var(--border-btn-main)] bg-transparent clickable hidden sm:flex rounded-[100px] relative h-[32px] group" |
| 23 | + title="Visit GitHub Repository"> |
| 24 | + <Github class="size-[18px]" /> |
| 25 | + GitHub |
| 26 | + </a> |
20 | 27 | <div class="relative flex items-center" aria-expanded="false" aria-haspopup="dialog" |
21 | | - @mouseenter="handleUserMenuEnter" |
22 | | - @mouseleave="handleUserMenuLeave"> |
| 28 | + @mouseenter="handleUserMenuEnter" @mouseleave="handleUserMenuLeave"> |
23 | 29 | <div class="relative flex items-center justify-center font-bold cursor-pointer flex-shrink-0"> |
24 | 30 | <div |
25 | 31 | class="relative flex items-center justify-center font-bold flex-shrink-0 rounded-full overflow-hidden" |
26 | 32 | style="width: 32px; height: 32px; font-size: 16px; color: rgba(255, 255, 255, 0.9); background-color: rgb(59, 130, 246);"> |
27 | 33 | {{ avatarLetter }}</div> |
28 | 34 | </div> |
29 | 35 | <!-- User Menu --> |
30 | | - <div v-if="showUserMenu" |
31 | | - @mouseenter="handleUserMenuEnter" |
32 | | - @mouseleave="handleUserMenuLeave" |
33 | | - class="absolute top-full right-0 mt-1 mr-[-15px] z-50"> |
| 36 | + <div v-if="showUserMenu" @mouseenter="handleUserMenuEnter" @mouseleave="handleUserMenuLeave" |
| 37 | + class="absolute top-full right-0 mt-1 mr-[-15px] z-50"> |
34 | 38 | <UserMenu /> |
35 | 39 | </div> |
36 | 40 | </div> |
@@ -71,7 +75,7 @@ import { useI18n } from 'vue-i18n'; |
71 | 75 | import ChatBox from '../components/ChatBox.vue'; |
72 | 76 | import { createSession } from '../api/agent'; |
73 | 77 | import { showErrorToast } from '../utils/toast'; |
74 | | -import { Bot, PanelLeft } from 'lucide-vue-next'; |
| 78 | +import { Bot, PanelLeft, Github } from 'lucide-vue-next'; |
75 | 79 | import ManusLogoTextIcon from '../components/icons/ManusLogoTextIcon.vue'; |
76 | 80 | import type { FileInfo } from '../api/file'; |
77 | 81 | import { useLeftPanel } from '../composables/useLeftPanel'; |
|
0 commit comments