import{j as s,r as e,_ as i,h as u}from"./index-7c7a558c.js";import{B as d}from"./Breadcrumb-0d748722.js";import{a as x}from"./apiServices-e449595f.js";const g="/assets/success_story1-bd59f40c.jpg",j="/assets/success_story2-1f2e5ad4.jpg",p="/assets/success_story3-1b0202d6.jpg",h="/assets/success_story4-c58978c2.jpg",_="/assets/success_story5-17b64ede.jpg",f="/assets/success_story6-0ebbac35.jpg",b=()=>s.jsx("div",{className:"bg-mainBg py-20",children:s.jsxs("div",{className:"container mx-auto",children:[s.jsx("div",{className:"text-center py-5 pb-10",children:s.jsxs("h1",{className:"relative pt-2 section-header text-2xl md:text-4xl text-transparent bg-gradient-to-l to-main from-second bg-clip-text inline-block font-bold sm:px-10",children:[s.jsx("div",{className:"absolute w-full h-1 bg-gradient-to-l to-main from-second rounded-[50%] -bottom-2 left-0 "}),"সাক্সেস স্টোরি"]})}),s.jsxs("div",{className:"grid sm:grid-cols-3 pt-10 gap-5 px-2",children:[s.jsx("div",{children:s.jsx("img",{src:g,alt:"",className:"rounded-md"})}),s.jsx("div",{children:s.jsx("img",{src:j,alt:"",className:"rounded-md"})}),s.jsx("div",{children:s.jsx("img",{src:p,alt:"",className:"rounded-md"})}),s.jsx("div",{children:s.jsx("img",{src:h,alt:"",className:"rounded-md"})}),s.jsx("div",{children:s.jsx("img",{src:_,alt:"",className:"rounded-md"})}),s.jsx("div",{children:s.jsx("img",{src:f,alt:"",className:"rounded-md"})})]})]})});e.lazy(()=>i(()=>import("./SkillSection-25cb0a57.js"),["assets/SkillSection-25cb0a57.js","assets/index-7c7a558c.js","assets/index-3cceaf16.css"]));e.lazy(()=>i(()=>import("./CallToAction-b027669d.js"),["assets/CallToAction-b027669d.js","assets/index-7c7a558c.js","assets/index-3cceaf16.css"]));function O(){const[a,r]=e.useState(null),[y,n]=e.useState(!1),[v,l]=e.useState("");if(e.useEffect(()=>{(async()=>{try{const t=localStorage.getItem("aboutData");if(t)r(JSON.parse(t));else{const o=(await x.getAboutUsData()).data.data;r(o),localStorage.setItem("aboutData",JSON.stringify(o))}}catch{n(!0),l("Failed to fetch data. Please try again later.")}})()},[]),!a)return s.jsxs(s.Fragment,{children:[s.jsx(d,{title:"About Us"}),s.jsx("div",{children:"Loading..."})]});const{pageTitle:c,aboutUsGeneral:m}=a||{};return s.jsxs(s.Fragment,{children:[c&&s.jsx(d,{title:c}),s.jsxs(e.Suspense,{fallback:s.jsx("div",{children:"Loading..."}),children:[s.jsx(b,{}),s.jsx(u,{}),m&&s.jsx(s.Fragment,{})]})]})}export{O as default};
