blob: a5236d333a615f14f3c0e055aaa2145f5f2bbe21 [file] [log] [blame]
{"version":3,"sources":["webpack:///./src/templates/main.jsx","webpack:///./src/components/footer.jsx"],"names":["pageQuery","Main","data","markdownRemark","frontmatter","title","description","__html","html","langKey","pageContext","className","lang","dangerouslySetInnerHTML","ExternalLink","href","target","rel","Footer","resolvePath","resolveI18nPath","to"],"mappings":"6FAAA,8GA+BaA,GA/Bb,UA+BsB,cAcPC,UAtCF,SAAC,GAQP,IAAD,IAPJC,KACEC,eAME,IALAC,YAAcC,EAKd,EALcA,MAAOC,EAKrB,EALqBA,YACfC,EAIN,EAJAC,KAGUC,EACV,EADJC,YAAcD,QAEd,OACE,yBAAKE,UAAU,iBACb,kBAAC,IAAD,CAAKN,MAAOA,EAAOC,YAAaA,EAAaM,KAAMH,IACnD,kBAAC,IAAD,CAAQG,KAAMH,IACd,yBAAKE,UAAU,uBACb,yBACEA,UAAU,yBACVE,wBAAyB,CAACN,aAG9B,kBAAC,IAAD,CAAQK,KAAMH,O,kCC1BpB,iDAKMK,EAAe,SAAC,GAAD,IAAEC,EAAF,EAAEA,KAAMV,EAAR,EAAQA,MAAR,OACnB,uBAAGU,KAAMA,EAAMC,OAAO,SAASC,IAAI,gCAAgCZ,IAqCtDa,IAlCA,SAAC,GAAY,IAAXN,EAAU,EAAVA,KACTO,EAAcC,0BAAgBR,GACpC,OACE,yBAAKD,UAAU,wBACb,yBAAKA,UAAU,+BACb,wBAAIA,UAAU,oCACZ,4BAAI,kBAAC,IAAD,CAAMU,GAAIF,EAAY,0BAAtB,gBACJ,4BAAI,kBAAC,IAAD,CAAME,GAAIF,EAAY,UAAtB,SACJ,4BAAI,kBAAC,IAAD,CAAME,GAAIF,EAAY,iBAAtB,gBACJ,4BAAI,kBAAC,IAAD,CAAME,GAAIF,EAAY,2BAAtB,qBACJ,4BAAI,kBAAC,IAAD,CAAME,GAAIF,EAAY,WAAtB,WAEN,wBAAIR,UAAU,oCACZ,4BAAI,kBAAC,IAAD,CAAMU,GAAIF,EAAY,eAAtB,cACJ,4BAAI,kBAAC,IAAD,CAAME,GAAIF,EAAY,qCAAtB,iBACJ,4BAAI,kBAAC,IAAD,CAAME,GAAIF,EAAY,kBAAtB,kBAEN,wBAAIR,UAAU,oCACZ,4BAAI,kBAACG,EAAD,CAAcC,KAAK,0BAA0BV,MAAM,wBACvD,4BAAI,kBAACS,EAAD,CAAcC,KAAK,4CAA4CV,MAAM,oBACzE,4BAAI,kBAACS,EAAD,CAAcC,KAAK,+CAA+CV,MAAM,kBAC5E,4BAAI,kBAACS,EAAD,CAAcC,KAAK,8CAA8CV,MAAM,qBAC3E,4BAAI,kBAACS,EAAD,CAAcC,KAAK,gCAAgCV,MAAM,uBAGjE,yBAAKM,UAAU,mCAAf","file":"component---src-templates-main-jsx-20b910807e3ada5ca106.js","sourcesContent":["import React from 'react';\nimport {graphql} from 'gatsby';\nimport Footer from '../components/footer'\nimport Header from '../components/header';\nimport Seo from '../components/seo';\nimport '../styles/main.scss';\n\nconst Main = ({\n data: {\n markdownRemark: {\n frontmatter: {title, description},\n html: __html\n }\n },\n pageContext: {langKey}\n}) => {\n return (\n <div className='eclipse-jkube'>\n <Seo title={title} description={description} lang={langKey}/>\n <Header lang={langKey}/>\n <div className='eclipse-jkube__main'>\n <div\n className='eclipse-jkube__content'\n dangerouslySetInnerHTML={{__html}}\n />\n </div>\n <Footer lang={langKey}/>\n </div>\n );\n};\n\nexport const pageQuery = graphql`\n query($slug: String!) {\n markdownRemark(fields: { slug: { eq: $slug } }) {\n html\n frontmatter {\n date(formatString: \"MMMM DD, YYYY\")\n path\n title\n description\n }\n }\n }\n`;\n\nexport default Main;\n","import React from 'react';\nimport {Link} from \"gatsby\";\nimport PropTypes from 'prop-types';\nimport {resolveI18nPath} from \"../i18n\";\n\nconst ExternalLink = ({href, title}) => (\n <a href={href} target='_blank' rel='nofollow noopener noreferrer'>{title}</a>\n);\n\nconst Footer = ({lang}) => {\n const resolvePath = resolveI18nPath(lang);\n return (\n <div className='eclipse-jkube-footer'>\n <div className='eclipse-jkube-footer__links'>\n <ul className='eclipse-jkube-footer__links-list'>\n <li><Link to={resolvePath('/docs#getting-started')}>Get Started</Link></li>\n <li><Link to={resolvePath('/docs')}>Docs</Link></li>\n <li><Link to={resolvePath('/quickstarts')}>Quickstarts</Link></li>\n <li><Link to={resolvePath('/docs#katacoda-courses')}>Katacoda Courses</Link></li>\n <li><Link to={resolvePath('/demos')}>Demos</Link></li>\n </ul>\n <ul className='eclipse-jkube-footer__links-list'>\n <li><Link to={resolvePath('/community')}>Community</Link></li>\n <li><Link to={resolvePath('/community#planning-and-meetings')}>Get Involved</Link></li>\n <li><Link to={resolvePath('/contributing')}>Contributing</Link></li>\n </ul>\n <ul className='eclipse-jkube-footer__links-list'>\n <li><ExternalLink href='https://www.eclipse.org' title='Eclipse Foundation'/></li>\n <li><ExternalLink href='https://www.eclipse.org/legal/privacy.php' title='Privacy Policy'/></li>\n <li><ExternalLink href='https://www.eclipse.org/legal/termsofuse.php' title='Terms of Use'/></li>\n <li><ExternalLink href='https://www.eclipse.org/legal/copyright.php' title='Copyright Agent'/></li>\n <li><ExternalLink href='https://www.eclipse.org/legal' title='Legal Resources'/></li>\n </ul>\n </div>\n <div className='eclipse-jkube-footer__copyright'>Copyright © Eclipse Foundation 2020</div>\n </div>\n );\n};\n\nFooter.propTypes = {\n lang: PropTypes.string.isRequired,\n};\n\nexport default Footer;\n"],"sourceRoot":""}