Skip to content

Commit

Permalink
feat: v4.49.2
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed Oct 3, 2024
1 parent 1aeccc1 commit d000e5e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "surmon.me",
"version": "4.49.1",
"version": "4.49.2",
"description": "Surmon.me blog",
"author": "Surmon",
"license": "MIT",
Expand Down
7 changes: 3 additions & 4 deletions src/config/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ export const IDENTITIES = Object.freeze({
MUSIC_163_BGM_ALBUM_ID: '638949385',
DOUBAN_USER_ID: '56647958',
GITHUB_USER_NAME: 'surmon-china',
INSTAGRAM_USERNAME: 'surmon666',
THREADS_USER_NAME: 'surmon666',
INSTAGRAM_USERNAME: 'surmon_sattva',
BTC_ADDRESS: 'bc1qhpdu03tnexkj4xsm3lqzyjdddz6z0rj2n7fsze',
ETH_ADDRESS: '0xaD556974D449126efdeF23f4FF581861C301cB77'
})
Expand Down Expand Up @@ -77,6 +76,6 @@ export const VALUABLE_LINKS = Object.freeze({
DOUBAN_MOVIE: `https://movie.douban.com/people/nocower/collect`,
LINKEDIN: 'https://www.linkedin.com/in/surmon',
INSTAGRAM: `https://www.instagram.com/${IDENTITIES.INSTAGRAM_USERNAME}`,
THREADS: `https://www.threads.net/@${IDENTITIES.THREADS_USER_NAME}`,
THREADS_FOLLOW: `https://www.threads.net/intent/follow?username=${IDENTITIES.THREADS_USER_NAME}`
THREADS: `https://www.threads.net/@${IDENTITIES.INSTAGRAM_USERNAME}`,
THREADS_FOLLOW: `https://www.threads.net/intent/follow?username=${IDENTITIES.INSTAGRAM_USERNAME}`
})
10 changes: 5 additions & 5 deletions src/pages/about/desktop/statistic/threads.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@
</i18n>
</p>
<p>
<i class="iconfont icon-heart"></i>
<span v-if="isZhLang">收获了</span>
<statistic-count large primary split :count="store.data?.totalLikes || '-'" />
<span v-if="isZhLang">次喜欢</span>
<span v-else>likes</span>
<i class="iconfont icon-threads"></i>
<span v-if="isZhLang">发布了</span>
<statistic-count large primary split count="NaN" />
<span v-if="isZhLang">篇帖子</span>
<span v-else>threads</span>
</p>
<p>
<i class="iconfont icon-follower"></i>
Expand Down
8 changes: 2 additions & 6 deletions src/pages/snippets/desktop/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,10 @@
<webfont><i18n v-bind="i18nTitle" /></webfont>
</template>
<template #description>
<ulink :href="VALUABLE_LINKS.THREADS" class="link">
<i class="iconfont icon-threads"></i>
Threads
</ulink>
<ulink :href="VALUABLE_LINKS.THREADS" class="link"><i class="iconfont icon-threads"></i> Threads</ulink>
<divider type="vertical" size="lg" color="#ffffffcc" />
<ulink :href="VALUABLE_LINKS.ZHIHU" class="link">
<i class="iconfont icon-zhihu"></i>
Zhihu.com
<i class="iconfont icon-zhihu-full"></i> zhihu.com
</ulink>
</template>
</page-banner>
Expand Down
12 changes: 10 additions & 2 deletions src/pages/snippets/mobile/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,14 @@
<div class="snippets-content">
<div class="statistics">
<ulink class="item" :href="VALUABLE_LINKS.THREADS_FOLLOW">
<i class="iconfont icon-threads"></i> Threads
<i class="iconfont icon-threads"></i>
<strong>Threads</strong>
</ulink>
<divider type="vertical" />
<ulink class="item" :href="VALUABLE_LINKS.ZHIHU"><i class="iconfont icon-zhihu"></i> Zhihu.com</ulink>
<ulink class="item" :href="VALUABLE_LINKS.ZHIHU">
<i class="iconfont icon-zhihu"></i>
<strong>zhihu.com</strong>
</ulink>
</div>
<ul class="cards">
<li class="item" v-for="(media, index) in allMedias" :key="index" data-allow-mismatch>
Expand Down Expand Up @@ -138,6 +142,10 @@
flex: 1;
text-align: center;
font-size: $font-size-h3;
.iconfont {
margin-right: $gap-xs;
}
}
}
Expand Down

0 comments on commit d000e5e

Please sign in to comment.