valaxy-theme-yun 0.14.0 → 0.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,21 +5,22 @@ import { useI18n } from 'vue-i18n'
5
5
  const { t } = useI18n()
6
6
 
7
7
  const siteConfig = useSiteConfig()
8
-
9
8
  const showQr = ref(false)
10
9
  </script>
11
10
 
12
11
  <template>
13
- <div class="yun-sponsor-container flex justify-center items-center flex-col">
14
- <button class="sponsor-button yun-icon-btn shadow hover:shadow-md" :title="t('reward.donate')" text="red-400" @click="showQr = !showQr">
12
+ <div class="yun-sponsor-container flex-center flex-col">
13
+ <button
14
+ class="sponsor-button yun-icon-btn shadow hover:shadow-md"
15
+ :title="t('reward.donate')" text="red-400" @click="showQr = !showQr"
16
+ >
15
17
  <div i-ri-heart-line />
16
18
  </button>
17
19
 
18
20
  <div class="qrcode-container qrcode flex justify-around" m="y-4" :class="showQr && 'show'">
19
21
  <a
20
22
  v-for="method, i in siteConfig.sponsor.methods" :key="i"
21
- class="flex flex-col justify-center items-center animate-iteration-1"
22
- :class="showQr && 'animate-fade-in'"
23
+ class="flex-center flex-col animate-iteration-1 animate-fade-in"
23
24
  :href="method.url" target="_blank"
24
25
  :style="`color:${method.color}`"
25
26
  >
@@ -50,7 +50,10 @@ const title = usePostTitle(frontmatter)
50
50
 
51
51
  <template #main-nav-before>
52
52
  <YunCard v-if="curCategory" class="post-collapse-container" m="t-4" w="full">
53
- <YunPageHeader :title="curCategory === 'Uncategorized' ? t('category.uncategorized') : curCategory.split('/').join(' / ')" icon="i-ri-folder-open-line" />
53
+ <YunPageHeader
54
+ :title="curCategory === 'Uncategorized' ? t('category.uncategorized') : curCategory.split('/').join(' / ')"
55
+ icon="i-ri-folder-open-line"
56
+ />
54
57
  <YunPostCollapse w="full" m="b-4" p="x-20 lt-sm:x-5" :posts="posts" />
55
58
  </YunCard>
56
59
  </template>
package/node/config.ts CHANGED
@@ -24,7 +24,7 @@ export const defaultThemeConfig: ThemeConfig = {
24
24
 
25
25
  say: {
26
26
  enable: true,
27
- api: 'https://el-bot-api.vercel.app/api/words/young',
27
+ api: 'https://el-bot-api.elpsy.cn/api/words/young',
28
28
  hitokoto: {
29
29
  enable: false,
30
30
  api: 'https://v1.hitokoto.cn',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valaxy-theme-yun",
3
- "version": "0.14.0",
3
+ "version": "0.14.2",
4
4
  "author": {
5
5
  "email": "me@yunyoujun.cn",
6
6
  "name": "YunYouJun",
@@ -22,6 +22,6 @@
22
22
  "valaxy-addon-waline": "0.0.9"
23
23
  },
24
24
  "devDependencies": {
25
- "valaxy": "0.14.0"
25
+ "valaxy": "0.14.2"
26
26
  }
27
27
  }