import{r as i,j as t,f as l}from"./index-7c7a558c.js";import{B as x}from"./Breadcrumb-0d748722.js";import{P as d}from"./PageLoader-31c46f94.js";const p="/assets/privacy-4f23b17a.webp",h=()=>{const[a,n]=i.useState(null);if(i.useEffect(()=>{(async()=>{try{const e=await l.get("https://www.bdskilltech.com/backend/public/api/frontend/privacy-policy");n(e.data.data)}catch(e){console.error("Error fetching data:",e)}})()},[]),!a)return t.jsx(d,{title:"Privacy And Policy"});const{pageTitle:s,policy:r}=a,o=c=>({__html:c});return t.jsxs(t.Fragment,{children:[t.jsx(x,{title:s}),t.jsx("div",{className:"bg-mainBg py-12 px-4 sm:px-6 lg:px-8",children:t.jsxs("div",{className:"max-w-4xl mx-auto",children:[t.jsx("div",{className:"w-full flex justify-center items-center",children:t.jsx("img",{className:"w-7/12 h-auto",src:p,alt:"Privacy And Policy"})}),t.jsx("h2",{className:"mb-8 text-4xl tracking-tight font-extrabold text-heading uppercase text-center",children:s}),r.description?t.jsx("div",{className:"text-desc text-justify",dangerouslySetInnerHTML:o(r.description)}):""]})})]})};export{h as default};
