{"version":3,"file":"CurrentCity.PqhgO2Wl.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/Eem5btArWr7swwaEQob7/C2zMajtIrKWNezxXwAvl/CurrentCity.js"],"sourcesContent":["import{jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function CurrentCity(){const[city,setCity]=useState(\"your city\");useEffect(()=>{fetch(\"https://api.fetch.tools/location\").then(res=>res.json()).then(data=>{if(data?.city)setCity(data.city);}).catch(err=>{console.error(\"Error fetching location:\",err);});},[]);return /*#__PURE__*/_jsxs(\"div\",{style:{fontSize:\"16px\",fontFamily:'\"Geist\",\"Geist Placeholder\",sans-serif',fontWeight:400,color:\"#4d4c4c\",textAlign:\"center\"},children:[\"from \",city,\" to worldwide to deliver creative projects 2x faster\"]});}\nexport const __FramerMetadata__ = {\"exports\":{\"CurrentCity\":{\"type\":\"reactComponent\",\"name\":\"CurrentCity\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CurrentCity.map"],"mappings":"yHAAmF,SAAgB,GAAa,CAAC,GAAK,CAAC,EAAK,GAASA,EAAS,YAAY,CAAmM,OAAlM,MAAc,CAAC,MAAM,mCAAmC,CAAC,KAAK,GAAK,EAAI,MAAM,CAAC,CAAC,KAAK,GAAM,CAAI,GAAM,MAAK,EAAQ,EAAK,KAAK,EAAG,CAAC,MAAM,GAAK,CAAC,QAAQ,MAAM,2BAA2B,EAAI,EAAG,EAAG,EAAE,CAAC,CAAqB,EAAM,MAAM,CAAC,MAAM,CAAC,SAAS,OAAO,WAAW,yCAAyC,WAAW,IAAI,MAAM,UAAU,UAAU,SAAS,CAAC,SAAS,CAAC,QAAQ,EAAK,uDAAuD,CAAC,CAAC,kBAA/hB,IAAsC"}