diff --git a/web/src/views/WebClient.vue b/web/src/views/WebClient.vue index c3223c4..218c54a 100644 --- a/web/src/views/WebClient.vue +++ b/web/src/views/WebClient.vue @@ -10,7 +10,7 @@ {{ t('browserWorkspace') }} -
{{ t('secureGateway') }}
{{ t('githubRepository') }}v{{ appVersion }}{{ t('viewChangelog') }}{{ t('adminConsole') }}
+
{{ t('secureGateway') }}
{{ t('githubRepository') }}B{{ t('bilibiliProfile') }}v{{ appVersion }}{{ t('viewChangelog') }}{{ t('adminConsole') }}
@@ -408,6 +408,7 @@ const translations: Record> = { enterVoice: "进入语音空间", connectionAuthorized: "连接信息仅用于本次语音会话", githubRepository: "GitHub 仓库", + bilibiliProfile: "Bilibili 个人空间", browserSupport: "Chrome / Edge 94+", teamSpeakClient: "TeamSpeak 浏览器客户端", home: "首页", @@ -625,6 +626,7 @@ const translations: Record> = { enterVoice: "Enter voice space", connectionAuthorized: "Connection details are used only for this voice session", githubRepository: "GitHub repository", + bilibiliProfile: "Bilibili profile", browserSupport: "Chrome / Edge 94+", teamSpeakClient: "TeamSpeak browser client", home: "Home", @@ -1931,4 +1933,18 @@ function stopWhisperTalk(): void { .join-content { gap: 18px; } .join-card { padding-inline: 15px; } } + +.bilibili-button { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 10px; color: #e56b91; background: #fff0f5; border: 1px solid #f6d2df; border-radius: 8px; font-size: 11px; font-weight: 800; text-decoration: none; transition: .18s; } +.bilibili-button:hover { color: #fff; background: #e56b91; border-color: #e56b91; box-shadow: 0 7px 16px rgba(229,107,145,.2); transform: translateY(-1px); } +.bilibili-glyph { display: grid; place-items: center; width: 18px; height: 18px; color: #fff; background: #e56b91; border-radius: 5px; font-size: 11px; line-height: 1; } +.bilibili-button:hover .bilibili-glyph { color: #e56b91; background: #fff; } + +@media (max-width: 740px) { + .bilibili-button { width: 32px; min-width: 32px; min-height: 32px; justify-content: center; padding: 0; } + .bilibili-button .bilibili-label { display: none; } +} + +@media (max-width: 390px) { + .join-page .bilibili-button { width: 32px; min-width: 32px; min-height: 32px; height: 32px; } +}