{"version":3,"sources":["webpack:///./src/templates/index.js"],"names":["Index","data","location","posts","pageContext","edges","page","node","isHome","className","dangerouslySetInnerHTML","__html","html","map","key","id"],"mappings":"2FAAA,wDAyDeA,UAxCD,SAAC,GAAqC,IAAnCC,EAAkC,EAAlCA,KAAMC,EAA4B,EAA5BA,SACbC,GADyC,EAAlBC,YACfH,EAAKE,MAAME,OACnBC,EAAOL,EAAKK,KAAKD,MAAM,GAAGE,KAEhC,OACI,oCACI,kBAAC,IAAD,CAAUL,SAAUA,IACpB,kBAAC,IAAD,CAAQM,QAAQ,GACZ,yBAAKC,UAAU,sBACX,kGAEJ,6BAASA,UAAU,YACf,yBAAKA,UAAU,aACX,yBAAKC,wBAAyB,CAAEC,OAAQL,EAAKM,UAGrD,yBAAKH,UAAU,aACX,wBAAIA,UAAU,kBAAd,gBACA,6BAASA,UAAU,oBACdN,EAAMU,KAAI,gBAAGN,EAAH,EAAGA,KAAH,OAEP,kBAAC,IAAD,CAAUO,IAAKP,EAAKQ,GAAIT,KAAMC","file":"component---src-templates-index-js-962064e10ef9f793e193.js","sourcesContent":["import React from 'react'\nimport PropTypes from 'prop-types'\nimport { graphql } from 'gatsby'\n\nimport { Layout, PageCard } from '../components/common'\nimport { MetaData } from '../components/common/meta'\n\n\n\n/**\n* Main index page (home page)\n*\n* Loads all posts from Ghost and uses pagination to navigate through them.\n* The number of posts that should appear per page can be setup\n* in /utils/siteConfig.js under `postsPerPage`.\n*\n*/\nconst Index = ({ data, location, pageContext }) => {\n const posts = data.posts.edges\n const page = data.page.edges[0].node\n\n return (\n <>\n \n \n
\n Promoting Inclusive Economic Development and Community Prosperity\n
\n
\n
\n
\n
\n
\n
\n

Our Services

\n
\n {posts.map(({ node }) => (\n // The tag below includes the markup for each post - components/common/PostCard.js\n \n ))}\n
\n
\n
\n \n )\n}\n\nIndex.propTypes = {\n data: PropTypes.shape({\n allGhostPage: PropTypes.object.isRequired,\n }).isRequired,\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired,\n }).isRequired,\n pageContext: PropTypes.object,\n}\n\nexport default Index\n\n// This page query loads all posts sorted descending by published date\n// The `limit` and `skip` values are used for pagination\nexport const pageQuery = graphql`\n query GhostPostQuery {\n posts: allGhostPost(sort: {order: ASC, fields: published_at}, filter: {tags: {elemMatch: {slug: {eq: \"our-services\"}}}}) {\n edges {\n node {\n id\n feature_image\n excerpt\n title\n slug\n }\n }\n } \n page: allGhostPage(filter: {slug: {eq: \"home\"}}) {\n edges {\n node {\n id\n html\n }\n }\n }\n }\n`\n"],"sourceRoot":""}