{"version":3,"file":"FAQ.BjXe9pNd.mjs","names":["useRef","useState"],"sources":["https:/framerusercontent.com/modules/EvMGWyCJjsx75TwtknYN/YO6XvBTt3kEBlxFfedfF/FAQ.js"],"sourcesContent":["// livemy.app — FAQ Accordion (v2 — AI/SEO optimized)\n// Pure CSS height animation, no framer-motion, no lucide-react\n// Auto-generates JSON-LD FAQPage schema from items array (rich snippets + AI Overview)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useRef}from\"react\";function useContainerWidth(){const ref=useRef(null);const[w,setW]=useState(1200);useEffect(()=>{const el=ref.current;if(!el)return;const ro=new ResizeObserver(entries=>{for(const e of entries)setW(e.contentRect.width);});ro.observe(el);setW(el.getBoundingClientRect().width);return()=>ro.disconnect();},[]);return[ref,w];}const T={bgBase:\"#09090B\",bgSurface:\"#18181B\",textPrimary:\"#FAFAFA\",textSecondary:\"#A1A1AA\",textTertiary:\"#71717A\",accent:\"#6366F1\",accentHover:\"#818CF8\",borderSubtle:\"rgba(255,255,255,0.06)\",font:\"'Inter', -apple-system, sans-serif\"};/* Plus/minus toggle icon */const ToggleIcon=({open})=>/*#__PURE__*/_jsxs(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:open?T.accent:T.textTertiary,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{flexShrink:0,transition:\"stroke 0.3s, transform 0.3s\",transform:open?\"rotate(45deg)\":\"rotate(0)\"},children:[/*#__PURE__*/_jsx(\"line\",{x1:\"12\",y1:\"5\",x2:\"12\",y2:\"19\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"5\",y1:\"12\",x2:\"19\",y2:\"12\"})]});function FAQItem({question,answer,slug,isOpen,onToggle,isMobile}){const contentRef=useRef(null);const[height,setHeight]=useState(0);useEffect(()=>{if(contentRef.current){setHeight(contentRef.current.scrollHeight);}},[answer,isOpen]);return /*#__PURE__*/_jsxs(\"div\",{id:slug?`faq-${slug}`:undefined,style:{borderBottom:`1px solid ${T.borderSubtle}`},children:[/*#__PURE__*/_jsxs(\"button\",{onClick:onToggle,style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:16,width:\"100%\",padding:isMobile?\"18px 0\":\"22px 0\",background:\"none\",border:\"none\",cursor:\"pointer\",textAlign:\"left\",fontFamily:T.font},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:isMobile?15:17,fontWeight:600,color:isOpen?T.textPrimary:T.textSecondary,letterSpacing:\"-0.02em\",lineHeight:1.4,transition:\"color 0.3s\"},children:question}),/*#__PURE__*/_jsx(ToggleIcon,{open:isOpen})]}),/*#__PURE__*/_jsx(\"div\",{style:{height:isOpen?height:0,overflow:\"hidden\",transition:\"height 0.35s cubic-bezier(0.4, 0, 0.2, 1)\"},children:/*#__PURE__*/_jsx(\"div\",{ref:contentRef,style:{paddingBottom:isMobile?18:22},children:/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontSize:isMobile?14:15,color:T.textTertiary,lineHeight:1.7,letterSpacing:\"-0.01em\",fontFamily:T.font},children:answer})})})]});}/**\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 600\n *//* Generate JSON-LD FAQPage schema from items array */function buildFaqSchema(items){const escape=s=>(s||\"\").replace(/\\\\/g,\"\\\\\\\\\").replace(/\"/g,'\\\\\"').replace(/\\n/g,\" \").replace(/<\\/script/gi,\"<\\\\/script\");const entities=items.filter(i=>i.question&&i.answer).map(i=>`{\"@type\":\"Question\",\"name\":\"${escape(i.question)}\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"${escape(i.answer)}\"}}`).join(\",\");return`{\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[${entities}]}`;}/* Slugify question for anchor ID */function slugify(s){return(s||\"\").toLowerCase().replace(/[^\\w\\s-]/g,\"\").replace(/\\s+/g,\"-\").replace(/-+/g,\"-\").replace(/^-|-$/g,\"\").slice(0,60);}export default function FAQAccordion(props){const{headline,subheadline,items,emitSchema,style:styleProp}=props;const[containerRef,width]=useContainerWidth();const isMobile=width<768;const[openIdx,setOpenIdx]=useState(0);return /*#__PURE__*/_jsxs(\"section\",{ref:containerRef,style:{...styleProp,background:T.bgBase,padding:isMobile?\"64px 20px\":\"96px 48px\",width:\"100%\",minWidth:\"100%\",boxSizing:\"border-box\",fontFamily:T.font,height:\"auto\"},children:[emitSchema&&/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:buildFaqSchema(items)}}),/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:720,margin:\"0 auto\"},children:[/*#__PURE__*/_jsx(\"h2\",{style:{margin:\"0 auto 12px\",textAlign:\"center\",fontSize:isMobile?32:48,fontWeight:700,color:T.textPrimary,lineHeight:1.1,letterSpacing:\"-0.04em\"},children:headline}),/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0 auto 48px\",textAlign:\"center\",fontSize:isMobile?16:18,color:T.textSecondary,lineHeight:1.5,maxWidth:480,letterSpacing:\"-0.01em\"},children:subheadline}),/*#__PURE__*/_jsx(\"div\",{style:{borderTop:`1px solid ${T.borderSubtle}`},children:items.map((item,i)=>/*#__PURE__*/_jsx(FAQItem,{question:item.question,answer:item.answer,slug:slugify(item.question),isOpen:openIdx===i,onToggle:()=>setOpenIdx(openIdx===i?null:i),isMobile:isMobile},i))})]})]});}FAQAccordion.defaultProps={headline:\"Frequently asked questions\",subheadline:\"Everything you need to know about shipping your app live with livemy.app.\",emitSchema:true,items:[{question:\"What is livemy.app?\",answer:\"livemy.app is a deployment platform that takes apps built with AI tools — Cursor, Lovable, Bolt.new, Claude Code, v0, Replit, Windsurf, or any GitHub repo — and ships them to production in one click. It auto-detects your stack (Next.js, Python, Docker, and 50+ frameworks), provisions servers, configures HTTPS and CDN, and runs automated deployment without DevOps. Free tier available, no credit card required.\"},{question:\"How do I deploy an app from GitHub to livemy.app?\",answer:\"Connect your GitHub, GitLab, or Bitbucket repository and livemy.app will clone, build, and deploy it automatically — typically in about 2 minutes. Push to your default branch triggers automated deployment on every commit. No GitHub Actions YAML, no webhook configs, no Dockerfile required (we auto-detect your stack and generate the container). Works with public and private repos, monorepos, and any Git URL.\"},{question:\"Can I deploy a Next.js, React, Python, or Flask app?\",answer:\"Yes. livemy.app auto-detects 50+ frameworks including Next.js (13/14/15), React, Vue, Svelte, Python (Flask, Django, FastAPI), Node.js, Ruby on Rails, Go, and any Docker-compatible stack. Just push your code — we identify the framework, install dependencies, build the container, and deploy. For custom setups, bring your own Dockerfile or docker-compose.yml.\"},{question:\"How is livemy.app different from Heroku, Vercel, or Railway?\",answer:\"livemy.app gives you a full server with persistent processes, databases, SSH access, and Docker containers — at predictable flat pricing. Heroku sunsetted its free tier and gets expensive at scale. Vercel is optimized for frontend and serverless functions, not full backends. Railway charges per-resource with usage-based billing that surprises teams. livemy.app combines Heroku's simplicity, Railway's modern UX, and a real Heroku alternative for teams that need a complete server without bandwidth bill shock.\"},{question:\"Do I need to know Docker or DevOps to use livemy.app?\",answer:\"No. livemy.app handles containerization, SSL certificates, networking, monitoring, and automated deployment for you. You push code; we deploy it. If you do know Docker, you can bring your own Dockerfile or docker-compose.yml for full control. If you don't — smart defaults work for 95% of apps. No YAML, no Kubernetes, no Nginx configuration required.\"},{question:\"What types of apps can I deploy on livemy.app?\",answer:\"Anything that runs in a Docker container or on a Linux server. This includes web apps (React, Next.js, Vue, Svelte), backend APIs (Python, Node.js, Go, Ruby), databases (PostgreSQL, MySQL, Redis, MongoDB), background workers, AI agents, LLM-powered apps, and self-hosted open-source tools like n8n, Uptime Kuma, Ghost, Plausible, and WireGuard. If it runs on a VPS, it runs on livemy.app.\"},{question:\"How long does a deployment take on livemy.app?\",answer:\"Average deploy time is around 2 minutes — from `git push` to live HTTPS URL, including stack detection, container build, SSL provisioning, and CDN setup. Simple static apps deploy faster; heavier backends with large dependency trees take a bit longer. By comparison, manual VPS setup takes 2-4 hours and managed PaaS competitors typically average 3-7 minutes per deploy. No CI configuration, no YAML, no waiting in build queues.\"},{question:\"Can I host n8n, Ghost, Plausible, or other self-hosted apps?\",answer:\"Yes. To deploy n8n, Ghost, Plausible, Uptime Kuma, WireGuard, or any other self-hosted open-source app, paste the project's GitHub repository URL — livemy.app auto-detects the stack, builds the container, provisions HTTPS, and ships it live in about 2 minutes. You can also deploy any Docker image from Docker Hub or a private registry. A one-click template gallery with pre-configured environment variables and persistent volumes is coming during Open Beta.\"},{question:\"What's included in livemy.app's Open Beta?\",answer:\"Open Beta access is free, no credit card required. Each beta account includes 10 projects, 10 deploys per month, 20 redeploys per month, and 20 AI assists per month (AI-powered help with config, debugging, and stack detection). Deploy from GitHub, use any one-click template, and ship apps to production HTTPS URLs. Paid plans with higher limits and custom domains roll out after Open Beta.\"},{question:\"Is my data and infrastructure secure on livemy.app?\",answer:\"Every deployment runs in an isolated Linux environment with automated security patches, firewall configuration, encrypted backups, and TLS 1.3 by default. You get full SSH access and root control over your server. Data is stored in EU and US regions of your choice with daily encrypted backups and one-click restore.\"}]};addPropertyControls(FAQAccordion,{headline:{type:ControlType.String,title:\"Headline\",defaultValue:FAQAccordion.defaultProps.headline},subheadline:{type:ControlType.String,title:\"Subheadline\",defaultValue:FAQAccordion.defaultProps.subheadline,displayTextArea:true},emitSchema:{type:ControlType.Boolean,title:\"FAQ Schema (JSON-LD)\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",description:\"Emits FAQPage schema for Google rich snippets + AI Overview. Keep on for SEO.\"},items:{type:ControlType.Array,title:\"FAQ Items\",maxCount:20,control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\",defaultValue:\"Question?\"},answer:{type:ControlType.String,title:\"Answer\",defaultValue:\"Answer text.\",displayTextArea:true}}},defaultValue:FAQAccordion.defaultProps.items}});\nexport const __FramerMetadata__ = {\"ex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