From d5071d90ceccc034cfdad29415fd639f9381c086 Mon Sep 17 00:00:00 2001 From: Guilherme Rodz Date: Mon, 19 Feb 2024 16:15:17 -0300 Subject: [PATCH] chore(website): disable vfx temporarily --- .../src/app/(pages)/(home)/_components/showcase.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/website/src/app/(pages)/(home)/_components/showcase.tsx b/website/src/app/(pages)/(home)/_components/showcase.tsx index 8f00f02..6fdd3c4 100644 --- a/website/src/app/(pages)/(home)/_components/showcase.tsx +++ b/website/src/app/(pages)/(home)/_components/showcase.tsx @@ -7,9 +7,9 @@ import dynamic from 'next/dynamic' import { OTPInput, REGEXP_ONLY_DIGITS } from 'input-otp' import { cn } from '@/lib/utils' -const DynamicConfetti = dynamic(() => - import('./confetti').then(m => m.Confetti), -) +// const DynamicConfetti = dynamic(() => +// import('./confetti').then(m => m.Confetti), +// ) export function Showcase({ className, ...props }: { className?: string }) { const [value, setValue] = React.useState('12') @@ -23,7 +23,7 @@ export function Showcase({ className, ...props }: { className?: string }) { React.useEffect(() => { const t1 = setTimeout(() => { setDisabled(false) - }, 2_400) + }, 1_900) const t2 = setTimeout(() => { inputRef.current?.focus() }, 2_500) @@ -73,12 +73,12 @@ export function Showcase({ className, ...props }: { className?: string }) { <> {preloadConfetti === 1 && (
- + {/* */}
)} {hasGuessed && (
- + {/* */}
)}