diff --git a/src/components/templates/mackenzies-mind/header/FullTextSearch.tsx b/src/components/templates/mackenzies-mind/header/FullTextSearch.tsx index 75d0a6e6..7a08d7c3 100644 --- a/src/components/templates/mackenzies-mind/header/FullTextSearch.tsx +++ b/src/components/templates/mackenzies-mind/header/FullTextSearch.tsx @@ -128,8 +128,8 @@ const FullTextSearch: FunctionComponent = (props: IProps) => { {/*{convertedResumeSkill.title}*/} - {convertedAnimatedHeroSection.contentSlides.map((slide: SanityHeroContentSlide) => { - return { + return = (props: IProps) => { case "ResumeExperience": const convertedResumeExperience: ResumeExperience = theResult; - console.log(convertedResumeExperience) return = (props: IProps) => { case "ResumeSkill": const convertedResumeSkill: ResumeSkill = theResult; - return = (props: IProps) => { My Bio - {resumeBioSectionObj.title} - + default: return ({ - hover:{ + hover: { "&:hover": { backgroundColor: "lightgray !important", color: "#383838" } }, - hoverSearch:{ + hoverSearch: { "&:hover": { color: theme.palette.primary.main } @@ -34,7 +34,7 @@ export type HeaderProps = { isSearch?: boolean updateIsLoading?: (value: boolean) => void isEnhanced?: boolean - backgroundColor?:string + backgroundColor?: string } const Header: FunctionComponent = (props) => { @@ -45,7 +45,8 @@ const Header: FunctionComponent = (props) => { const mdDown = useMediaQuery(customizedTheme.breakpoints.down('md')) const [isSearchOpen, setIsSearchOpen] = React.useState(false) - return ( + return ( + {props.pageHeader?.title ? @@ -86,15 +87,15 @@ const Header: FunctionComponent = (props) => { paddingRight: mdDown ? "16px" : "8px", borderLeft: `1px solid ${customizedTheme.palette.primary.main}` }}> - { + setIsSearchOpen((state) => !state) + }} color='secondary' sx={{ // marginLeft: "32px", // marginRight: "32px", color: customizedTheme.palette.text.secondary, backgroundColor: customizedTheme.palette.primary.main }} className={classes.hoverSearch}> - { - setIsSearchOpen((state) => !state) - }}/> + } @@ -104,18 +105,20 @@ const Header: FunctionComponent = (props) => { - { - setIsSearchOpen(false) - }} className={classes.hover}> + { + setIsSearchOpen(false) + }} + className={classes.hover}> - + = (props: IProps) => { @@ -23,13 +25,13 @@ const ResumeBioSection: FunctionComponent = (props: IProps) => { return ( - + {!props.isHideEmail && - + } {props.sectionData.title} @@ -81,7 +83,7 @@ const ResumeBioSection: FunctionComponent = (props: IProps) => { }}> - + {!props.isHideButtons && }*/} - + } ); } diff --git a/src/components/templates/my-digital-resume/resume-experience-section/ResumeExperienceSection.tsx b/src/components/templates/my-digital-resume/resume-experience-section/ResumeExperienceSection.tsx index 31d642a2..899b0c52 100644 --- a/src/components/templates/my-digital-resume/resume-experience-section/ResumeExperienceSection.tsx +++ b/src/components/templates/my-digital-resume/resume-experience-section/ResumeExperienceSection.tsx @@ -34,7 +34,7 @@ const ResumeExperienceSection: FunctionComponent = (props: IProps) => { { props.sectionData.experiences?.map((experience: ResumeExperience, index2: number) => { - return + return }) } diff --git a/src/components/templates/my-digital-resume/resume-portfolio-section/ResumePortfolioSection.tsx b/src/components/templates/my-digital-resume/resume-portfolio-section/ResumePortfolioSection.tsx index 24cc8d24..2a25f4a9 100644 --- a/src/components/templates/my-digital-resume/resume-portfolio-section/ResumePortfolioSection.tsx +++ b/src/components/templates/my-digital-resume/resume-portfolio-section/ResumePortfolioSection.tsx @@ -51,7 +51,7 @@ const ResumePortfolioSection: FunctionComponent = (props: IProps) => { { props.sectionData.portfolioEntries?.map((portfolioItem: ResumePortfolioItem, index2: number) => { - return + return }) } diff --git a/src/components/templates/my-digital-resume/resume-skills-section/ResumeSkillsSection.tsx b/src/components/templates/my-digital-resume/resume-skills-section/ResumeSkillsSection.tsx index e949eaa1..a200748f 100644 --- a/src/components/templates/my-digital-resume/resume-skills-section/ResumeSkillsSection.tsx +++ b/src/components/templates/my-digital-resume/resume-skills-section/ResumeSkillsSection.tsx @@ -41,7 +41,7 @@ const ResumeSkillsSection: FunctionComponent = (props: IProps) => { { props.sectionData?.skillsets?.map((skillset: ResumeSkillSet, index2: number) => { - return + return }) }