{"version":3,"file":"CityVisualGrid.DTInQ_tp.mjs","names":["useMemo","_Fragment"],"sources":["https:/framerusercontent.com/modules/tSDVPL6fcJWzZ9x7TPVi/cOAjwd2oUBCOMqHgipsx/CityVisualGrid.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useMemo}from\"react\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function CityVisualGrid(props){const{glasgowUrl,edinburghUrl,miltonKeynesUrl,coventryUrl,leedsUrl,leicesterUrl,aberdeenUrl,peterboroughUrl,portsmouthUrl}=props;const images=useMemo(()=>[{src:glasgowUrl,alt:\"Glasgow\"},{src:edinburghUrl,alt:\"Edinburgh\"},{src:miltonKeynesUrl,alt:\"Milton Keynes\"},{src:coventryUrl,alt:\"Coventry\"},{src:leedsUrl,alt:\"Leeds\"},{src:leicesterUrl,alt:\"Leicester\"},{src:aberdeenUrl,alt:\"Aberdeen\"},{src:peterboroughUrl,alt:\"Peterborough\"},{src:portsmouthUrl,alt:\"Portsmouth\"}],[glasgowUrl,edinburghUrl,miltonKeynesUrl,coventryUrl,leedsUrl,leicesterUrl,aberdeenUrl,peterboroughUrl,portsmouthUrl]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @media (max-width: 700px) {\n                    .city-visual-grid {\n                        grid-template-columns: 1fr !important;\n                    }\n                }\n            `}),/*#__PURE__*/_jsx(\"div\",{className:\"city-visual-grid\",style:{position:\"relative\",width:\"100%\",display:\"grid\",gridTemplateColumns:\"1fr 1fr 1fr\",gap:8},children:images.map(image=>/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",aspectRatio:\"16 / 9\"},children:/*#__PURE__*/_jsx(\"img\",{src:image.src,alt:image.alt,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",display:\"block\",objectFit:\"cover\"}})},image.alt))})]});}addPropertyControls(CityVisualGrid,{glasgowUrl:{type:ControlType.String,title:\"Glasgow URL\",defaultValue:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\"},edinburghUrl:{type:ControlType.String,title:\"Edinburgh URL\",defaultValue:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\"},miltonKeynesUrl:{type:ControlType.String,title:\"Milton Keynes URL\",defaultValue:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\"},coventryUrl:{type:ControlType.String,title:\"Coventry URL\",defaultValue:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\"},leedsUrl:{type:ControlType.String,title:\"Leeds URL\",defaultValue:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\"},leicesterUrl:{type:ControlType.String,title:\"Leicester URL\",defaultValue:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\"},aberdeenUrl:{type:ControlType.String,title:\"Aberdeen URL\",defaultValue:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\"},peterboroughUrl:{type:ControlType.String,title:\"Peterborough URL\",defaultValue:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\"},portsmouthUrl:{type:ControlType.String,title:\"Portsmouth URL\",defaultValue:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CityVisualGrid\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CityVisualGrid.map"],"mappings":"wLAGG,SAAwB,EAAe,EAAM,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