- //
+ const eventrowRef: any = useRef(null);
+
+ useGSAP(
+ () => {
+ const tl = gsap.timeline();
- // EVENTS
- //
- // handleSelect("dance")}
- // >
- // Dance
- //
- // handleSelect("music")}
- // >
- // Music
- //
- // handleSelect("quizzes")}
- // >
- // Quizzes
- //
- // handleSelect("photography")}
- // >
- // Photography
- //
- // handleSelect("drama")}
- // >
- // Drama
- //
- // handleSelect("fashion")}
- // >
- // Fashion
- //
+ // if(eventrowRef)
- //
- //
- //
+ tl.from(eventrowRef.current.children[0], {
+ scale: 0,
+ duration: 0.5,
+ ease: "power2.out",
+ delay: 0.5,
+ })
+ .from(
+ eventrowRef.current.children[1],
+ {
+ scale: 0,
+ duration: 0.5,
+ ease: "power2.out",
+ },
+ "-=0.25"
+ )
+ .from(
+ eventrowRef.current.children[2],
+ {
+ scale: 0,
+ duration: 0.5,
+ ease: "power2.out",
+ },
+ "-=0.25"
+ )
+ .from(
+ eventrowRef.current.children[3],
+ {
+ scale: 0,
+ duration: 0.5,
+ ease: "power2.out",
+ },
+ "-=0.25"
+ )
+ .from(
+ eventrowRef.current.children[4],
+ {
+ scale: 0,
+ duration: 0.5,
+ ease: "power2.out",
+ },
+ "-=0.25"
+ )
+ .from(
+ eventrowRef.current.children[5],
+ {
+ scale: 0,
+ duration: 0.5,
+ ease: "power2.out",
+ },
+ "-=0.25"
+ );
+ },
+ { dependencies: [] }
+ );
- // {isModalOpen && (
- // Please select a category
- //
- //
- //
- // )}
- //