-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomponent---src-templates-home-page-js-0aa608e41969b2e542eb.js.map
1 lines (1 loc) · 7.29 KB
/
component---src-templates-home-page-js-0aa608e41969b2e542eb.js.map
1
{"version":3,"sources":["webpack:///./src/components/Offerings/index.js","webpack:///./src/components/Testimonials/index.js","webpack:///./src/components/HomePageTemplate/index.js","webpack:///./src/templates/home-page.js"],"names":["Offerings","gridItems","className","map","item","key","image","style","borderRadius","alt","src","align","title","text","Testimonials","testimonials","testimonial","id","quote","author","HomePageTemplate","heading","description","offerings","meta_title","meta_description","name","content","class","blurbs","pageQuery","HomePage","frontmatter","data","markdownRemark","Layout"],"mappings":"4FAAA,yBA4BeA,IAzBG,SAAC,GAAD,IAAGC,EAAH,EAAGA,UAAH,OAChB,yBAAKC,UAAU,wBACZD,EAAUE,KAAI,SAAAC,GAAI,OACjB,yBAAKC,IAAKD,EAAKE,MAAOJ,UAAU,cAAcK,MAAO,CAAEC,aAAc,QACnE,6BAASN,UAAU,WACjB,uBAAGA,UAAU,qBACX,yBAAKO,IAAI,GAAGC,IAAKN,EAAKE,SAExB,wBAAIK,MAAM,UAAUP,EAAKQ,OACzB,2BAAIR,EAAKS,c,+ICcJC,EAvBM,SAAC,GAAD,IAAGC,EAAH,EAAGA,aAAH,OACnB,6BACGA,EAAaZ,KAAI,SAACa,EAAaC,GAAd,OAChB,6BAASf,UAAU,UAAUG,IAAKY,GAChC,yBAAKf,UAAU,gBACZc,EAAYE,MACb,6BACA,oCAAUF,EAAYG,eCuEjBC,EA3EU,SAAC,GAAD,IACvBR,EADuB,EACvBA,MACAS,EAFuB,EAEvBA,QACAC,EAHuB,EAGvBA,YACAC,EAJuB,EAIvBA,UACAC,EALuB,EAKvBA,WACAC,EANuB,EAMvBA,iBACAV,EAPuB,EAOvBA,aAPuB,OASvB,6BACE,kBAAC,IAAD,KACE,+BAAQS,GACR,0BAAME,KAAK,cAAcC,QAASF,KAEpC,6BAASvB,UAAU,qCACjB,yBAAKA,UAAU,aACb,yBAAKA,UAAU,aACb,yBAAKA,UAAU,WACb,yBAAKA,UAAU,4BACb,yBAAKA,UAAU,WACb,wBAAIA,UAAU,SACXU,SAQf,6BAASV,UAAU,6BACjB,yBAAKA,UAAU,aAEb,yBAAKA,UAAU,WACb,yBAAKA,UAAU,WACb,yBAAKA,UAAU,4BACb,yBAAKA,UAAU,WACb,6BACE,wBAAIA,UAAU,sCACXmB,GAEH,2BAAIC,IAEN,6BACA,6BACE,wBAAIM,MAAM,kDAAV,yBAIF,6BACA,kBAAC5B,EAAA,EAAD,CAAWC,UAAWsB,EAAUM,UAEhC,wBAAI3B,UAAU,sCAAd,gBACA,kBAAC,EAAD,CAAca,aAAcA,Y,YCxB/Be,GAFEC,UA1BE,SAAC,GAAc,IACtBC,EADqB,EAAXC,KACWC,eAArBF,YAER,OACE,kBAACG,EAAA,EAAD,KACE,kBAAC,EAAD,CACEvB,MAAOoB,EAAYpB,MACnBY,WAAYQ,EAAYR,WACxBC,iBAAkBO,EAAYP,iBAC9BJ,QAASW,EAAYX,QACrBC,YAAaU,EAAYV,YACzBC,UAAWS,EAAYT,UACvBR,aAAciB,EAAYjB,iBAgBZ","file":"component---src-templates-home-page-js-0aa608e41969b2e542eb.js","sourcesContent":["import React from 'react'\r\nimport PropTypes from 'prop-types'\r\n\r\nconst Offerings = ({ gridItems }) => (\r\n <div className='columns is-multiline'>\r\n {gridItems.map(item => (\r\n <div key={item.image} className='column is-6' style={{ borderRadius: '5px' }}>\r\n <section className='section'>\r\n <p className='has-text-centered'>\r\n <img alt='' src={item.image} />\r\n </p>\r\n <h1 align='center'>{item.title}</h1>\r\n <p>{item.text}</p>\r\n </section>\r\n </div>\r\n ))}\r\n </div>\r\n)\r\n\r\nOfferings.propTypes = {\r\n gridItems: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n image: PropTypes.string,\r\n text: PropTypes.string,\r\n })\r\n ),\r\n}\r\n\r\nexport default Offerings\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\n\r\nconst Testimonials = ({ testimonials }) => (\r\n <div>\r\n {testimonials.map((testimonial, id) => (\r\n <article className='message' key={id}>\r\n <div className='message-body'>\r\n {testimonial.quote}\r\n <br />\r\n <cite> – {testimonial.author}</cite>\r\n </div>\r\n </article>\r\n ))}\r\n </div>\r\n)\r\n\r\nTestimonials.propTypes = {\r\n testimonials: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n quote: PropTypes.string,\r\n author: PropTypes.string,\r\n })\r\n ),\r\n}\r\n\r\nexport default Testimonials\r\n","import React from 'react'\r\nimport Helmet from 'react-helmet'\r\nimport Offerings from '../Offerings'\r\nimport Testimonials from '../Testimonials'\r\nimport PropTypes from 'prop-types'\r\n\r\nconst HomePageTemplate = ({\r\n title,\r\n heading,\r\n description,\r\n offerings,\r\n meta_title,\r\n meta_description,\r\n testimonials,\r\n}) => (\r\n <div>\r\n <Helmet>\r\n <title>{meta_title}</title>\r\n <meta name='description' content={meta_description} />\r\n </Helmet>\r\n <section className='hero is-primary is-bold is-medium'>\r\n <div className='hero-body'>\r\n <div className='container'>\r\n <div className='columns'>\r\n <div className='column is-10 is-offset-1'>\r\n <div className='section'>\r\n <h1 className='title'>\r\n {title}\r\n </h1>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </section>\r\n <section className='section section--gradient'>\r\n <div className='container'>\r\n\r\n <div className='section'>\r\n <div className='columns'>\r\n <div className='column is-10 is-offset-1'>\r\n <div className='content'>\r\n <div>\r\n <h3 className='has-text-weight-semibold is-size-2'>\r\n {heading}\r\n </h3>\r\n <p>{description}</p>\r\n </div>\r\n <br/>\r\n <div>\r\n <h3 class='elementor-heading-title elementor-size-default'>\r\n Main practice areas:\r\n </h3>\r\n </div>\r\n <div>\r\n <Offerings gridItems={offerings.blurbs} />\r\n </div>\r\n <h2 className='has-text-weight-semibold is-size-2'>Testimonials</h2>\r\n <Testimonials testimonials={testimonials} />\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </section>\r\n </div>\r\n)\r\n\r\nHomePageTemplate.propTypes = {\r\n title: PropTypes.string,\r\n meta_title: PropTypes.string,\r\n meta_description: PropTypes.string,\r\n heading: PropTypes.string,\r\n description: PropTypes.string,\r\n offerings: PropTypes.shape({\r\n blurbs: PropTypes.array,\r\n }),\r\n testimonials: PropTypes.array,\r\n\r\n}\r\n\r\nexport default HomePageTemplate\r\n","import React from 'react'\r\nimport PropTypes from 'prop-types'\r\nimport { graphql } from 'gatsby'\r\nimport HomePageTemplate from '../components/HomePageTemplate'\r\nimport Layout from '../components/Layout'\r\n\r\nconst HomePage = ({ data }) => {\r\n const { frontmatter } = data.markdownRemark\r\n\r\n return (\r\n <Layout>\r\n <HomePageTemplate\r\n title={frontmatter.title}\r\n meta_title={frontmatter.meta_title}\r\n meta_description={frontmatter.meta_description}\r\n heading={frontmatter.heading}\r\n description={frontmatter.description}\r\n offerings={frontmatter.offerings}\r\n testimonials={frontmatter.testimonials}\r\n />\r\n </Layout>\r\n )\r\n}\r\n\r\nHomePage.propTypes = {\r\n data: PropTypes.shape({\r\n markdownRemark: PropTypes.shape({\r\n frontmatter: PropTypes.object,\r\n }),\r\n }),\r\n}\r\n\r\nexport default HomePage\r\n\r\nexport const pageQuery = graphql`\r\n query IndexPage($id: String!) {\r\n markdownRemark(id: { eq: $id }) {\r\n frontmatter {\r\n title\r\n meta_title\r\n meta_description\r\n heading\r\n description\r\n offerings {\r\n blurbs {\r\n image\r\n title\r\n text\r\n }\r\n }\r\n testimonials {\r\n author\r\n quote\r\n }\r\n }\r\n }\r\n }\r\n`\r\n"],"sourceRoot":""}