diff --git a/src/components/templates/mackenzies-mind/header/FullTextSearch.tsx b/src/components/templates/mackenzies-mind/header/FullTextSearch.tsx index 478bbe0f..f9e71be9 100644 --- a/src/components/templates/mackenzies-mind/header/FullTextSearch.tsx +++ b/src/components/templates/mackenzies-mind/header/FullTextSearch.tsx @@ -9,15 +9,14 @@ import makeStyles from "@mui/styles/makeStyles"; import {Theme} from "@mui/material/styles"; import { AnimatedAboutUsSectionType, - HeroAnimatedContentSectionType, ResumeExperience, ResumeExperienceSectionType, ResumeSkill, ResumeSkillSet, + HeroAnimatedContentSectionType, + ResumeExperience, + ResumeSkill, SanityHeroContentSlide, ServiceItemNoRefType } from "../../../BlockContentTypes"; -import ResumeExperienceSection from "../../my-digital-resume/resume-experience-section/ResumeExperienceSection"; import ResumeExperienceItem from "../../my-digital-resume/resume-experience-section/ResumeExperienceItem"; import {COLORS} from "../../../../theme/common/ColorPalette"; -import ResumeSkillsSection from "../../my-digital-resume/resume-skills-section/ResumeSkillsSection"; -import ResumeSkillSetItem from "../../my-digital-resume/resume-skills-section/ResumeSkillSetItem"; import ResumeSkillReferences from "../../my-digital-resume/resume-skills-section/ResumeSkillReferences"; export const useStyles = makeStyles((theme: Theme) => ({ @@ -67,8 +66,8 @@ const FullTextSearch: FunctionComponent = (props: IProps) => { setSearchText(event.target.value) } - return ( - + return ( + = (props: IProps) => { , }}/> - { + { {results?.length && = (props: IProps) => { const convertedResumeExperience: ResumeExperience = theResult; console.log(convertedResumeExperience) - return + return My Experience @@ -184,11 +188,16 @@ const FullTextSearch: FunctionComponent = (props: IProps) => { const convertedResumeSkill: ResumeSkill = theResult; console.log(convertedResumeSkill) - return + return - My Skill - {convertedResumeSkill.title} + My Skill + - {convertedResumeSkill.title} - + default: return = (props) => { } - + + { + setIsSearchOpen(false) + }}> + { - setIsSearchOpen(false) - }}/> + /> + - + diff --git a/src/components/templates/my-digital-resume/resume-bio-section/ResumeBioSection.tsx b/src/components/templates/my-digital-resume/resume-bio-section/ResumeBioSection.tsx index bb643d48..32cd70be 100644 --- a/src/components/templates/my-digital-resume/resume-bio-section/ResumeBioSection.tsx +++ b/src/components/templates/my-digital-resume/resume-bio-section/ResumeBioSection.tsx @@ -72,13 +72,15 @@ const ResumeBioSection: FunctionComponent = (props: IProps) => { /> - + + + diff --git a/src/components/templates/my-digital-resume/resume-portfolio-section/ResumePortfolioEntry.tsx b/src/components/templates/my-digital-resume/resume-portfolio-section/ResumePortfolioEntry.tsx index fffda159..89cc85c9 100644 --- a/src/components/templates/my-digital-resume/resume-portfolio-section/ResumePortfolioEntry.tsx +++ b/src/components/templates/my-digital-resume/resume-portfolio-section/ResumePortfolioEntry.tsx @@ -28,7 +28,7 @@ const ResumePortfolioEntry: FunctionComponent = (props:IProps) => { return (