import { useEffect } from "react"; import { gsap } from "gsap"; import { ScrollTrigger } from "@/plugins"; import FeatureIcon1 from "../../../public/assets/imgs/feature/icon/1.png"; import FeatureIcon2 from "../../../public/assets/imgs/feature/icon/2.png"; import FeatureIcon3 from "../../../public/assets/imgs/feature/icon/3.png"; import FeatureIcon4 from "../../../public/assets/imgs/feature/icon/4.png"; import Image from "next/image"; gsap.registerPlugin(ScrollTrigger); const DesignStudioFeature = () => { useEffect(() => { if (typeof window !== "undefined") { let device_width = window.innerWidth; setTimeout(() => { let tHero = gsap.context(() => { let animation__feature2 = gsap.utils.toArray( ".animation__feature2 .feature__item" ); if (device_width < 1023) { animation__feature2.forEach((item, i) => { gsap.set(item, { opacity: 0, y: 60 }); let featured2Timeline = gsap.timeline({ scrollTrigger: { trigger: item, start: "top center+=200", }, }); featured2Timeline.to(item, { opacity: 1, y: 0, duration: 1.5, ease: "power4.out", }); }); } else { gsap.set(".animation__feature2 .feature__item", { opacity: 0, y: 40, }); gsap.to(".animation__feature2 .feature__item", { scrollTrigger: { trigger: ".animation__feature2", start: "top center+=200", }, opacity: 1, y: 0, duration: 2, ease: "power4.out", stagger: 0.3, }); } }); return () => tHero.revert(); }, 1000); } }, []); return ( <>

Features are more helpful to create creative shapes as well.

We are constantly rethinking the future by creating the next generation of products, brands and services from a hybrid perspective. The unthinkable today becomes inevitable.

Feature Icon

Branding

Having these marketplace to your branded skilled team of designers and developers who embracement perfection.

Feature Icon

Optimum

Brand identity design a the key to success whether you breath rebranding an existing business or creating a business

Feature Icon

Thinking

Creative typography plays the big role to pull off this trending more effectively with the thinking use a thicker point

Feature Icon

Execution

Stricky with multiple shades of the colours. However, this type of alone can look awesome forever an online business

); }; export default DesignStudioFeature;