Updated main branch
This commit is contained in:
parent
0bf9b15769
commit
9a3987bc1e
54 changed files with 3940 additions and 2 deletions
12
Website/docs/.vitepress/theme/components/Confetti.vue
Normal file
12
Website/docs/.vitepress/theme/components/Confetti.vue
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<script setup lang="ts">
|
||||
import confetti from 'canvas-confetti'
|
||||
|
||||
const media = window.matchMedia('(prefers-reduced-motion: reduce)')
|
||||
if (!media.matches) {
|
||||
confetti({
|
||||
particleCount: 100,
|
||||
spread: 170,
|
||||
origin: { y: 0.6 },
|
||||
})
|
||||
}
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue