import{j as e,d as a,e as n,f as l,g as d,D as c,h as m,i as h}from"./index-5vg2Amuh.js";import"./vendor-DMC7RRaB.js";const g=({faqOpen:o,toggleFaq:r})=>{const i=[{question:"Can I order and get delivery through DISHED?",answer:"Currently, we do not have delivery as we are still working on it to give our shop owners the best possible experience! Select Business do have ordering if enabled",id:"ordering-delivery",icon:e.jsx(l,{className:"w-5 h-5"}),category:"Platform Features"},{question:"Safety Guidelines",answer:"DISHED is committed to providing a safe and trustworthy environment for our community. Please be vigilant about the products and sellers, double-check your items, and take necessary precautions during transactions. Note that DISHED serves as a platform to connect buyers and sellers and does not assume responsibility for the products sold or user behavior.",id:"safety-guidelines",icon:e.jsx(d,{className:"w-5 h-5"}),category:"Safety & Trust"},{question:"Is your platform free?",answer:"Yes! Our platform is free for browsing food businesses and listing your own!",id:"platform-cost",icon:e.jsx(c,{className:"w-5 h-5"}),category:"Pricing"},{question:"What even is DISHED?",answer:"DISHED is your go-to platform for discovering home-based food businesses and unique food services like catering, meal prep, and more. Just as you would use Uber Eats or Yelp to find your next meal, DISHED is designed to help you uncover and support local food businesses that often don't get the same visibility on those larger platforms. Whether you're looking for a birthday cake, event catering, or a personal chef, DISHED connects you to the best homegrown culinary talents in your area.",id:"about-dished",icon:e.jsx(m,{className:"w-5 h-5"}),category:"About Us"},{question:"Do you have an affiliate program?",answer:"We're working on it.",id:"affiliate-program",icon:e.jsx(h,{className:"w-5 h-5"}),category:"Partnerships"}];return e.jsxs("section",{className:"py-20 bg-gradient-to-b from-white to-indigo-50 relative overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[e.jsx("div",{className:"absolute top-20 right-10 w-64 h-64 bg-yellow-100 rounded-full opacity-30 blur-3xl"}),e.jsx("div",{className:"absolute bottom-20 left-10 w-64 h-64 bg-indigo-100 rounded-full opacity-30 blur-3xl"}),e.jsx("svg",{className:"absolute bottom-0 left-0 right-0 text-white",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1440 320",children:e.jsx("path",{fill:"currentColor",fillOpacity:"1",d:"M0,64L80,85.3C160,107,320,149,480,154.7C640,160,800,128,960,122.7C1120,117,1280,139,1360,149.3L1440,160L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"})})]}),e.jsxs("div",{className:"container mx-auto px-6 lg:px-8 relative z-10",children:[e.jsxs("div",{className:"max-w-3xl mx-auto text-center mb-14",children:[e.jsx("span",{className:"inline-block px-4 py-1.5 bg-indigo-100 text-indigo-700 rounded-full text-sm font-medium mb-4",children:"Got Questions?"}),e.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-gray-900 mb-6",children:"Frequently Asked Questions"}),e.jsx("p",{className:"text-lg text-gray-600",children:"Find answers to the most common questions about DISHED and how our platform works."})]}),e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsxs("div",{className:"relative mb-10 hidden md:block",children:[e.jsx("input",{type:"text",className:"w-full py-4 pl-14 pr-4 text-gray-700 bg-white border-0 rounded-xl focus:outline-none focus:ring-2 focus:ring-indigo-400 shadow-md",placeholder:"Search for answers..."}),e.jsx("svg",{className:"absolute w-6 h-6 text-gray-400 left-5 top-1/2 transform -translate-y-1/2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})})]}),e.jsx("div",{className:"divide-y divide-gray-200 bg-white rounded-2xl shadow-xl overflow-hidden",children:i.map((s,t)=>e.jsxs("div",{className:"transition-all duration-200",itemScope:!0,itemProp:"mainEntity",itemType:"https://schema.org/Question",children:[e.jsxs("button",{onClick:()=>r(t),className:`flex items-center justify-between w-full p-6 text-left focus:outline-none ${o[t]?"bg-indigo-50":"hover:bg-gray-50"}`,"aria-expanded":o[t],"aria-controls":`faq-answer-${s.id}`,children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:`flex-shrink-0 p-2 mr-4 rounded-full ${o[t]?"bg-indigo-100 text-indigo-600":"bg-gray-100 text-gray-500"}`,children:s.icon}),e.jsxs("div",{children:[e.jsx("span",{className:"block text-xs font-medium text-indigo-500 uppercase tracking-wider mb-1",children:s.category}),e.jsx("h3",{className:"text-lg font-semibold text-gray-800",itemProp:"name",id:s.id,children:s.question})]})]}),e.jsx(a,{className:`flex-shrink-0 ml-2 w-5 h-5 text-gray-500 transition-transform duration-300 ease-in-out ${o[t]?"transform rotate-180 text-indigo-600":""}`})]}),e.jsx("div",{id:`faq-answer-${s.id}`,className:`overflow-hidden transition-all duration-300 ease-in-out ${o[t]?"max-h-96":"max-h-0"}`,itemScope:!0,itemProp:"acceptedAnswer",itemType:"https://schema.org/Answer",children:e.jsxs("div",{className:"p-6 pt-0 bg-white border-t border-gray-100",children:[e.jsx("p",{className:"text-gray-600",itemProp:"text",children:s.answer}),e.jsxs("div",{className:"mt-4 flex items-center text-sm",children:[e.jsx("span",{className:"text-gray-500 mr-4",children:"Was this helpful?"}),e.jsxs("button",{className:"flex items-center text-green-600 mr-4 hover:text-green-700",children:[e.jsx(n,{className:"w-4 h-4 mr-1"}),"Yes"]}),e.jsx("button",{className:"text-gray-500 hover:text-gray-700",children:"No"})]})]})})]},s.id))}),e.jsxs("div",{className:"mt-12 bg-indigo-600 text-white rounded-2xl p-8 shadow-xl relative overflow-hidden",children:[e.jsxs("div",{className:"relative z-10",children:[e.jsx("h3",{className:"text-2xl font-bold mb-2",children:"Still have questions?"}),e.jsx("p",{className:"text-indigo-100 mb-6",children:"Can't find the answer you're looking for? Please reach out to our support team."}),e.jsx("a",{href:"/contact",className:"inline-flex items-center px-6 py-3 bg-white text-indigo-600 font-medium rounded-lg hover:bg-indigo-50 transition-colors shadow-sm",children:"Contact Support"})]}),e.jsx("div",{className:"absolute right-0 top-0 w-64 h-64 bg-indigo-500 rounded-full -mr-16 -mt-16"}),e.jsx("div",{className:"absolute right-0 bottom-0 w-32 h-32 bg-indigo-700 rounded-full -mr-10 -mb-10"})]})]})]})]})};export{g as default};