{"version":3,"file":"shared-lib.ITUELabG.mjs","names":["useState","startTransition"],"sources":["https:/framerusercontent.com/modules/TPrRlRZ2G5dOOY4LTvDl/xBC96H3F8lsHxQgOpmpE/NavBar.js","https:/framerusercontent.com/modules/z7WSccN3OORvW1lIE07T/eOsVrtXhi6LDQ0L74aaW/siteMetadata.js"],"sourcesContent":["// Floating navigation bar with Case Study, About Me, Process, Resume tabs and LinkedIn connect button\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,startTransition}from\"react\";/**\n * @framerIntrinsicWidth 800\n * @framerIntrinsicHeight 60\n * \n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function NavBar(props){const{logo={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Logo\"},logoSize,backgroundColor,textColor,activeTextColor,hoverColor,buttonColor,buttonTextColor,buttonHoverColor,buttonHoverTextColor,font,buttonFont,borderRadius,shadow,gap,padding,linkedinUrl,buttonHoverText,caseStudyLink,aboutMeLink,processLink,resumeLink,style}=props;const[isMobileMenuOpen,setIsMobileMenuOpen]=useState(false);const[isMobile,setIsMobile]=useState(false);const[isButtonHovered,setIsButtonHovered]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;const checkMobile=()=>{startTransition(()=>{setIsMobile(window.innerWidth<768);});};checkMobile();window.addEventListener(\"resize\",checkMobile);return()=>window.removeEventListener(\"resize\",checkMobile);},[]);const navItems=[\"Case Study\",\"About Me\",\"Process\",\"Resume\"];const navLinks={\"Case Study\":caseStudyLink,\"About Me\":aboutMeLink,\"Process\":processLink,\"Resume\":resumeLink};const navItemStyle={...font,color:textColor,textDecoration:\"none\",cursor:\"pointer\",transition:\"color 0.2s ease\",whiteSpace:\"nowrap\"};const buttonStyle={...buttonFont,backgroundColor:buttonColor,color:buttonTextColor,border:\"none\",borderRadius:borderRadius,padding:\"12px 24px\",cursor:\"pointer\",transition:\"background-color 0.2s ease\",whiteSpace:\"nowrap\"};const hamburgerStyle={display:\"flex\",flexDirection:\"column\",gap:\"4px\",cursor:\"pointer\",padding:\"8px\"};const hamburgerLineStyle={width:\"24px\",height:\"2px\",backgroundColor:textColor,transition:\"all 0.3s ease\"};if(isMobile){return /*#__PURE__*/_jsxs(\"nav\",{style:{...style,position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",backgroundColor:backgroundColor,borderRadius:borderRadius,padding:`${padding}px`,boxShadow:shadow?\"0 4px 20px rgba(0, 0, 0, 0.1)\":\"none\"},children:[/*#__PURE__*/_jsx(\"a\",{href:\"/\",style:{display:\"flex\",alignItems:\"center\"},children:/*#__PURE__*/_jsx(\"img\",{src:logo.src,alt:logo.alt||\"Logo\",style:{width:`${logoSize}px`,height:`${logoSize}px`,objectFit:\"contain\",borderRadius:\"4px\"}})}),/*#__PURE__*/_jsxs(\"div\",{style:hamburgerStyle,onClick:()=>startTransition(()=>setIsMobileMenuOpen(!isMobileMenuOpen)),children:[/*#__PURE__*/_jsx(\"div\",{style:hamburgerLineStyle}),/*#__PURE__*/_jsx(\"div\",{style:hamburgerLineStyle}),/*#__PURE__*/_jsx(\"div\",{style:hamburgerLineStyle})]}),isMobileMenuOpen&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:\"100%\",left:0,right:0,backgroundColor:backgroundColor,borderRadius:borderRadius,marginTop:\"8px\",padding:`${padding}px`,boxShadow:shadow?\"0 4px 20px rgba(0, 0, 0, 0.1)\":\"none\",display:\"flex\",flexDirection:\"column\",gap:\"16px\",zIndex:1e3},children:[navItems.map((item,index)=>/*#__PURE__*/_jsx(\"a\",{href:navLinks[item],style:navItemStyle,onClick:()=>startTransition(()=>setIsMobileMenuOpen(false)),onMouseEnter:e=>{e.currentTarget.style.color=hoverColor;},onMouseLeave:e=>{e.currentTarget.style.color=textColor;},children:item},index)),/*#__PURE__*/_jsx(\"a\",{href:linkedinUrl,target:\"_blank\",rel:\"noopener noreferrer\",style:{textDecoration:\"none\"},children:/*#__PURE__*/_jsx(\"button\",{style:{...buttonStyle,width:\"100%\"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=buttonHoverColor;e.currentTarget.style.color=buttonHoverTextColor;startTransition(()=>setIsButtonHovered(true));},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=buttonColor;e.currentTarget.style.color=buttonTextColor;startTransition(()=>setIsButtonHovered(false));},children:\"Let's Connect\"})})]})]});}return /*#__PURE__*/_jsxs(\"nav\",{style:{...style,position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:backgroundColor,borderRadius:borderRadius,padding:`${padding}px`,boxShadow:shadow?\"0 4px 20px rgba(0, 0, 0, 0.1)\":\"none\",gap:`${gap}px`},children:[/*#__PURE__*/_jsx(\"a\",{href:\"/\",style:{display:\"flex\",alignItems:\"center\"},children:/*#__PURE__*/_jsx(\"img\",{src:logo.src,alt:logo.alt||\"Logo\",style:{width:`${logoSize}px`,height:`${logoSize}px`,objectFit:\"contain\",borderRadius:\"4px\"}})}),navItems.map((item,index)=>/*#__PURE__*/_jsx(\"a\",{href:navLinks[item],style:navItemStyle,onMouseEnter:e=>{e.currentTarget.style.color=hoverColor;},onMouseLeave:e=>{e.currentTarget.style.color=textColor;},children:item},index)),/*#__PURE__*/_jsxs(\"a\",{href:linkedinUrl,target:\"_blank\",rel:\"noopener noreferrer\",style:{textDecoration:\"none\",position:\"relative\"},children:[/*#__PURE__*/_jsx(\"button\",{style:buttonStyle,onMouseEnter:e=>{e.currentTarget.style.backgroundColor=buttonHoverColor;e.currentTarget.style.color=buttonHoverTextColor;startTransition(()=>setIsButtonHovered(true));},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=buttonColor;e.currentTarget.style.color=buttonTextColor;startTransition(()=>setIsButtonHovered(false));},children:\"Let's Connect\"}),isButtonHovered&&buttonHoverText&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",bottom:\"calc(100% + 8px)\",left:\"50%\",transform:\"translateX(-50%)\",backgroundColor:\"#333\",color:\"#fff\",padding:\"8px 12px\",borderRadius:\"4px\",fontSize:\"14px\",whiteSpace:\"nowrap\",zIndex:1001,pointerEvents:\"none\"},children:[buttonHoverText,/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"100%\",left:\"50%\",transform:\"translateX(-50%)\",width:0,height:0,borderLeft:\"6px solid transparent\",borderRight:\"6px solid transparent\",borderTop:\"6px solid #333\"}})]})]})]});}addPropertyControls(NavBar,{logo:{type:ControlType.ResponsiveImage,title:\"Logo\"},logoSize:{type:ControlType.Number,title:\"Logo Size\",defaultValue:32,min:16,max:64,step:4,unit:\"px\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},activeTextColor:{type:ControlType.Color,title:\"Active Text\",defaultValue:\"#0099FF\"},hoverColor:{type:ControlType.Color,title:\"Hover Color\",defaultValue:\"#0099FF\"},buttonColor:{type:ControlType.Color,title:\"Button Color\",defaultValue:\"#0099FF\"},buttonTextColor:{type:ControlType.Color,title:\"Button Text\",defaultValue:\"#FFFFFF\"},buttonHoverColor:{type:ControlType.Color,title:\"Button Hover\",defaultValue:\"#0066FF\"},buttonHoverTextColor:{type:ControlType.Color,title:\"Button Hover Text\",defaultValue:\"#FFFFFF\"},font:{type:ControlType.Font,title:\"Nav Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}},buttonFont:{type:ControlType.Font,title:\"Button Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:8,min:0,max:32,step:1},shadow:{type:ControlType.Boolean,title:\"Shadow\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:32,min:8,max:64,step:4,unit:\"px\"},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:16,min:8,max:32,step:4,unit:\"px\"},linkedinUrl:{type:ControlType.String,title:\"LinkedIn URL\",defaultValue:\"https://linkedin.com\"},buttonHoverText:{type:ControlType.String,title:\"Button Tooltip\",defaultValue:\"Connect with me on LinkedIn\"},caseStudyLink:{type:ControlType.String,title:\"Case Study Link\",defaultValue:\"#case-study\"},aboutMeLink:{type:ControlType.String,title:\"About Me Link\",defaultValue:\"#about-me\"},processLink:{type:ControlType.String,title:\"Process Link\",defaultValue:\"#process\"},resumeLink:{type:ControlType.String,title:\"Resume Link\",defaultValue:\"#resume\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NavBar\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"60\",\"framerIntrinsicWidth\":\"800\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NavBar.map","// Generated by Framer (62e9832)\nexport default function metadata(params,activeLocale){return{description:\"Sarah Saavedra is a UX/UI designer with a background in Cognitive Science from UC San Diego. This portfolio features her design work across web and mobile, highlighting user-centered projects focused on usability, accessibility, and visual clarity\",favicon:\"https://framerusercontent.com/assets/5GtBnqMRqDyCOJAXYfSpu7aZwc8.png\",robots:\"max-image-preview:large\",title:\"Sarah Saavedra Portfolio \"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"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