{"ast":null,"code":"import React from'react';import{FaUserPlus,FaMapMarkedAlt,FaCar,FaStar}from'react-icons/fa';import'./HowItWorks.css';import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";const HowItWorks=()=>{const steps=[{icon:/*#__PURE__*/_jsx(FaUserPlus,{}),title:'Sign Up',description:'Create your account in less than 2 minutes',details:'Download the app, verify your phone number, and set up your profile.'},{icon:/*#__PURE__*/_jsx(FaMapMarkedAlt,{}),title:'Set Route',description:'Enter your pickup and destination',details:'Use our smart route mapping to find the best path and available rides.'},{icon:/*#__PURE__*/_jsx(FaCar,{}),title:'Choose Ride',description:'Select from available options',details:'Pick between solo rides or shared options based on your preference and budget.'},{icon:/*#__PURE__*/_jsx(FaStar,{}),title:'Enjoy Ride',description:'Relax and reach your destination',details:'Track your ride in real-time, share trip details, and rate your experience.'}];return/*#__PURE__*/_jsx(\"section\",{id:\"how-it-works\",className:\"section how-it-works\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"container\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"section-title\",children:[/*#__PURE__*/_jsx(\"h2\",{children:\"How It Works\"}),/*#__PURE__*/_jsx(\"p\",{children:\"Simple steps to start your ride-sharing journey\"})]}),/*#__PURE__*/_jsx(\"div\",{className:\"steps-container\",children:steps.map((step,index)=>/*#__PURE__*/_jsxs(\"div\",{className:\"step\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"step-number\",children:index+1}),/*#__PURE__*/_jsx(\"div\",{className:\"step-icon\",children:step.icon}),/*#__PURE__*/_jsx(\"h3\",{children:step.title}),/*#__PURE__*/_jsx(\"p\",{className:\"step-description\",children:step.description}),/*#__PURE__*/_jsx(\"p\",{className:\"step-details\",children:step.details})]},index))}),/*#__PURE__*/_jsxs(\"div\",{className:\"cta-section\",children:[/*#__PURE__*/_jsx(\"h3\",{children:\"Ready to Start Your Journey?\"}),/*#__PURE__*/_jsx(\"p\",{children:\"Join thousands of happy riders today\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"cta-buttons\",children:[/*#__PURE__*/_jsx(\"button\",{className:\"btn btn-primary\",children:\"Download App\"}),/*#__PURE__*/_jsx(\"button\",{className:\"btn btn-secondary\",children:\"Book Demo\"})]})]})]})});};export default HowItWorks;","map":{"version":3,"names":["React","FaUserPlus","FaMapMarkedAlt","FaCar","FaStar","jsx","_jsx","jsxs","_jsxs","HowItWorks","steps","icon","title","description","details","id","className","children","map","step","index"],"sources":["/var/www/yuvaride/yuvaride-static/yuva-ride/src/components/HowItWorks.js"],"sourcesContent":["import React from 'react';\nimport { FaUserPlus, FaMapMarkedAlt, FaCar, FaStar } from 'react-icons/fa';\nimport './HowItWorks.css';\n\nconst HowItWorks = () => {\n  const steps = [\n    {\n      icon: <FaUserPlus />,\n      title: 'Sign Up',\n      description: 'Create your account in less than 2 minutes',\n      details: 'Download the app, verify your phone number, and set up your profile.'\n    },\n    {\n      icon: <FaMapMarkedAlt />,\n      title: 'Set Route',\n      description: 'Enter your pickup and destination',\n      details: 'Use our smart route mapping to find the best path and available rides.'\n    },\n    {\n      icon: <FaCar />,\n      title: 'Choose Ride',\n      description: 'Select from available options',\n      details: 'Pick between solo rides or shared options based on your preference and budget.'\n    },\n    {\n      icon: <FaStar />,\n      title: 'Enjoy Ride',\n      description: 'Relax and reach your destination',\n      details: 'Track your ride in real-time, share trip details, and rate your experience.'\n    }\n  ];\n\n  return (\n    <section id=\"how-it-works\" className=\"section how-it-works\">\n      <div className=\"container\">\n        <div className=\"section-title\">\n          <h2>How It Works</h2>\n          <p>Simple steps to start your ride-sharing journey</p>\n        </div>\n        <div className=\"steps-container\">\n          {steps.map((step, index) => (\n            <div key={index} className=\"step\">\n              <div className=\"step-number\">{index + 1}</div>\n              <div className=\"step-icon\">\n                {step.icon}\n              </div>\n              <h3>{step.title}</h3>\n              <p className=\"step-description\">{step.description}</p>\n              <p className=\"step-details\">{step.details}</p>\n            </div>\n          ))}\n        </div>\n        <div className=\"cta-section\">\n          <h3>Ready to Start Your Journey?</h3>\n          <p>Join thousands of happy riders today</p>\n          <div className=\"cta-buttons\">\n            <button className=\"btn btn-primary\">Download App</button>\n            <button className=\"btn btn-secondary\">Book Demo</button>\n          </div>\n        </div>\n      </div>\n    </section>\n  );\n};\n\nexport default HowItWorks;"],"mappings":"AAAA,MAAO,CAAAA,KAAK,KAAM,OAAO,CACzB,OAASC,UAAU,CAAEC,cAAc,CAAEC,KAAK,CAAEC,MAAM,KAAQ,gBAAgB,CAC1E,MAAO,kBAAkB,CAAC,OAAAC,GAAA,IAAAC,IAAA,CAAAC,IAAA,IAAAC,KAAA,yBAE1B,KAAM,CAAAC,UAAU,CAAGA,CAAA,GAAM,CACvB,KAAM,CAAAC,KAAK,CAAG,CACZ,CACEC,IAAI,cAAEL,IAAA,CAACL,UAAU,GAAE,CAAC,CACpBW,KAAK,CAAE,SAAS,CAChBC,WAAW,CAAE,4CAA4C,CACzDC,OAAO,CAAE,sEACX,CAAC,CACD,CACEH,IAAI,cAAEL,IAAA,CAACJ,cAAc,GAAE,CAAC,CACxBU,KAAK,CAAE,WAAW,CAClBC,WAAW,CAAE,mCAAmC,CAChDC,OAAO,CAAE,wEACX,CAAC,CACD,CACEH,IAAI,cAAEL,IAAA,CAACH,KAAK,GAAE,CAAC,CACfS,KAAK,CAAE,aAAa,CACpBC,WAAW,CAAE,+BAA+B,CAC5CC,OAAO,CAAE,gFACX,CAAC,CACD,CACEH,IAAI,cAAEL,IAAA,CAACF,MAAM,GAAE,CAAC,CAChBQ,KAAK,CAAE,YAAY,CACnBC,WAAW,CAAE,kCAAkC,CAC/CC,OAAO,CAAE,6EACX,CAAC,CACF,CAED,mBACER,IAAA,YAASS,EAAE,CAAC,cAAc,CAACC,SAAS,CAAC,sBAAsB,CAAAC,QAAA,cACzDT,KAAA,QAAKQ,SAAS,CAAC,WAAW,CAAAC,QAAA,eACxBT,KAAA,QAAKQ,SAAS,CAAC,eAAe,CAAAC,QAAA,eAC5BX,IAAA,OAAAW,QAAA,CAAI,cAA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