valaxy-theme-yun 0.16.0 → 0.16.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,10 +5,11 @@ const runtimeConfig = useRuntimeConfig()
5
5
  </script>
6
6
 
7
7
  <template>
8
- <YunCard w="full" p="4" class="comment sm:p-6 lg:px-12 xl:px-16">
8
+ <YunCard w="full" p="4" class="comment yun-comment sm:p-6 lg:px-12 xl:px-16">
9
9
  <ClientOnly>
10
10
  <YunWaline v-if="runtimeConfig.addons['valaxy-addon-waline']" />
11
11
  <YunTwikoo v-if="runtimeConfig.addons['valaxy-addon-twikoo']" />
12
+ <slot />
12
13
  </ClientOnly>
13
14
  </YunCard>
14
15
  </template>
@@ -15,9 +15,9 @@ const isThisYear = computed(() => {
15
15
  return year === themeConfig.value.footer.since
16
16
  })
17
17
 
18
- const poweredHtml = computed(() => t('footer.powered', [`<a href="${pkg.repository}" target="_blank" rel="noopener">Valaxy</a> v${pkg.version}`]))
18
+ const poweredHtml = computed(() => t('footer.powered', [`<a href="${pkg.repository.url}" target="_blank" rel="noopener">Valaxy</a> v${pkg.version}`]))
19
19
  const footerIcon = computed(() => themeConfig.value.footer.icon || {
20
- url: pkg.repository,
20
+ url: pkg.repository.url,
21
21
  name: 'i-ri-cloud-line',
22
22
  title: pkg.name,
23
23
  })
@@ -44,7 +44,9 @@ const footerIcon = computed(() => themeConfig.value.footer.icon || {
44
44
  v-if="themeConfig.footer.icon?.enable"
45
45
  class="inline-flex"
46
46
  :class="themeConfig.footer.icon.animated ? 'animate-pulse' : ''"
47
- :href="footerIcon.url" target="_blank" :title="footerIcon.title"
47
+ :href="footerIcon.url"
48
+ target="_blank"
49
+ :title="footerIcon.title"
48
50
  >
49
51
  <div :class="footerIcon.name" />
50
52
  </a>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valaxy-theme-yun",
3
- "version": "0.16.0",
3
+ "version": "0.16.2",
4
4
  "author": {
5
5
  "email": "me@yunyoujun.cn",
6
6
  "name": "YunYouJun",
@@ -19,12 +19,12 @@
19
19
  "dependencies": {
20
20
  "@explosions/fireworks": "^0.0.2",
21
21
  "@iconify-json/ant-design": "^1.1.13",
22
- "@iconify-json/simple-icons": "^1.1.84",
22
+ "@iconify-json/simple-icons": "^1.1.85",
23
23
  "animejs": "^3.2.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/animejs": "^3.1.12",
27
- "valaxy": "0.16.0",
28
- "valaxy-addon-waline": "0.1.1"
27
+ "valaxy-addon-waline": "0.1.1",
28
+ "valaxy": "0.16.2"
29
29
  }
30
30
  }