valaxy-theme-yun 0.20.0-beta.6 → 0.20.0-beta.8

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,12 @@ const showNotice = computed(() => {
15
15
  </script>
16
16
 
17
17
  <template>
18
- <YunLayoutWrapper class="items-center mt-0! flex-col">
18
+ <YunLayoutWrapper
19
+ class="items-center flex-col"
20
+ :class="{
21
+ 'mt-0!': !isPage,
22
+ }"
23
+ >
19
24
  <template v-if="!isPage">
20
25
  <YunBanner />
21
26
  <YunSay v-if="themeConfig.say.enable" w="full" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valaxy-theme-yun",
3
- "version": "0.20.0-beta.6",
3
+ "version": "0.20.0-beta.8",
4
4
  "author": {
5
5
  "email": "me@yunyoujun.cn",
6
6
  "name": "YunYouJun",
@@ -1,5 +1,6 @@
1
1
  import { gsap } from 'gsap'
2
- import ScrollToPlugin from 'gsap/dist/ScrollToPlugin'
2
+ // use it for esm
3
+ import ScrollToPlugin from 'gsap/ScrollToPlugin'
3
4
 
4
5
  gsap.registerPlugin(ScrollToPlugin)
5
6