valaxy-theme-yun 0.28.0-beta.7 → 0.28.1
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/App.vue +1 -3
- package/components/YunPostMeta.vue +2 -2
- package/package.json +3 -3
- package/pages/posts/index.vue +0 -1
- package/components/YunDebug.vue +0 -51
package/App.vue
CHANGED
|
@@ -55,14 +55,12 @@ onMounted(() => {
|
|
|
55
55
|
document.documentElement.style.setProperty('--vh', `${window.innerHeight * 0.01}px`)
|
|
56
56
|
app.showLoading = false
|
|
57
57
|
})
|
|
58
|
-
|
|
59
|
-
const isDev = import.meta.env.DEV
|
|
60
58
|
</script>
|
|
61
59
|
|
|
62
60
|
<template>
|
|
63
61
|
<TooltipProvider>
|
|
64
62
|
<YunStratoApp v-if="yun.isStrato" />
|
|
65
|
-
<
|
|
63
|
+
<ValaxyDebug />
|
|
66
64
|
|
|
67
65
|
<YunPageHeaderGradient />
|
|
68
66
|
<YunNavMenu />
|
|
@@ -3,8 +3,6 @@ import type { Post } from 'valaxy'
|
|
|
3
3
|
import { useSiteConfig } from 'valaxy'
|
|
4
4
|
import { useI18n } from 'vue-i18n'
|
|
5
5
|
|
|
6
|
-
// @TODO: add edit by vscode directly when dev
|
|
7
|
-
|
|
8
6
|
defineProps<{
|
|
9
7
|
// FrontMatter
|
|
10
8
|
frontmatter: Post
|
|
@@ -54,6 +52,8 @@ const siteConfig = useSiteConfig()
|
|
|
54
52
|
</div>
|
|
55
53
|
|
|
56
54
|
<YunWalineMeta />
|
|
55
|
+
|
|
56
|
+
<ValaxyOpenInEditor />
|
|
57
57
|
</div>
|
|
58
58
|
</div>
|
|
59
59
|
</template>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "valaxy-theme-yun",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.28.
|
|
4
|
+
"version": "0.28.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"email": "me@yunyoujun.cn",
|
|
7
7
|
"name": "YunYouJun",
|
|
@@ -25,7 +25,7 @@
|
|
|
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.75",
|
|
29
29
|
"@vueuse/motion": "^3.0.3",
|
|
30
30
|
"animejs": "^4.3.6",
|
|
31
31
|
"gsap": "^3.14.2",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/animejs": "^3.1.13",
|
|
36
|
-
"valaxy": "0.28.
|
|
36
|
+
"valaxy": "0.28.1",
|
|
37
37
|
"valaxy-addon-waline": "0.2.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
package/pages/posts/index.vue
CHANGED
package/components/YunDebug.vue
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { computed, ref } from 'vue'
|
|
3
|
-
import { useYunAppStore } from '../stores'
|
|
4
|
-
|
|
5
|
-
const yun = useYunAppStore()
|
|
6
|
-
|
|
7
|
-
const infoList = computed(() => {
|
|
8
|
-
return [
|
|
9
|
-
{
|
|
10
|
-
label: 'xs',
|
|
11
|
-
value: yun.size.isXs,
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
label: 'sm',
|
|
15
|
-
value: yun.size.isSm,
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
label: 'md',
|
|
19
|
-
value: yun.size.isMd,
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
label: 'lg',
|
|
23
|
-
value: yun.size.isLg,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
label: 'xl',
|
|
27
|
-
value: yun.size.isXl,
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
label: '2xl',
|
|
31
|
-
value: yun.size.is2xl,
|
|
32
|
-
},
|
|
33
|
-
]
|
|
34
|
-
})
|
|
35
|
-
|
|
36
|
-
const show = ref(true)
|
|
37
|
-
</script>
|
|
38
|
-
|
|
39
|
-
<template>
|
|
40
|
-
<div
|
|
41
|
-
v-if="show"
|
|
42
|
-
class="bg-black/50 fixed bottom-20 left-2 p-2 gap-1 rounded z-9999"
|
|
43
|
-
text="xs white" flex="~ col"
|
|
44
|
-
@click="show = false"
|
|
45
|
-
>
|
|
46
|
-
<div v-for="item in infoList" :key="item.label" class="gap-2 inline-flex">
|
|
47
|
-
<span class="w-6" font="bold">{{ item.label }}: </span>
|
|
48
|
-
<span>{{ item.value ? '✅' : '❌' }}</span>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</template>
|