import React from 'react' ; import { withRouter } from 'react-router-dom' ; import ReactFullPage from '@fullpage/react-fullpage' ; import PresentationSection from './PresentationSection' ; import AlgorithmsSection from './AlgorithmsSection' ; import './overrides.css' ; const sectionColors = [ '#666A86' , '#788AA3' , '#92B6B1' ] ; const HomePage = withRouter ( ( ) => { return ( < ReactFullPage navigation scrollOverflow = { true } sectionsColor = { sectionColors } render = { ( { state , fullpageApi } ) => { return ( < div id = "fullpage-wrapper" > < PresentationSection /> < AlgorithmsSection / > { } < /div>); } } />); } ) ; export default HomePage ;