Skip to content

Commit d5071d9

Browse files
committed
chore(website): disable vfx temporarily
1 parent 8cbe06e commit d5071d9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

website/src/app/(pages)/(home)/_components/showcase.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import dynamic from 'next/dynamic'
77
import { OTPInput, REGEXP_ONLY_DIGITS } from 'input-otp'
88
import { cn } from '@/lib/utils'
99

10-
const DynamicConfetti = dynamic(() =>
11-
import('./confetti').then(m => m.Confetti),
12-
)
10+
// const DynamicConfetti = dynamic(() =>
11+
// import('./confetti').then(m => m.Confetti),
12+
// )
1313

1414
export function Showcase({ className, ...props }: { className?: string }) {
1515
const [value, setValue] = React.useState('12')
@@ -23,7 +23,7 @@ export function Showcase({ className, ...props }: { className?: string }) {
2323
React.useEffect(() => {
2424
const t1 = setTimeout(() => {
2525
setDisabled(false)
26-
}, 2_400)
26+
}, 1_900)
2727
const t2 = setTimeout(() => {
2828
inputRef.current?.focus()
2929
}, 2_500)
@@ -73,12 +73,12 @@ export function Showcase({ className, ...props }: { className?: string }) {
7373
<>
7474
{preloadConfetti === 1 && (
7575
<div className="hidden">
76-
<DynamicConfetti />
76+
{/* <DynamicConfetti /> */}
7777
</div>
7878
)}
7979
{hasGuessed && (
8080
<div className="fixed inset-0 z-50 pointer-events-none motion-reduce:hidden">
81-
<DynamicConfetti />
81+
{/* <DynamicConfetti /> */}
8282
</div>
8383
)}
8484

0 commit comments

Comments
 (0)