Skip to content

Commit

Permalink
chore(website): change vfx
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermerodz committed Feb 19, 2024
1 parent 0a50eb9 commit 305a6c7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions website/src/app/(pages)/(home)/_components/confetti.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import Fireworks from 'react-canvas-confetti/dist/presets/fireworks'
import VFX from 'react-canvas-confetti/dist/presets/explosion'

export function Confetti() {
return <Fireworks autorun={{ speed: 1 }} />
return (
<VFX
autorun={{ speed: 1 }}
globalOptions={{ disableForReducedMotion: true }}
/>
)
}

0 comments on commit 305a6c7

Please sign in to comment.