{"version":3,"file":"AboutSection.DMaBOW5d.mjs","names":["useState","p"],"sources":["https:/framerusercontent.com/modules/zaalvc78zuRmH8OvQ5xe/TXsbfoa68NGRa65SrbTV/AboutSection.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * ABOUT SECTION — portrait + bio\n *\n * Two-column section (portrait beside bio) that stacks on narrow widths.\n * Responsiveness is handled with a CSS *container query*, so it lays out\n * based on the component's own width — correct in Framer's tablet/phone\n * breakpoint frames and on real devices alike (no JS width measuring).\n *\n * Matches the site: Amelie Fierce display heading, Switzer body. Drop a\n * real photo into the \"Photo\" slot; until then it shows a placeholder.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function AboutSection(props){const{label,heading,bio,image,buttonLabel,buttonLink,bgColor,textColor,mutedColor,displayFont,fontFamily,breakpoint,paddingX}=props;// Unique class so multiple instances / different props never collide.\nconst[uid]=useState(()=>\"as-\"+Math.random().toString(36).slice(2,8));const bodyStack=fontFamily&&fontFamily!==\"inherit\"?fontFamily:'Switzer, \"Switzer Placeholder\", sans-serif';const displayStack=displayFont&&displayFont!==\"inherit\"?displayFont:'\"Amelie Fierce Regular\", \"Amelie Fierce Regular Placeholder\", serif';// Split bio into paragraphs on blank lines.\nconst paragraphs=(bio||\"\").split(/\\n\\s*\\n/).map(p=>p.trim()).filter(Boolean);const css=`\n.${uid}{width:100%;box-sizing:border-box;container-type:inline-size;}\n.${uid} .as-pad{padding:120px ${paddingX}px;box-sizing:border-box;}\n.${uid} .as-row{display:flex;flex-direction:row;align-items:center;gap:72px;max-width:1100px;margin:0 auto;}\n.${uid} .as-photo{flex:0 0 42%;width:100%;}\n.${uid} .as-img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block;}\n.${uid} .as-ph{width:100%;aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;background:#E4E0D6;}\n.${uid} .as-bio{flex:1;min-width:0;}\n.${uid} .as-heading{font-size:46px;}\n@container (max-width:${breakpoint}px){\n.${uid} .as-pad{padding:72px ${paddingX}px;}\n.${uid} .as-row{flex-direction:column;align-items:stretch;gap:36px;}\n.${uid} .as-photo{flex:none;max-width:420px;}\n.${uid} .as-heading{font-size:34px;}\n}\n`;const photo=image?/*#__PURE__*/_jsx(\"img\",{className:\"as-img\",src:image,alt:heading}):/*#__PURE__*/_jsx(\"div\",{className:\"as-ph\",children:/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:bodyStack,color:mutedColor,fontSize:12,letterSpacing:\"0.16em\",textTransform:\"uppercase\"},children:\"Your photo here\"})});return /*#__PURE__*/_jsxs(\"div\",{className:uid,style:{background:bgColor,fontFamily:bodyStack},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(\"div\",{className:\"as-pad\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"as-row\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"as-photo\",children:photo}),/*#__PURE__*/_jsxs(\"div\",{className:\"as-bio\",children:[label?/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:bodyStack,color:mutedColor,fontSize:12,fontWeight:600,letterSpacing:\"0.18em\",textTransform:\"uppercase\",marginBottom:18},children:label}):null,/*#__PURE__*/_jsx(\"h2\",{className:\"as-heading\",style:{fontFamily:displayStack,color:textColor,fontWeight:400,letterSpacing:\"0.02em\",lineHeight:1.1,margin:0,marginBottom:28},children:heading}),paragraphs.map((p,i)=>/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:bodyStack,color:mutedColor,fontSize:16,lineHeight:1.75,margin:0,marginBottom:i<paragraphs.length-1?18:0},children:p},i)),buttonLabel?/*#__PURE__*/_jsx(\"a\",{href:buttonLink,style:{display:\"block\",width:\"fit-content\",margin:\"44px auto 0\",textAlign:\"center\",padding:\"12px 28px\",border:`1px solid ${textColor}`,borderRadius:999,fontFamily:bodyStack,fontSize:12,fontWeight:600,letterSpacing:\"0.16em\",textTransform:\"uppercase\",textDecoration:\"none\",color:textColor,background:\"transparent\"},children:buttonLabel}):null]})]})})]});}AboutSection.defaultProps={label:\"About the Artist\",heading:\"AnNA SAgAN\",bio:\"Anna Sagan is an Arkansas-born, Los Angeles–based artist working primarily in painting. Her practice moves between original works and commissioned pieces, each one built up slowly through layers of color and material.\\n\\nDrawn to texture and the way a surface holds light, she treats every canvas as a record of decisions made in real time — an exploration of color, material, and the quiet beauty of making sense of things as we go.\\n\\nShe works closely with collectors on commissions, translating a space, a feeling, or a moment into a piece made to live with for years.\",image:\"\",buttonLabel:\"\",buttonLink:\"/about\",bgColor:\"transparent\",textColor:\"#1A1A1A\",mutedColor:\"#5F5C55\",displayFont:\"inherit\",fontFamily:\"inherit\",breakpoint:900,paddingX:48};addPropertyControls(AboutSection,{label:{type:ControlType.String,title:\"Label\"},heading:{type:ControlType.String,title:\"Heading\"},bio:{type:ControlType.String,title:\"Bio\",displayTextArea:true,description:\"Separate paragraphs with a blank line.\"},image:{type:ControlType.Image,title:\"Photo\"},buttonLabel:{type:ControlType.String,title:\"Button Label\",description:\"Leave empty to hide the button.\"},buttonLink:{type:ControlType.String,title:\"Button Link\"},bgColor:{type:ControlType.Color,title:\"Background\"},textColor:{type:ControlType.Color,title:\"Heading Color\"},mutedColor:{type:ControlType.Color,title:\"Body Color\"},displayFont:{type:ControlType.String,title:\"Display Font\"},fontFamily:{type:ControlType.String,title:\"Body Font\"},breakpoint:{type:ControlType.Number,title:\"Stack <\",min:320,max:1200,step:10,unit:\"px\"},paddingX:{type:ControlType.Number,title:\"Side Pad\",min:0,max:120,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AboutSection\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//#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