import{r as c,j as t,f as o}from"./index-7c7a558c.js";import{B as n}from"./Breadcrumb-0d748722.js";import{P as l}from"./PageLoader-31c46f94.js";const d="/assets/terms-9061366e.svg",g=()=>{const[s,i]=c.useState(null);if(c.useEffect(()=>{(async()=>{try{const e=await o.get("https://www.bdskilltech.com/backend/public/api/frontend/term-condition");i(e.data.data)}catch(e){console.error("Error fetching data:",e)}})()},[]),!s)return t.jsx(l,{title:"Terms And Condition"});const{pageTitle:a,policy:r}=s;return t.jsxs(t.Fragment,{children:[t.jsx(n,{title:a}),t.jsx("div",{className:"bg-gray-100 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:d,alt:"Terms And Condition"})}),t.jsx("h2",{className:"mb-8 text-4xl tracking-tight font-extrabold text-gray-900 uppercase text-center",children:a}),t.jsx("div",{className:"pt-8 text-left border-t border-gray-200",children:r.description?r.description:""})]})})]})};export{g as default};
