valaxy-theme-yun 0.14.4 → 0.14.6

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/layouts/home.vue CHANGED
@@ -15,7 +15,7 @@ const themeConfig = useThemeConfig()
15
15
  </slot>
16
16
  </ValaxySidebar>
17
17
 
18
- <YunBanner />
18
+ <YunBanner v-if="themeConfig.banner.enable" />
19
19
  <YunSay v-if="themeConfig.say.enable" w="full" />
20
20
  <YunNotice
21
21
  v-if="themeConfig.notice.enable"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valaxy-theme-yun",
3
- "version": "0.14.4",
3
+ "version": "0.14.6",
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.4"
25
+ "valaxy": "0.14.6"
26
26
  }
27
27
  }
@@ -1,25 +0,0 @@
1
- <script lang="ts" setup>
2
- import { useRouter } from 'vue-router'
3
- import { useI18n } from 'vue-i18n'
4
-
5
- const router = useRouter()
6
- const { t } = useI18n()
7
- </script>
8
-
9
- <template>
10
- <Layout>
11
- <template #content>
12
- <div text="center">
13
- <div text-4xl>
14
- <div i-ri-alarm-warning-line inline-block />
15
- </div>
16
- <router-view />
17
- <div>
18
- <button btn text-sm m="3 t8" @click="router.back()">
19
- {{ t('button.back') }}
20
- </button>
21
- </div>
22
- </div>
23
- </template>
24
- </Layout>
25
- </template>