PageSourceSearch

https://hodhub.ai/assets/HelpCenter-CUKVgz7y.js

js hodhub.ai collected 2026-10-05 14:35:49 UTC 25,645 bytes, 1 lines download raw bytes

1import{r as o,j as e,M as y,S as g,X as A,al as v,a5 as j,B as w,q as I,ai as q,Z as H,V as P,h as E,l as L,a8 as N,aj as F,am as k,f as W,x as Y,an as T,ao as B,p as Q,v as K,A as R}from"./index-RzlQZH18.js";import{I as S}from"./input-D4hFTCWy.js";import{C as G}from"./credit-card-Du22F99_.js";import{C as D}from"./circle-help-d3aGUv34.js";import{V as f}from"./video-3XktOTHh.js";function M(){const[a,d]=o.useState(!1),[i,c]=o.useState([{role:"assistant",content:"Hi! I'm your HodHub.ai AI assistant. I can help you with questions about features, billing, projects, or anything else. What would you like to know?"}]),[l,p]=o.useState(""),[n,u]=o.useState(!1),x=o.useRef(null),b=()=>{var s;(s=x.current)==null||s.scrollIntoView({behavior:"smooth"})};o.useEffect(()=>{b()},[i]);const m=async()=>{if(!l.trim()||n)return;const s=l.trim();p(""),c(r=>[...r,{role:"user",content:s}]),u(!0);try{const r=await fetch("/api/help/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:s,history:i})});if(!r.ok)throw new Error("Failed to get response");const h=await r.json();c(C=>[...C,{role:"assistant",content:h.response}])}catch{c(h=>[...h,{role:"assistant",content:"I apologize, but I encountered an error. Please try again or contact our support team at [email protected]"}])}finally{u(!1)}},t=s=>{s.key==="Enter"&&!s.shiftKey&&(s.preventDefault(),m())};return e.jsxs(e.Fragment,{children:[!a&&e.jsxs("button",{onClick:()=>d(!0),className:"fixed bottom-6 right-6 p-4 bg-gradient-to-r from-blue-600 to-purple-600 text-white rounded-full shadow-2xl hover:shadow-3xl transform hover:scale-110 transition-all z-50 group","data-testid":"button-open-ai-chat",children:[e.jsxs("div",{className:"relative",children:[e.jsx(y,{className:"w-6 h-6"}),e.jsx(g,{className:"w-3 h-3 text-yellow-300 absolute -top-1 -right-1 animate-pulse"})]}),e.jsx("div",{className:"absolute -top-12 right-0 bg-slate-900 text-white text-sm px-4 py-2 rounded-lg opacity-0 group-hover:opacity-100 transition-opacity whitespace-nowrap",children:"Ask AI Assistant"})]}),a&&e.jsxs("div",{className:"fixed bottom-6 right-6 w-96 h-[600px] bg-white rounded-2xl shadow-2xl border-2 border-slate-200 flex flex-col z-50 overflow-hidden",children:[e.jsxs("div",{className:"bg-gradient-to-r from-blue-600 to-purple-600 p-4 flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"p-2 bg-white/20 rounded-lg",children:e.jsx(g,{className:"w-5 h-5 text-white"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-bold text-white",children:"AI Assistant"}),e.jsx("p",{className:"text-xs text-white/80",children:"AI-powered support"})]})]}),e.jsx("button",{onClick:()=>d(!1),className:"p-2 hover:bg-white/20 rounded-lg transition-colors","data-testid":"button-close-ai-chat",children:e.jsx(A,{className:"w-5 h-5 text-white"})})]}),e.jsxs("div",{className:"flex-1 overflow-y-auto p-4 space-y-4 bg-gradient-to-b from-slate-50 to-white",children:[i.map((s,r)=>e.jsxs("div",{className:v("flex gap-3 animate-in slide-in-from-bottom-2",s.role==="user"?"justify-end":"justify-start"),children:[s.role==="assistant"&&e.jsx("div",{className:"flex-shrink-0 w-8 h-8 bg-gradient-to-br from-blue-500 to-purple-500 rounded-full flex items-center justify-center",children:e.jsx(g,{className:"w-4 h-4 text-white"})}),e.jsx("div",{className:v("max-w-[75%] rounded-2xl px-4 py-3",s.role==="user"?"bg-gradient-to-r from-blue-600 to-purple-600 text-white":"bg-white border-2 border-slate-200 text-slate-900"),children:e.jsx("p",{className:"text-sm leading-relaxed whitespace-pre-wrap",children:s.content})})]},r)),n&&e.jsxs("div",{className:"flex gap-3 justify-start",children:[e.jsx("div",{className:"flex-shrink-0 w-8 h-8 bg-gradient-to-br from-blue-500 to-purple-500 rounded-full flex items-center justify-center",children:e.jsx(g,{className:"w-4 h-4 text-white"})}),e.jsx("div",{className:"bg-white border-2 border-slate-200 rounded-2xl px-4 py-3",children:e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(j,{className:"w-4 h-4 animate-spin text-blue-600"}),e.jsx("span",{className:"text-sm text-slate-600",children:"Thinking..."})]})})]}),e.jsx("div",{ref:x})]}),e.jsxs("div",{className:"p-4 border-t-2 border-slate-200 bg-white",children:[e.jsxs("div",{className:"flex gap-2",children:[e.jsx(S,{value:l,onCh
1ange:s=>p(s.target.value),onKeyPress:t,placeholder:"Ask anything about HodHub.ai...",disabled:n,className:"flex-1 border-2 border-slate-200 focus:border-blue-500","data-testid":"input-ai-chat"}),e.jsx(w,{onClick:m,disabled:!l.trim()||n,className:"bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700","data-testid":"button-send-ai-chat",children:n?e.jsx(j,{className:"w-5 h-5 animate-spin"}):e.jsx(I,{className:"w-5 h-5"})})]}),e.jsx("p",{className:"text-xs text-slate-500 mt-2 text-center",children:"AI responses are helpful but may not be perfect. For critical issues, contact support."})]})]})]})}function J(){const[a,d]=o.useState(""),[i,c]=o.useState(null),[l,p]=o.useState(new Set),n=[{id:"getting-started",name:"Getting Started",icon:q,color:"from-blue-500 to-blue-600"},{id:"billing",name:"Billing & Plans",icon:G,color:"from-emerald-500 to-emerald-600"},{id:"features",name:"Features & Tools",icon:H,color:"from-purple-500 to-purple-600"},{id:"projects",name:"Projects & Estimates",icon:P,color:"from-orange-500 to-orange-600"},{id:"technical",name:"Technical Support",icon:E,color:"from-slate-500 to-slate-600"},{id:"account",name:"Account & Security",icon:L,color:"from-red-500 to-red-600"}],u=[{id:"gs-1",category:"getting-started",question:"How do I create my free account?",answer:"Click 'Sign Up Free' on any page and log in with your account — no credit card required. Your free account gives you 3 Smart Leads per search, 1 active project, and a 10-day trial of all premium features so you can explore everything before deciding.",keywords:["signup","register","account","free","create"]},{id:"gs-2",category:"getting-started",question:"What's included in the free plan?",answer:"The Free Forever plan includes: 3 Smart Leads per search (your allowance refreshes whenever a search brings in new leads), 1 active project, 2 BoQ estimates, 5 invoices, and a 10-day trial of all premium features when you first sign up. No time limit and no credit card required.",keywords:["free","plan","features","trial","included"]},{id:"gs-3",category:"getting-started",question:"How do I create my first project?",answer:"Navigate to the Projects page from the sidebar, click 'New Project', and fill in the project details (name, client, location, budget). You can then add tasks, team members, and track progress. The system automatically organizes everything for you!",keywords:["project","create","new","start","begin"]},{id:"gs-4",category:"getting-started",question:"Can I import existing project data?",answer:"Yes! Go to Projects > Import and upload a CSV or Excel file with your project data. We support standard formats and provide templates to help you get started. You can also manually enter data or use our AI-powered data extraction tool.",keywords:["import","upload","csv","excel","data"]},{id:"bill-1",category:"billing",question:"How much does Premium cost?",answer:"Premium Solo is £49/month for individual builders with unlimited projects and all features. Premium Team is £129/month and allows 3 team members to use the app collaboratively. Both plans include unlimited Smart Leads, BoQ Estimator, QS Agent, Pro Invoicing, and Business Analytics.",keywords:["pricing","cost","premium","subscription","price"]},{id:"bill-2",category:"billing",question:"Can I cancel my subscription anytime?",answer:"Absolutely! You can cancel your Premium subscription anytime from Account Settings > Billing. Your premium features remain active until the end of your billing period, then you'll revert to the Free plan with no data loss.",keywords:["cancel","subscription","stop","unsubscribe"]},{id:"bill-3",category:"billing",question:"What payment methods do you accept?",answer:"We accept all major credit and debit cards (Visa, Mastercard, American Express) processed securely through Stripe. You can update your payment method anytime in Account Settings > Billing.",keywords:["payment","card","stripe","visa","mastercard"]},{id:"bill-4",category:"billing",question:"Do you offer refunds?",answer:"We offer a 30-day money-back guarantee on all Premium subscriptions. If you're not completely satisfied within the first 30 days, contact [email protected] for a full refund—no questions asked.",keywords:["refund","money back","guarantee","return"]},{id:"bill-5",category:"billing",question:"What happens when my trial expires?",answer:"After your 7-day premium trial expires, you'll automatically revert to the Free plan. You keep all your data but with free tier limitations (5 leads/month, 1 active project). You can upgrade to Premium anytime to unlock unlimited access!",keywords:["trial","expire","end","finish","free"]},{id:"feat-1",category:"features",question:"How does the AI BoQ Estimator work?",answer:"Our AI analyzes your project details and generates a detailed Bill of Quantities with accurate UK pricing. It uses machine learning trained on thousands of construction projects, regional pricing data, and current material costs. Simply describe your project, and the AI does the rest—saving you 15+ hours per estimate!",keywords:["boq","estimator","ai","estimate","pricing"]},{id:"feat-2",category:"features",question:"What are Smart Leads?",answer:"Smart Leads connect you with clients actively seeking builders in your area. We track live UK planning applications, new developments, and renovation projects and match them to your trade and location. Premium members get unlimited leads; free users can save 3 per search, refreshed whenever a search brings in new leads.",keywords:["leads","clients","smart","find","planning"]},{id:"feat-3",category:"features",question:"Can I create professional invoices?",answer:"Yes! Our Pro Invoicing feature creates beautiful, legally-compliant UK invoices with your branding, VAT calculations, payment terms, and client details. You can send invoices directly via email, download as PDF, or print. Track payment status and send automated reminders!",keywords:["invoice","billing","payment","pdf","vat"]},{id:"feat-4",category:"features",question:"Does it work on mobile devices?",answer:"Absolutely! HodHub.ai is fully responsive and works perfectly on all devices—desktop, tablet, and mobile. Access your projects, create estimates, and manage clients from anywhere. Your data syncs in real-time across all devices.",keywords:["mobile","phone","tablet","responsive","app"]},{id:"feat-5",category:"features",question:"How do I export my data?",answer:"Go to Account Settings >
1 Data Export to download all your data in CSV or Excel format. You can export projects, invoices, estimates, leads, and clients. We believe your data is yours—export it anytime, no restrictions!",keywords:["export","download","data","backup","csv"]},{id:"proj-1",category:"projects",question:"Can I track multiple projects simultaneously?",answer:"Free users can track 1 active project at a time. Premium Solo and Team members get unlimited active projects with full history, Kanban boards, team collaboration, and multi-project dashboards. Upgrade to manage as many projects as you need!",keywords:["multiple","projects","unlimited","several"]},{id:"proj-2",category:"projects",question:"How do I share estimates with clients?",answer:"From the Estimates page, click the estimate you want to share, then 'Send to Client'. You can email it as a professional PDF, send a secure link for online viewing, or print a physical copy. Clients can accept estimates online with e-signatures!",keywords:["estimate","share","send","client","pdf"]},{id:"proj-3",category:"projects",question:"Can I add team members to projects?",answer:"Premium Team plan (£129/month) allows up to 3 team members with collaborative access. Assign tasks, share project updates, and track team progress. Each member gets their own login with customizable permissions.",keywords:["team","collaborate","members","users","share"]},{id:"tech-1",category:"technical",question:"Is my data secure?",answer:"Yes! We use bank-level 256-bit SSL encryption, secure PostgreSQL databases with automatic backups, and GDPR-compliant data handling. Your data is stored on secure UK servers with 99.9% uptime guarantee. We never sell or share your data.",keywords:["security","safe","encryption","gdpr","privacy"]},{id:"tech-2",category:"technical",question:"What browsers are supported?",answer:"HodHub.ai works best on modern browsers: Chrome, Firefox, Safari, and Edge (latest versions). We recommend keeping your browser updated for the best experience and security.",keywords:["browser","chrome","firefox","safari","edge"]},{id:"tech-3",category:"technical",question:"How often do you back up data?",answer:"We perform automatic backups every hour and maintain 30-day rolling backups. All data is redundantly stored across multiple secure locations. In the unlikely event of data loss, we can restore your information from backups.",keywords:["backup","restore","data","recovery","save"]},{id:"tech-4",category:"technical",question:"Do you have an API?",answer:"We're currently developing our API for Premium users. It will allow integration with accounting software (Xero, QuickBooks), CRM systems, and custom tools. Join our waitlist at [email protected] to be notified when it launches!",keywords:["api","integration","connect","xero","quickbooks"]},{id:"acc-1",category:"account",question:"How do I change my password?",answer:"HodHub.ai uses secure Replit authentication (OAuth), so you don't have a separate password for our app. To update your credentials, manage your Replit account security settings directly at replit.com/account.",keywords:["password","change","security","login","reset"]},{id:"acc-2",category:"account",question:"Can I change my email address?",answer:"Yes! Go to Account Settings > Profile and update your email address. You'll receive a verification email to confirm the change. Your new email will be used for all future communications and login.",keywords:["email","change","update","address"]},{id:"acc-3",category:"account",question:"How do I delete my account?",answer:"We're sorry to see you go! Go to Account Settings > Delete Account. You'll be asked to confirm and export your data first. Account deletion is permanent and cannot be undone. Alternatively, you can downgrade to the Free plan to keep your data without charges.",keywords:["delete","remove","close","account","cancel"]}],x=t=>{const s=new Set(l);s.has(t)?s.delete(t):s.add(t),p(s)},b=u.filter(t=>{const s=a===""||t.question.toLowerCase().includes(a.toLowerCase())||t.answer.toLowerCase().includes(a.toLowerCase())||t.keywords.some(h=>h.toLowerCase().includes(a.toLowerCase())),r=!i||t.category===i;return s&&r}),m=n.map(t=>({...t,faqs:b.filter(s=>s.category===t.id)})).filter(t=>t.faqs.length>0);return e.jsxs("div",{className:"landing-full-scale min-h-screen bg-gradient-to-br from-slate-50 via-blue-50 to-white",children:[e.jsx("header",{className:"bg-white/80 backdrop-blur-xl border-b border-slate-200 sticky top-0 z-50",children:e.jsx("div",{className:"max-w-[1400px] mx-auto px-4 sm:px-6 lg:px-10 py-4",children:e.jsxs(N,{href:"/",className:"flex items-center gap-3 hover:opacity-80 transition-opacity","data-testid":"link-home",children:[e.jsx("div",{className:"p-2 bg-gradient-to-br from-blue-600 to-purple-600 rounded-xl",children:e.jsx(F,{className:"w-6 h-6 text-white"})}),e.jsx("span",{className:"text-2xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent",children:"HodHub.ai"})]})})}),e.jsxs("div",{className:"mx-auto px-4 sm:px-6 lg:px-10 py-16 max-w-[1400px]",children:[e.jsxs("div",{className:"text-center mb-16",children:[e.jsx("div",{className:"inline-block mb-6",children:e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-blue-400/20 to-purple-400/20 rounded-full blur-2xl"}),e.jsx("div",{className:"relative p-6 bg-gradient-to-br from-blue-500/10 to-purple-500/10 rounded-full border-2 border-blue-200/50",children:e.jsx(D,{className:"w-16 h-16 text-blue-600"})})]})}),e.jsx("h1",{className:"text-5xl font-bold mb-6",children:e.jsx("span",{className:"bg-gradient-to-r from-blue-600 via-purple-600 to-emerald-600 bg-clip-text text-transparent",children:"How Can We Help You?"})}),e.jsx("p",{className:"text-xl text-slate-600 max-w-3xl mx-auto mb-10",children:"Get instant answers to common questions, watch video tutorials, or contact our support team"}),e.jsxs("div",{className:"max-w-2xl mx-auto relative",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-blue-400/20 to-purple-400/20 rounded-2xl blur-xl"}),e.jsxs("div",{className:"relative",children:[e.jsx(k,{className:"absolute left-6 top-1/2 transform -translate-y-1/2 w-6 h-6 text-slate-400"}),e.jsx(S,{type:"text",placeholder:"Search for answers... (e.g., 'How do I create an invoice?')",value:a,onChange:t=>d(t.target.value),className:"w-full pl-16 pr-6 py-7 text-lg border-2 border-slate-200 rounded-2xl focus:border-blue-500 focus:ring-4 focus:ring-blue-100 shadow-lg","data-testid":"input-help-search"})]}),a&&e.jsx("div",{className:"absolute right-4 top-1/2 transform -translate-y-1/2",children:e.jsxs(W,{variant:"secondary",className:"bg-blue-100 text-blue-700",children:[b.length," results"]})})]})]}),e.jsxs("div",{className:"grid md:grid-cols-3 gap-6 mb-16",children:[[{icon:f,label:"Video Tutorials",description:"Watch guides",color:"from-red-500 to-red-600",link:"#tutorials"},{icon:Y,label:"User Guide",description:"Read documentation",color:"from-blue-500 to-blue-600",link:"#guide"}].map((t,s)=>e.jsxs("a",{href:t.link,className:"group relative overflow-hidden bg-white rounded-2xl p-6 border-2 border-slate-200 hover:border-blue-300 transition-all hover:shadow-xl cursor-pointer","data-testid":`link-quick-${t.label.toLowerCase().replace(/\s/g,"-")}`,children:[e.jsx("div",{className:`absolute inset-0 bg-gradient-to-br ${t.color} opacity-0 group-hover:opacity-5 transition-opacity`}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:`p-3 bg-gradient-to-br ${t.color} rounded-xl inline-block mb-3`,children:e.jsx(t.icon,{className:"w-6 h-6 text-white"})}),e.jsx("h3",{className:"font-bold text-slate-900 mb-1",children:t.label}),e.jsx("p",{className:"text-sm text-slate-600",children:t.description})]})]},s)),e.jsxs("button",{onClick:()=>window.dispatchEvent(new CustomEvent("hodhub:open-chat")),className:"group relative overflow-hidden bg-white rounded-2xl p-6 border-2 border-slate-200 hover:border-emerald-300 transition-all hover:shadow-xl cursor-pointer text-left","data-testid":"link-quick-live-support-chat",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-emerald-500 to-emerald-600 opacity-0 group-hover:opacity-5 transition-opacity"}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"p-3 bg-gradient-to-br from-emerald-500 to-emerald-600 rounded-xl inline-block mb-3",children:e.jsx(y,{className:"w-6 h-6 text-white"})}),e.jsx("h3",{className:"font-bold text-slate-900 mb-1",children:"Live Support Chat"}),e.jsx("p",{className:"text-sm text-slate-600",children:"Chat with support"})]})]})]}),e.jsx("div",{className:"mb-12",children:e.jsxs("div",{className:"flex items-center gap-3 flex-wrap justify-center",children:[e.jsxs("button",{onClick:()=>c(null),className:`px-6 py-3 rounded-xl font-semibold transition-all ${i?"bg-white text-slate-700 border-2 border-slate-200 hover:border-blue-300":"bg-gradient-to-r from-blue-600 to-purple-600 text-white shadow-lg"}`,"data-testid":"button-category-all",children:["All Topics (",u.length,")"]}),n.map(t=>e.jsxs("button",{onClick:()=>c(t.id),className:`px-6 py-3 rounded-xl font-semibold transition-all flex items-center gap-2 ${i===t.id?`bg-gradient-to-r ${t.color} text-white shadow-lg`:"bg-white text-slate-700 border-2 border-slate-200 hover:border-blue-300"}`,"data-testid":`button-category-${t.id}`,children:[e.jsx(t.icon,{className:"w-4 h-4"}),t.name]},t.id))]})}),m.length===0?e.jsxs("div",{className:"text-center py-20",children:[e.jsx("div",{className:"inline-block p-8 bg-slate-100 rounded-full mb-6",children:e.jsx(k,{className:"w-16 h-16 text-slate-400"})}),e.jsx("h3",{className:"text-2xl font-bold text-slate-900 mb-3",children:"No results found"}),e.jsxs("p",{className:"text-slate-600 mb-6",children:[`We couldn't find any articles matching "`,a,'". Try different keywords or browse all topics.']}),e.jsx(w,{onClick:()=>d(""),variant:"outline",size:"lg","data-testid":"button-clear-search",children:"Clear Search"})]}):e.jsx("div",{className:"space-y-12",children:m.map(t=>e.jsxs("div",{className:"bg-white rounded-2xl p-8 border-2 border-slate-200 shadow-lg",children:[e.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[e.jsx("div",{className:`p-4 bg-gradient-to-br ${t.color} rounded-xl`,children:e.jsx(t.icon,{className:"w-8 h-8 text-white"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-3xl font-bold text-slate-900",children:t.name}),e.jsxs("p",{className:"text-slate-600",children:[t.faqs.length," articles"]})]})]}),e.jsx("div",{className:"space-y-3",children:t.faqs.map(s=>e.jsxs("div",{className:"border-2 border-slate-200 rounded-xl overflow-hidden hover:border-blue-300 transition-colors",children:[e.jsx("button",{onClick:()=>x(s.id),className:"w-full flex items-center justify-between p-5 text-left hover:bg-slate-50 transition-colors","data-testid":`button-faq-${s.id}`,children:e.jsxs("div",{className:"flex items-center gap-4 flex-1",children:[l.has(s.id)?e.jsx(T,{className:"w-5 h-5 text-blue-600 flex-shrink-0"}):e.jsx(B,{className:"w-5 h-5 text-slate-400 flex-shrink-0"}),e.jsx("span",{className:"font-semibold text-slate-900",children:s.question})]})}),l.has(s.id)&&e.jsx("div",{className:"px-5 pb-5 pl-14 bg-gradient-to-r from-blue-50/50 to-purple-50/50",children:e.jsx("p",{className:"text-slate-700 leading-relaxed",children:s.answer})})]},s.id))})]},t.id))}),e.jsxs("div",{id:"tutorials",className:"mt-20 bg-gradient-to-r from-blue-600 to-purple-600 rounded-3xl p-12 text-center",children:[e.jsx(f,{className:"w-16 h-16 text-white mx-auto mb-6"}),e.jsx("h2",{className:"text-4xl font-bold text-white mb-4",children:"Video Tutorials"}),e.jsx("p",{className:"text-xl text-white/90 mb-8 max-w-2xl mx-auto",children:"Watch step-by-step video guides covering everything from account setup to advanced features"}),e.jsx("div",{className:"grid md:grid-cols-3 gap-6 mt-10",children:[{title:"Getting Started (5 min)",views:"12.5K views"},{title:"Creating Estimates (8 min)",views:"8.2K views"},{title:"Managing Projects (10 min)",views:"6.7K views"}].map((t,s)=>e.jsxs("div",{className:"bg-white/10 backdrop-blur-sm rounded-xl p-6 border border-white/20 hover:bg-white/20 transition-colors cursor-pointer",children:[e.jsx("div",{className:"aspect-video bg-white/20 rounded-lg mb-4 flex items-center justify-center",children:e.jsx(f,{className:"w-12 h-12 text-white/60"})}),e.jsx("h3",{className:"font-bold text-white mb-2",children:t.title}),e.jsx("p",{className:"text-sm text-white/70",children:t.views})]},s))})]}),e.jsxs("div",{id:"contact",className:"mt-20",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-4xl font-bold mb-4",children:e.jsx("span",{className:"bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent",children:"Still Need Help?"})}),e.jsx("p",{className:"text-xl text-slate-600",children:"Our support team is here for you—reach out anytime!"})]}),e.jsx("div",{className:"max-w-sm mx-auto",children:e.jsxs("div",{className:"bg-white rounded-2xl p-8 border-2 border-slate-200 text-center hover:shadow-xl transition-shadow",children:[e.jsx("div",{className:"p-4 bg-gradient-to-br from-blue-500 to-blue-600 rounded-full inline-block mb-4",children:e.jsx(y,{className:"w-8 h-8 text-white"})}),e.jsx("h3",{className:"text-xl font-bold text-slate-900 mb-2",children:"Live Support Chat"}),e.jsx("p",{className:"text-slate-600 mb-6",children:"Get instant help from our team"}),e.jsx("p",{className:"text-sm text-slate-500 mb-4",children:"Available Mon-Fri, 9am-6pm GMT"}),e.jsx(w,{className:"w-full bg-gradient-to-r from-blue-600 to-purple-600","data-testid":"button-live-chat",onClick:()=>window.dispatchEvent(new CustomEvent("hodhub:open-chat")),children:"Start Chat"})]})})]}),e.jsxs("div",{className:"mt-20 bg-gradient-to-r from-slate-900 to-slate-800 rounded-3xl p-12 text-center",children:[e.jsx(Q,{className:"w-16 h-16 text-emerald-400 mx-auto mb-6"}),e.jsx("h2",{className:"text-4xl font-bold text-white mb-4",children:"Loving HodHub.ai?"}),e.jsx("p",{className:"text-xl text-slate-300 mb-8 max-w-2xl mx-auto",children:"Share your experience and help other builders discover the UK's best c
1onstruction management platform!"}),e.jsxs("div",{className:"flex items-center justify-center gap-6 flex-wrap",children:[e.jsxs(w,{size:"lg",className:"bg-white text-slate-900 hover:bg-slate-100","data-testid":"button-leave-review",children:[e.jsx(K,{className:"w-5 h-5 mr-2 fill-yellow-400 text-yellow-400"}),"Leave a Review"]}),e.jsxs(N,{href:"/about",className:"text-white hover:text-emerald-400 underline text-lg font-semibold flex items-center gap-2",children:["Learn More About Us",e.jsx(R,{className:"w-5 h-5"})]})]})]})]}),e.jsx(M,{})]})}export{J as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.