Skip to content

Commit

Permalink
fix(theme-yun): fireworks offset in safari, close #247
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Aug 20, 2023
1 parent 9f74665 commit b81f7c3
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 413 deletions.
12 changes: 6 additions & 6 deletions demo/yun/valaxy.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { addonAlgolia } from 'valaxy-addon-algolia'

import { addonTwikoo } from 'valaxy-addon-twikoo'

// import { addonWaline } from 'valaxy-addon-waline'
import { addonWaline } from 'valaxy-addon-waline'
import { addonComponents } from 'valaxy-addon-components'
import { addonLightGallery } from 'valaxy-addon-lightgallery'

Expand Down Expand Up @@ -95,11 +95,11 @@ export default defineValaxyConfig<ThemeConfig>({
indexName: 'valaxy',
}),
addonComponents(),
// addonWaline({
// serverURL: 'https://waline.yunyoujun.cn',
// pageview: true,
// comment: true,
// }),
addonWaline({
serverURL: 'https://waline.yunyoujun.cn',
pageview: true,
comment: true,
}),
addonLightGallery(),
addonTwikoo({
envId: 'https://twikoo.vercel.app',
Expand Down
2 changes: 1 addition & 1 deletion packages/valaxy-theme-yun/components/YunFireworks.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts" setup>
import { useThemeConfig } from 'valaxy'
import { onMounted } from 'vue'
import { createFireworks } from '../features/fireworks'
import { createFireworks } from '@explosions/fireworks'
const themeConfig = useThemeConfig()
Expand Down
247 changes: 0 additions & 247 deletions packages/valaxy-theme-yun/features/fireworks.ts

This file was deleted.

1 change: 1 addition & 0 deletions packages/valaxy-theme-yun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"main": "node/index.ts",
"types": "types/index.d.ts",
"dependencies": {
"@explosions/fireworks": "^0.0.2",
"@iconify-json/ant-design": "^1.1.8",
"@iconify-json/simple-icons": "^1.1.66",
"animejs": "^3.2.1",
Expand Down
Loading

2 comments on commit b81f7c3

@vercel
Copy link

@vercel vercel bot commented on b81f7c3 Aug 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://yun.valaxy.site as production
🚀 Deployed on https://64e23b557de90c7ada6c4224--valaxy.netlify.app

Please sign in to comment.