valaxy-theme-yun 0.26.12 → 0.26.13
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.
- package/components/YunFooter.vue +4 -3
- package/package.json +4 -4
package/components/YunFooter.vue
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
+
import { normalizeRepositoryUrl } from '@valaxyjs/utils'
|
|
2
3
|
import { useSiteConfig, useValaxyConfig, useValaxyDark, useValaxyI18n } from 'valaxy'
|
|
3
4
|
import pkg from 'valaxy/package.json' with { type: 'json' }
|
|
4
5
|
import { capitalize, computed } from 'vue'
|
|
@@ -31,9 +32,9 @@ const isThisYear = computed(() => {
|
|
|
31
32
|
return year === themeConfig.value.footer.since
|
|
32
33
|
})
|
|
33
34
|
|
|
34
|
-
const poweredHtml = computed(() => t('footer.powered', [`<a href="${pkg.repository.url}" target="_blank" rel="noopener">Valaxy</a> <span class="op-60">v${pkg.version}</span>`]))
|
|
35
|
+
const poweredHtml = computed(() => t('footer.powered', [`<a href="${normalizeRepositoryUrl(pkg.repository.url)}" target="_blank" rel="noopener">Valaxy</a> <span class="op-60">v${pkg.version}</span>`]))
|
|
35
36
|
const footerIcon = computed(() => themeConfig.value.footer.icon || {
|
|
36
|
-
url: pkg.repository.url,
|
|
37
|
+
url: normalizeRepositoryUrl(pkg.repository.url),
|
|
37
38
|
name: 'i-ri-cloud-line',
|
|
38
39
|
title: pkg.name,
|
|
39
40
|
})
|
|
@@ -82,7 +83,7 @@ const footerIcon = computed(() => themeConfig.value.footer.icon || {
|
|
|
82
83
|
<span>
|
|
83
84
|
<span>{{ t('footer.theme') }}</span>
|
|
84
85
|
<span mx-1>-</span>
|
|
85
|
-
<a :href="themeConfig.pkg.repository.url" :title="themeConfig.pkg.name" target="_blank">{{ capitalize(config.theme) }}</a>
|
|
86
|
+
<a :href="normalizeRepositoryUrl(themeConfig.pkg.repository.url)" :title="themeConfig.pkg.name" target="_blank">{{ capitalize(config.theme) }}</a>
|
|
86
87
|
<span class="ml-1 op-60">v{{ themeConfig.pkg.version }}</span>
|
|
87
88
|
</span>
|
|
88
89
|
</div>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "valaxy-theme-yun",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.26.
|
|
4
|
+
"version": "0.26.13",
|
|
5
5
|
"author": {
|
|
6
6
|
"email": "me@yunyoujun.cn",
|
|
7
7
|
"name": "YunYouJun",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"@ctrl/tinycolor": "^4.2.0",
|
|
26
26
|
"@explosions/fireworks": "^0.2.0",
|
|
27
27
|
"@iconify-json/ant-design": "^1.2.5",
|
|
28
|
-
"@iconify-json/simple-icons": "^1.2.
|
|
28
|
+
"@iconify-json/simple-icons": "^1.2.67",
|
|
29
29
|
"@vueuse/motion": "^3.0.3",
|
|
30
|
-
"animejs": "^4.
|
|
30
|
+
"animejs": "^4.3.5",
|
|
31
31
|
"gsap": "^3.14.2",
|
|
32
32
|
"primevue": "^4.5.4"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/animejs": "^3.1.13",
|
|
36
|
-
"valaxy": "0.26.
|
|
36
|
+
"valaxy": "0.26.13",
|
|
37
37
|
"valaxy-addon-waline": "0.2.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|