{"version":3,"file":"shared-lib.Ca9moRxf.mjs","names":[],"sources":["https:/framerusercontent.com/modules/32L24eanCz6uDAMw69fn/jBmsUEMmjt4ys80KuyUG/Wavy_line.js","https:/framerusercontent.com/modules/4u5cXIU1kLPAl6XnLqxE/suloX7siPLOzyiMa8fy7/siteMetadata.js"],"sourcesContent":["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export default function WavyLine({color=\"#B2B2B2\"}){const[width,setWidth]=useState(0);useEffect(()=>{const updateWidth=()=>setWidth(window.innerWidth);updateWidth()// Set initial width\n;window.addEventListener(\"resize\",updateWidth);return()=>window.removeEventListener(\"resize\",updateWidth);},[]);const generateWavePath=()=>{const N=Math.floor(width/12)// Number of curves\n;const step=width/N;const amplitude=5// Increased amplitude for deeper waves (±4px from center)\n;let path=`M 0 ${amplitude}`;for(let i=0;i<N;i++){const x=step*(i+1);const y=i%2===0?amplitude*2:0;path+=` Q ${x-step/2} ${y}, ${x} ${amplitude}`;}return path;};return /*#__PURE__*/_jsx(\"svg\",{width:\"100%\",height:\"8\",viewBox:`0 0 ${width} 8`,fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:generateWavePath(),stroke:color,strokeWidth:\"2\",fill:\"none\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}// import { useEffect, useState } from \"react\"\n// export default function WavyLine({ color = \"#B2B2B2\" }) {\n//     const [width, setWidth] = useState(0)\n//     useEffect(() => {\n//         const updateWidth = () => setWidth(window.innerWidth)\n//         updateWidth() // Set initial width\n//         window.addEventListener(\"resize\", updateWidth)\n//         return () => window.removeEventListener(\"resize\", updateWidth)\n//     }, [])\n//     const generateWavePath = () => {\n//         const N = Math.floor(width / 12) // Number of curves\n//         const step = width / N\n//         const amplitude = 5 // Wave height (adjust for smoother waves)\n//         let path = `M 0 ${amplitude}`\n//         for (let i = 0; i < N; i++) {\n//             const x = step * (i + 1)\n//             const y = i % 2 === 0 ? amplitude * 2 : 0\n//             path += ` Q ${x - step / 2} ${y}, ${x} ${amplitude}`\n//         }\n//         return path\n//     }\n//     return (\n//         <svg width=\"100%\" height=\"10\" viewBox={`0 0 ${width} 10`} fill=\"none\">\n//             <path\n//                 d={generateWavePath()}\n//                 stroke={color}\n//                 strokeWidth=\"2\"\n//                 fill=\"none\"\n//                 strokeLinecap=\"round\"\n//                 strokeLinejoin=\"round\"\n//             />\n//         </svg>\n//     )\n// }\n\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"WavyLine\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Wavy_line.map","// Generated by Framer (3d3d426)\nexport default function metadata(params,activeLocale){return{description:\"Hey 👋🏼, I’m Harsh Tandi—a product designer obsessed with crafting clean, intuitive experiences. For 4+ years, I’ve helped startups and businesses turn complex ideas into seamless digital products.\",favicon:\"https://framerusercontent.com/assets/dyjkPa7ngLxKO4CpXj2Z3agbEuE.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/yX6q3PEIIlCrIvzysyiWHocl3eU.png\",title:\"Harsh Tandi\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2MAEiF,SAAwB,EAAS,CAAC,QAAM,UAAU,CAAC,CAAC,GAAK,CAAC,EAAM,EAAS,CAAC,EAAS,EAAE,CAAC,EAAU,IAAI,CAAC,IAAM,EAAY,IAAI,EAAS,EAAO,WAAW,CACxL,MADyL,IAAa,CACpP,EAAO,iBAAiB,SAAS,EAAY,CAAO,IAAI,EAAO,oBAAoB,SAAS,EAAY,AAAE,EAAC,CAAE,EAAC,CAAC,IAAM,EAAiB,IAAI,CAAC,IAAM,EAAE,KAAK,MAAM,EAAM,GAAG,CACjK,EAAK,EAAM,EAAQ,EAAU,EAC/B,GAAM,MAAM,IAAY,IAAI,IAAI,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,IAAM,EAAE,GAAM,EAAE,GAAS,EAAE,EAAE,GAAI,EAAE,EAAU,EAAE,EAAE,IAAO,KAAK,EAAE,EAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,GAAa,QAAO,CAAM,EAAC,MAAoB,GAAK,MAAM,CAAC,MAAM,OAAO,OAAO,IAAI,SAAS,MAAM,EAAM,IAAI,KAAK,OAAO,SAAsB,EAAK,OAAO,CAAC,EAAE,GAAkB,CAAC,OAAO,EAAM,YAAY,IAAI,KAAK,OAAO,cAAc,QAAQ,eAAe,OAAQ,EAAC,AAAC,EAAC,AAAE,kBAHjZ,GAA2C,IAAsC,GCDjF,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,YAAY,yMAAyM,QAAQ,uEAAuE,OAAO,0BAA0B,YAAY,uEAAuE,MAAM,aAAc,CAAE"}