2 lines
1.6 KiB
JavaScript
2 lines
1.6 KiB
JavaScript
import{g as e,S as r,d as s,u as t,j as o,H as n}from"./index-35672308.js";import{r as i}from"./vendor-c65bce76.js";import"./ui-2d515953.js";import"./utils-faf49605.js";import"./editor-e98c3426.js";e.registerPlugin(r,s);const a=()=>{const a=t(),l=i.useRef(null),c=i.useRef(null),u=i.useRef(null);return i.useEffect((()=>{const t=s.create(l.current,{type:"words,lines",linesClass:"split-line"});return e.set(l.current,{opacity:1}),e.fromTo(t.lines,{yPercent:100,opacity:0},{yPercent:0,opacity:1,duration:1,stagger:.1,ease:"expo.out",delay:.2,scrollTrigger:{trigger:l.current,start:"top 80%",toggleActions:"play none none reverse"}}),e.fromTo(c.current,{opacity:0,y:30},{opacity:1,y:0,duration:1.2,delay:.3,ease:"expo.out",scrollTrigger:{trigger:c.current,start:"top 85%",toggleActions:"play none none reverse"}}),e.fromTo(u.current,{opacity:0,y:30,scale:.9},{opacity:1,y:0,scale:1,duration:1.2,delay:.6,ease:"expo.out",scrollTrigger:{trigger:u.current,start:"top 85%",toggleActions:"play none none reverse"}}),()=>{r.getAll().forEach((e=>e.kill()))}}),[]),o.jsxs("div",{className:"Creators-Master",children:[o.jsxs("div",{ref:l,children:["Smarter, Simpler, and ",o.jsx("br",{}),"Personalized. Partner with us ",o.jsx("br",{}),"and we will help transform your Business operations efficiently"]}),o.jsx("p",{ref:c,children:"Streamline your business with AI-powered solutions"}),o.jsxs("button",{className:"Insiders-btn",ref:u,onClick:()=>a("/signin"),children:["Experience Now",o.jsxs("div",{className:"icon-container",children:[o.jsx(n,{className:"icon-main"}),o.jsx(n,{className:"icon-hover"})]})]})]})};export{a as default};
|