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