{"version":3,"file":"ProjectMast.y3VECTYX.mjs","names":[],"sources":["https:/framerusercontent.com/modules/3acsyEYxdUkU8rHQHzpf/KhaNeiBJCfY7M5kcUTiy/ProjectMast.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function ProjectMasthead(props){const{eyebrow,client,clientLogo,clientLogoUrl,title,tagline,description,engagement,paper,ink,blue,mobile,wide}=props;const M=mobile;const W=!M&&wide;const padX=M?20:W?96:48;const padTop=M?56:W?110:80;const padBottom=M?36:W?72:56;const eyebrowSize=M?10:W?12:11;const clientSize=M?16:W?22:18;const titleSize=M?48:W?168:120;const taglineSize=M?20:W?32:26;const descSize=M?16:W?22:18;const metaSize=M?11:W?13:12;const logoSrc=clientLogoUrl&&clientLogoUrl.trim()||clientLogo;const logoH=M?22:W?40:30;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",background:paper,color:ink,fontFamily:\"Copernicus, Georgia, serif\",boxSizing:\"border-box\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{padding:`${padTop}px ${padX}px ${padBottom}px`},children:[eyebrow&&/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:M?\"1fr\":\"1fr auto\",alignItems:\"baseline\",gap:M?8:24,rowGap:8,marginBottom:M?18:28},children:/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:\"Futura, sans-serif\",fontSize:eyebrowSize,letterSpacing:\"0.4em\",textTransform:\"uppercase\",opacity:.55},children:eyebrow})}),(client||logoSrc||engagement)&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gridTemplateColumns:M?\"1fr\":\"1fr auto\",alignItems:\"center\",gap:M?8:24,rowGap:10},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:14,flexWrap:\"wrap\"},children:[logoSrc&&/*#__PURE__*/_jsx(\"img\",{src:logoSrc,alt:client,style:{height:logoH,width:\"auto\",objectFit:\"contain\",display:\"block\",flexShrink:0}}),client&&/*#__PURE__*/_jsx(\"div\",{style:{fontStyle:\"italic\",fontWeight:500,fontSize:clientSize,letterSpacing:\"-0.005em\",opacity:.85},children:client})]}),engagement&&/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:\"Futura, sans-serif\",fontSize:metaSize,letterSpacing:\"0.3em\",textTransform:\"uppercase\",opacity:.6,whiteSpace:\"nowrap\",textAlign:M?\"left\":\"right\"},children:engagement})]}),/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:M?12:18,fontWeight:600,fontStyle:\"italic\",fontSize:titleSize,letterSpacing:\"-0.04em\",lineHeight:.93,maxWidth:M?\"100%\":W?1500:1100},children:[title,/*#__PURE__*/_jsx(\"span\",{style:{color:blue,fontStyle:\"normal\"},children:\".\"})]}),tagline&&/*#__PURE__*/_jsx(\"div\",{style:{marginTop:M?22:36,fontStyle:\"italic\",fontWeight:500,fontSize:taglineSize,letterSpacing:\"-0.01em\",lineHeight:1.3,opacity:.92,maxWidth:M?\"100%\":W?1100:820},children:tagline}),description&&/*#__PURE__*/_jsx(\"div\",{style:{marginTop:M?14:18,fontStyle:\"normal\",fontSize:descSize,lineHeight:1.55,opacity:.78,maxWidth:M?\"100%\":W?900:720},children:description})]})});}ProjectMasthead.defaultProps={eyebrow:\"\",client:\"Sir Kensington's\",clientLogo:\"\",clientLogoUrl:\"\",title:\"Fries of New York\",tagline:\"An uncommon exhibit for the kindred tale of french fries and ketchup.\",description:\"How do you get busy New Yorkers to stop and think about a lowly condiment? With an exhibit of over one hundred individual fries from iconic New York City restaurants and chefs across the city. Because you can't have fries without ketchup.\",engagement:\"Direct to client\",paper:\"#F4EFE6\",ink:\"#121212\",blue:\"#006EB6\",mobile:false,wide:false,width:1280,height:460};addPropertyControls(ProjectMasthead,{eyebrow:{type:ControlType.String,title:\"Eyebrow\",defaultValue:\"\",description:\"Optional. Leave blank to omit.\"},client:{type:ControlType.String,title:\"Client\",defaultValue:\"Sir Kensington's\"},clientLogo:{type:ControlType.Image,title:\"Client logo (file)\"},clientLogoUrl:{type:ControlType.String,title:\"Client logo URL\",defaultValue:\"\",description:\"Overrides logo file if set\"},title:{type:ControlType.String,title:\"Title\",displayTextArea:true,defaultValue:\"Fries of New York\"},tagline:{type:ControlType.String,title:\"Tagline\",displayTextArea:true,defaultValue:\"\",description:\"Short ALL-CAPS hook — the press-release lede\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true,defaultValue:\"\",description:\"Italic prose paragraph that follows the tagline\"},engagement:{type:ControlType.String,title:\"Engagement\",defaultValue:\"Direct to client\",description:\"e.g. 'Direct to client' or 'Through Anomaly NY'\"},paper:{type:ControlType.Color,title:\"Paper\",defaultValue:\"#F4EFE6\"},ink:{type:ControlType.Color,title:\"Ink\",defaultValue:\"#121212\"},blue:{type:ControlType.Color,title:\"Accent (blue)\",defaultValue:\"#006EB6\"},mobile:{type:ControlType.Boolean,title:\"Mobile\",defaultValue:false,description:\"Turn ON in Phone breakpoint\"},wide:{type:ControlType.Boolean,title:\"Wide\",defaultValue:false,description:\"Turn ON in Large Desktop breakpoint\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProjectMasthead\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProjectMast.map"],"mappings":"mKAA6G,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,UAAQ,SAAO,aAAW,gBAAc,QAAM,UAAQ,cAAY,aAAW,QAAM,MAAI,OAAK,SAAO,QAAM,EAAY,EAAE,EAAa,EAAE,CAAC,GAAG,EAAW,EAAK,EAAE,GAAG,EAAE,GAAG,GAAS,EAAO,EAAE,GAAG,EAAE,IAAI,GAAS,EAAU,EAAE,GAAG,EAAE,GAAG,GAAS,EAAY,EAAE,GAAG,EAAE,GAAG,GAAS,EAAW,EAAE,GAAG,EAAE,GAAG,GAAS,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