render() {
    
        let textToDisplay = null;
        if(this.props.coreText == "aboutme"){
            textToDisplay = aboutme;
        }
        if(this.props.coreText == "experiences"){
            textToDisplay = experiences;
        }
        if(this.props.coreText == "resume"){
            textToDisplay = resume;
        }
        if(this.props.coreText == "projects"){
            textToDisplay = projects;
        }
        if(!textToDisplay){
            textToDisplay = "Failed to load"
            console.log(this.props.coreText)
        }
        return (
            <span className="overview-page-outer">
            <span className="overview-page-inner">
            {this.props.coreText == "aboutme" ? <div className="headshot-image"><img src={headshot} width="50%"/></div> : null}
            <br />
            <div className="message-content" >
            {textToDisplay}
            </div>
            </span>
            </span>
        );
    }
//Should have item in props.

Should have item in props.
Should have item in props .
render() {
        let textToDisplay = null;
        if(this.props.coreText == "aboutme"){
            textToDisplay = aboutme;
        }
        if(this.props.coreText == "experiences"){
            textToDisplay = experiences;
        }
        if(this.props.coreText == "resume"){
            textToDisplay = resume;
        }
        if(this.props.coreText == "projects"){
            textToDisplay = projects;
        }
        if(!textToDisplay){
            textToDisplay = "Failed to load"
            console.log(this.props.coreText)
        }
        return (
            <span className="overview-page-outer">
            <span className="overview-page-inner">
            {this.props.coreText == "aboutme" ? <div className="headshot-image"><img src={headshot} width="50%"/></div> : null}
            <br />
            <div className="message-content" >
            {textToDisplay}
            </div>
            </span>
            </span>
        );
    }
render ( ) { let textToDisplay = null ; if ( this . props . coreText == "aboutme" ) { textToDisplay = aboutme ; } if ( this . props . coreText == "experiences" ) { textToDisplay = experiences ; } if ( this . props . coreText == "resume" ) { textToDisplay = resume ; } if ( this . props . coreText == "projects" ) { textToDisplay = projects ; } if ( ! textToDisplay ) { textToDisplay = "Failed to load" console . log ( this . props . coreText ) } return ( < span className = "overview-page-outer" > < span className = "overview-page-inner" > { this . props . coreText == "aboutme" ? < div className = "headshot-image" > < img src = { headshot } width = "50%" / > < / div > : null } < br / > < div className = "message-content" > { textToDisplay } < / div > < / span > < / span > ) ; }
Should have item in props.
Should have item in props .