import { useEffect } from "react"; import { gsap } from "gsap"; import { ScrollTrigger } from "@/plugins"; import Feature41 from "../../../public/assets/imgs/feature/4/1.png"; import Feature42 from "../../../public/assets/imgs/feature/4/2.png"; import Feature43 from "../../../public/assets/imgs/feature/4/3.png"; import Feature from "../../../public/assets/imgs/feature/4/feature.jpg"; import Icon1 from "../../../public/assets/imgs/feature/4/icon-1.png"; import Icon2 from "../../../public/assets/imgs/feature/4/icon-2.png"; import Image from "next/image"; gsap.registerPlugin(ScrollTrigger); const StartupAgencyFeature = () => { useEffect(() => { if (typeof window !== "undefined") { let device_width = window.innerWidth; let tHero = gsap.context(() => { gsap.set(".fade_bottom_4", { y: 30, opacity: 0 }); if (device_width < 1023) { const fadeArray = gsap.utils.toArray(".fade_bottom_4"); fadeArray.forEach((item, i) => { let fadeTl = gsap.timeline({ scrollTrigger: { trigger: item, start: "top center+=200", }, }); fadeTl.to(item, { y: 0, opacity: 1, ease: "power2.out", duration: 1.5, }); }); } else { gsap.to(".fade_bottom_4", { scrollTrigger: { trigger: ".fade_bottom_4", start: "top center+=300", markers: false, }, y: 0, opacity: 1, ease: "power2.out", duration: 1, stagger: { each: 0.2, }, }); } }); return () => tHero.revert(); } }, []); return ( <>

Features

We handle visual
design challenges
our way.

Creativity

We are constantly rethinking the future by creating the next generation of products,{" "} brands and design features from a hybrid perspective.

Regulatory oneven an enterprises such she and the got the did attributing and pushed.

Icon Icon Icon
Features Image
Features Image
Unique Header &
Sidebar

Unique digital header widget metaverse wearables

Features Image
5+ Navigation
Bars

Content focused grid designs unique social element

); }; export default StartupAgencyFeature;