Skip to content

Commit

Permalink
chore: add bilibili official account
Browse files Browse the repository at this point in the history
  • Loading branch information
tiny-craft committed May 21, 2024
1 parent a2b0fc1 commit 152fbe9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ wails dev

<img src="docs/images/wechat_official.png" alt="wechat" width="360" />

### B站官方账号

<img src="docs/images/bilibili_official.png" alt="bilibili" width="360" />

### 独立开发互助QQ群

```
Expand Down
Binary file added docs/images/bilibili_official.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/images/bilibili_official.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion frontend/src/components/sidebar/Ribbon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { extraTheme } from '@/utils/extra_theme.js'
import useBrowserStore from 'stores/browser.js'
import { useRender } from '@/utils/render.js'
import wechatUrl from '@/assets/images/wechat_official.png'
import bilibiliUrl from '@/assets/images/bilibili_official.png'
import QRCode from '@/components/icons/QRCode.vue'
import Twitter from '@/components/icons/Twitter.vue'
import { trackEvent } from '@/utils/analytics.js'
Expand Down Expand Up @@ -201,7 +202,10 @@ const exThemeVars = computed(() => {

<!-- wechat official modal -->
<n-modal v-model:show="showWechat" close-on-esc mask-closable transform-origin="center">
<n-image :src="wechatUrl" :width="400" preview-disabled />
<n-flex vertical>
<n-image :src="wechatUrl" :width="400" preview-disabled />
<n-image :src="bilibiliUrl" :width="400" preview-disabled />
</n-flex>
</n-modal>
</div>
</template>
Expand Down

0 comments on commit 152fbe9

Please sign in to comment.