{"version":3,"sources":["webpack:///./src/common/components/templates/Home.tsx","webpack:///./src/common/pages/HomePage.tsx"],"names":["Home","props","jumbotron","layout","sections","Layout","noBreadcrumbs","Hero","getSections","HomePage","pageContext","getHomeData","console","log","VERSION","data","getJumbotronData","hero","getLayoutData"],"mappings":"oQAWaA,EAA4B,SAACC,GAAU,IACxCC,EAAgCD,EAAhCC,UAAWC,EAAqBF,EAArBE,OAAQC,EAAaH,EAAbG,SAE3B,OACI,eAACC,EAAA,EAAD,iBAAYF,EAAZ,CAAoBG,eAAa,EAAjC,UACI,cAACC,EAAA,EAAD,iBAAUL,IACTM,YAAYJ,Q,wBCNZK,EAAoC,SAAC,GAAoB,IAAlBC,EAAkB,EAAlBA,YAChD,OAAO,cAAC,EAAD,iBAAUC,EAAYD,MAEjCE,QAAQC,IAAR,IAAgBC,KAEDL,gBAEFE,EAAc,SAACI,GAAc,MACtC,MAAO,CACHb,UAAWc,YAAiBD,SAAD,UAACA,EAAME,YAAP,aAAC,EAAa,IACzCd,OAAQe,YAAcH,GACtBX,SAAUW,EAAKX","file":"component---src-common-pages-home-page-tsx-2c27eafd15cdf1ab8892.js","sourcesContent":["import { Layout, LayoutProps } from 'common/components/organisms/Layout'\nimport React from 'react'\nimport { Hero } from '../organisms/Hero'\nimport { JumbotronProps } from '../organisms/Jumbotron'\nimport { getSections, Section } from './Generic'\nexport interface HomeProps {\n jumbotron: JumbotronProps\n layout: LayoutProps\n sections: Section[]\n}\n\nexport const Home: React.FC = (props) => {\n const { jumbotron, layout, sections } = props\n\n return (\n \n \n {getSections(sections)}\n \n )\n}\n","import { RouteComponentProps } from '@reach/router'\nimport { getJumbotronData } from 'common/components/organisms/Jumbotron'\nimport { Home } from 'common/components/templates/Home'\nimport { getLayoutData } from 'common/utils/getLayoutData'\nimport { VERSION } from 'core/config/env'\nimport React from 'react'\n\nexport interface HomePageProps extends RouteComponentProps {\n pageContext: any\n}\n\nexport const HomePage: React.FC = ({ pageContext }) => {\n return \n}\nconsole.log(`v${VERSION}`)\n\nexport default HomePage\n\nexport const getHomeData = (data: any) => {\n return {\n jumbotron: getJumbotronData(data?.hero?.[0]),\n layout: getLayoutData(data),\n sections: data.sections,\n }\n}\n"],"sourceRoot":""}